Skip to main content
POST
Issue a presigned S3 upload URL for a new attachment

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Body

application/json
filename
string
required
content_type
string
required
parent_type
string
required
parent_id
string<uuid>
required
size_bytes
integer

Response

Presigned upload URL + pending attachment row

upload_url
string
attachment_id
string<uuid>
expires_at
string<date-time>