API referenceUploads
Retrieve an upload
GET
bearerAuthheader
AuthorizationBearer <token>API key, e.g. rf_live_3f9k2q_….
upload_id*stringMatch
^upl_The upload.
application/json- response
object*unknownid*stringMatch
^upl_status*stringValue in
"pending""ready""rejected"content_type*stringsize_bytes?integerupload_url?stringSigned PUT URL; present only while status is pending.
Format
uriupload_url_expires_at?stringFormat
date-timeexpires_at*stringFormat
date-timecurl -X GET 'https://api.rawframe.dev/v1/uploads/string'Example Response
{ "object": "upload", "id": "string", "status": "pending", "content_type": "string", "size_bytes": 0, "upload_url": "http://example.com", "upload_url_expires_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z"}Create an upload POST
Returns a signed URL. `PUT` the file bytes to `upload_url` with the same `Content-Type`, then reference the upload by `id`. Uploads expire after 7 days.
Create a webhook endpoint POST
Events are signed per the Standard Webhooks spec with the returned `secret`. Failed deliveries are retried 7 times over about 22 hours; an endpoint is disabled after 3 days of continuous failure or a `410 Gone`. Output URLs inside events expire after an hour; fetch the generation for fresh ones. Requires the `webhooks:write` scope.