Skip to main content
POST
Request an image upload URL

Authorizations

Authorization
string
header
required

Cognito-issued JWT access token. Send it as Authorization: Bearer <token>.

Path Parameters

userId
string
required

The user's unique ID.

Body

application/json

Requests a presigned upload URL for one of the user's images.

type
enum<string>
required

The image type to upload.

Available options:
signature,
notary_seal
filename
string
required

Original filename of the image; its extension determines the extension of the generated key.

Response

The presigned upload URL and key for the image.

type
string
required

The image type, either "signature" or "notary_seal".

url
string
required

A presigned upload (PUT) URL for the image.

key
string
required

The generated key the upload is stored under. Pass it as signatureKey / notarySealKey when saving the profile so the saved profile references this upload.