POST
/
v0
/
assistant
/
{assistant_id}
/
recordings
curl --request POST \
  --url 'https://api.unify.ai/v0/assistant/<assistant_id>/recordings' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{
    "recording_raw": "UklGRiSAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQyAAAAA...",
    "content_type": "audio/wav"
}'
{
    "info": {
        "id": 123,
        "url": "https://storage.example.com/recordings/call_123.mp3",
        "created_at": "2025-05-08T14:30:00Z"
    }
}

Uploads a new call recording for the specified assistant.

Authorizations

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

assistant_id
integer
required

Body

recording_raw
string
required

Base64-encoded audio payload

content_type
string | null

Content type of the audio file

curl --request POST \
  --url 'https://api.unify.ai/v0/assistant/<assistant_id>/recordings' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{
    "recording_raw": "UklGRiSAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQyAAAAA...",
    "content_type": "audio/wav"
}'
{
    "info": {
        "id": 123,
        "url": "https://storage.example.com/recordings/call_123.mp3",
        "created_at": "2025-05-08T14:30:00Z"
    }
}