Skip to main content
POST
Submit a link

Authorizations

Authorization
string
header
required

Unkey API key passed as Bearer token

Headers

X-External-User-ID
string
required

External user identifier from the calling system

X-External-User-Email
string<email>

External user email from the calling system

Body

application/json
url
string<uri>
required

The link to capture. Generic http(s) URLs are captured as a full-page screenshot. Figma links (figma.com) are imported as an image via the Figma API — the file must be shared with "anyone with the link", and a frame must be identified via a node-id in the URL ("copy link to frame" in Figma) or the figmaFrameId field.

Maximum string length: 2048
Example:

"https://example.com/landing-page"

figmaFrameId
string

Figma frame (node) ID to import, e.g. "123:456". Only valid for figma.com URLs. When omitted, the node-id query parameter from the URL is used. Discover frame IDs via POST /v1/links/figma/frames.

Minimum string length: 1
Example:

"123:456"

Response

URL captured — the upload is ready to use

uploadId
string<uuid>
required

Upload ID of the captured image. Pass in uploadIds when creating a promotion or version (with fileFormat "image").

status
enum<string>
required
Available options:
completed
fileFormat
enum<string>
required
Available options:
image
sourceUrl
string
required

The submitted URL, echoed back

correlationId
string<uuid>
required

Correlation ID for request tracing. Include in support requests.

originalFileName
string
previewUrl
string

Time-limited signed URL to preview the captured image