For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Status
OverviewProductsManageAPI ReferenceTutorialsClient Libraries
OverviewProductsManageAPI ReferenceTutorialsClient Libraries
  • API Reference
      • POSTUpload media securely
Status
LogoLogo
API ReferenceSecure Uploads

Upload media securely

POST
https://app.resemble.ai/api/v2/secure_uploads
POST
/api/v2/secure_uploads
$curl -X POST https://app.resemble.ai/api/v2/secure_uploads \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: multipart/form-data" \
> -F file=@string
1{
2 "success": true,
3 "token": "eyJhbGciOiJIUzI1NiJ9..."
4}
Upload a media file and receive a short-lived token that can be passed to downstream endpoints (such as `/detect` and `/intelligence`) in place of a public URL. The returned token is a JWT that expires 1 hour after issuance. Keeping uploads private avoids exposing source media on the open internet and means you do not need to host files yourself for jobs that only need the API to read them once.
Was this page helpful?
Previous

List all detects

Next
Built with

Upload a media file and receive a short-lived token that can be passed to downstream endpoints (such as /detect and /intelligence) in place of a public URL. The returned token is a JWT that expires 1 hour after issuance.

Keeping uploads private avoids exposing source media on the open internet and means you do not need to host files yourself for jobs that only need the API to read them once.

Authentication

AuthorizationBearer

API token from https://app.resemble.ai/account/api

Request

This endpoint expects a multipart form containing a file.
filefileRequired

The media file to upload (audio, image, or video).

Response

Upload accepted
successboolean
tokenstring

JWT referencing the uploaded file. Valid for 1 hour. Pass this value as media_token on downstream requests.

Errors

400
Bad Request Error
401
Unauthorized Error