Skip to main content
POST
/
v1
/
calls
/
{call_id}
/
messages
Inject Message
curl --request POST \
  --url https://api.example.com/v1/calls/{call_id}/messages \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "role": "system"
}
'
{}

Headers

authorization
string | null

Path Parameters

call_id
string<uuid>
required

Body

application/json
message
string
required
Required string length: 1 - 8000
role
string
default:system
Pattern: ^(system|user|assistant)$

Response

Successful Response

The response is of type Response Inject Message V1 Calls Call Id Messages Post · object.