Skip to main content
POST

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json
sessionId
string
required

Native Linc session ID

Pattern: ^[A-Za-z0-9_-]{1,128}$
sha256
string
required

SHA-256 of the decoded image bytes

Pattern: ^[a-f0-9]{64}$
mimeType
enum<string>
required
Available options:
image/png,
image/jpeg,
image/gif,
image/webp
data
string<byte>
required

Canonical base64 image, at most 1.5 MiB decoded

Maximum string length: 2097152

Response

Image stored; signed URL lifetime accounts for credential expiry

sha256
string
required
url
string<uri>
required
expiresAt
string<date-time>
required