put
https://apis.elai.io/api/v1/streams/
Submits the client's SDP answer, completing the handshake.
If the GPU host rejects the answer the stream is closed server-side — but this endpoint still returns 200 {}, so check stream status rather than treating the response as confirmation.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
curl -X PUT 'https://apis.elai.io/api/v1/streams/66a1f0c2b7cd13032a9c6200' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"answer": "<answer>"
}'
Next: speak-on-stream — the connection is up — this is how the avatar talks.
