API reference · Upload
Enqueue the job once the bytes are uploaded
POST /api/v1/upload/complete
Call this after the PUT to upload_url has finished. The server checks the real size of the stored object here, so a job whose bytes never arrived is rejected now rather than failing later. Rate limit: 120 requests per minute.
Authenticate with your key in the X-API-Key header — Authentication.
Request body
Required. application/json
- job_id string (uuid) required
Responses
- 200 Accepted.
- 400 The request was understood but cannot be acted on — for example, completing an upload whose bytes never arrived.
- 401 Missing, malformed or revoked API key.
- 404 No such job for this account.
- 422 A field is missing or the wrong type. The body names the offending field.
- 429 Too many requests for this endpoint. Back off and retry; the official SDKs do this for you.
200 response fields
- status string required
Related endpoints
- Create a job and get a presigned upload URL POST /api/v1/upload
- Keep a pending upload alive POST /api/v1/upload/progress