API Reference

Avatar sessions

Create a new avatar session identifier for streaming synthesis.

POST/v1/avatar/sessions

Returns a session ID and message ID. Requires avatar:interact or avatar:use.

curl https://<gateway-host>/v1/avatar/sessions \
  -H "Authorization: Bearer $DISRUPTIVERAIN_CLIENT_ID:$DISRUPTIVERAIN_CLIENT_SECRET"

Response

{
  "sessionId": "avatar_123",
  "messageId": "msg_123",
  "createdAt": "2024-01-01T00:00:00.000Z"
}
Was this page helpful?