POST
/
v1
/
get-signed-url
Get signed URL for ElevenLabs conversational AI proxy
curl --request POST \
  --url https://api.mascot.bot/v1/get-signed-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "config": {
    "provider": "elevenlabs",
    "provider_config": {
      "api_key": "sk_your_elevenlabs_api_key_here",
      "agent_id": "agent_1234567890",
      "sample_rate": 16000
    }
  }
}'
{
  "signed_url": "wss://api.mascot.bot/v1/convresation?token=abc123"
}
Send you provider connection details and get a signed WebSockets URL on our server that will setup a connection between your client SDK and ElevenLabs Conversation AI Agents, with Visemes being injected into the stream.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
config
object
required

Configuration parameters

Response

Successful response containing the signed websocket URL for connecting to the ElevenLabs conversational AI proxy. Use this URL to stream audio data and receive viseme predictions in real-time.

signed_url
string

Signed WebSocket URL for uploading connecting to the ElevenLabs conversational AI proxy

Example:

"wss://api.mascot.bot/v1/convresation?token=abc123"