Endpoints
Verify a reference upload
Was this page helpful?
Validate a signed upload before using its owned URL in Cinema.
POST
/api/v1/uploads/verify
Verify uploaded reference media
Checks the stored size and magic bytes, probes media, rewrites the detected Content-Type, and promotes an owned staging upload to the final reference path.
Authentication: Bearer API key required
curl -X POST "https://reviral.ai/api/v1/uploads/verify" \
-H "Authorization: Bearer $REVIRAL_API_KEY"Request body
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | — |
Responses
- 200
- Verified owned reference
- 401
- Key is missing, revoked, or invalid
- 413
- Settings are invalid or a reference field is unsupported
- 415
- Settings are invalid or a reference field is unsupported
- 422
- Settings are invalid or a reference field is unsupported
- 429
- Too many requests