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>"
}
}
Create a WebRTC offer for a call.
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>"
}
}
Private Key
Successful Response
The response is of type object
.