Skip to main content
POST
/
v1
/
uploads
Upload file
curl --request POST \
  --url https://reelmirror.com/api/v1/uploads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form category=avatar \
  --form persona_id=3c90c3cc-0d44-4b50-8888-8dd25736052a
{
  "data": {
    "key": "<string>",
    "url": "<string>",
    "category": "avatar",
    "persona_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

Authorization
string
header
required

API key (rm_xxx) or JWT token

Body

file
file
required
category
enum<string>
required
Available options:
avatar,
voice
persona_id
string<uuid>
required

Response

201 - application/json

File uploaded and processed

data
object