POST/v1/uploads

Create an upload session with a presigned PUT URL

Scope templates.writeIdempotent with a keyRate limit class upload

Headers

Idempotency-Keystringmax length 255

Up to 255 characters, scoped to the organisation and the endpoint, kept for 24 hours: a repeat with the same body replays the stored response with Idempotent-Replayed: true (API-004).

Body

kindenumrequired
imagefontcsvattachment
fileNamestringrequiredmin length 1max length 200
contentTypestringrequiredmin length 3max length 100
sizeBytesintegerrequired
sha256string
licenceConfirmedboolean

Returns

15 fields of the 201 answer
idstringrequired
kindenumrequired
imagefontcsvattachment
fileNamestringrequired
contentTypestringrequired
sizeBytesintegerrequired
statusenumrequired
PENDINGUPLOADEDPROCESSINGREADYREJECTEDEXPIRED
rejectionobject or nullrequired
2 fields
codestringrequired
reasonstring or nullrequired
resultIdstring or nullrequired
expiresAtdate-timerequired
completedAtdate-time or nullrequired
processedAtdate-time or nullrequired
createdAtdate-timerequired
urlstringrequired
methodstringrequired
headersobjectrequired

Responses

201Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
409A request with this Idempotency-Key is still in progress (idempotency_in_progress)
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)