Connectivity
Create a WebRTC offer
Call Management
Conversational AI
Agents
Campaigns
Call Management
Conversational AI
API Reference
Agents
Connectivity
Create a WebRTC offer
Create a WebRTC offer for a call.
POST
/
webrtc
/
offer
curl --request POST \
--url https://api-west.millis.ai/webrtc/offer \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"offer": {
"sdp": "<string>",
"type": "<string>"
},
"agent_id": "<string>"
}'
{
"answer": {
"sdp": "<string>",
"type": "<string>"
}
}
Headers
Private Key
Body
application/json
curl --request POST \
--url https://api-west.millis.ai/webrtc/offer \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"offer": {
"sdp": "<string>",
"type": "<string>"
},
"agent_id": "<string>"
}'
{
"answer": {
"sdp": "<string>",
"type": "<string>"
}
}