Skip to main content
POST
/
v1
/
conversations
/
{id}
/
messages
/
media
Send a media message to a conversation
curl --request POST \
  --url https://dev.flextell.ai/api/v1/conversations/{id}/messages/media \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'message=<string>'
{
  "success": "<string>",
  "data": {
    "status": "<string>",
    "message_id": "<string>",
    "conversation_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Tenant
number

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Path Parameters

id
integer
required

The conversation identifier

Body

multipart/form-data
file
file
required
Maximum string length: 51200
message
string | null
Maximum string length: 5000

Response

success
string
required
data
object
required