Submit a link
Captures a link as an image upload that can be used in promotions. Generic http(s) URLs are captured synchronously as a full-page screenshot — the call can take up to 2 minutes, so set a generous client timeout; returns 201 with an uploadId. Figma links (figma.com) are imported asynchronously via the Figma API — the file must be shared with “anyone with the link”; returns 202 with an uploadId to poll via GET /v1/links/. A frame must be identified via the node-id query parameter in the URL (“copy link to frame” in Figma) or the figmaFrameId field; discover frame IDs via POST /v1/links/figma/frames. This endpoint is limited to 10 requests per minute per API key.
Authorizations
Unkey API key passed as Bearer token
Headers
External user identifier from the calling system
External user email from the calling system
Body
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.
2048"https://example.com/landing-page"
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.
1"123:456"
Response
URL captured — the upload is ready to use
Upload ID of the captured image. Pass in uploadIds when creating a promotion or version (with fileFormat "image").
completed image The submitted URL, echoed back
Correlation ID for request tracing. Include in support requests.
Time-limited signed URL to preview the captured image