allmodels.ioDocs
API ReferenceElevenLabs SDK

Get Speech Engine signed URL

Returns a short-lived, single-use WebSocket URL that a browser or mobile client can open without receiving your AllModels API key.

GET/el/v1/convai/conversation/get-signed-url

Returns a short-lived, single-use WebSocket URL that a browser or mobile client can open without receiving your AllModels API key.

Authorization

xi-api-key<token>

Tenant key (ElevenLabs SDK convention).

In: header

Query Parameters

agent_id*string
include_conversation_id?string

Value in

  • "0"
  • "1"
  • "true"
  • "false"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

Client
Language
const response = await fetch("https://api.allmodels.io/el/v1/convai/conversation/get-signed-url?agent_id=$SPEECH_ENGINE_ID&include_conversation_id=true", {  headers: { Authorization: `Bearer ${process.env.ALLMODELS_API_KEY}` }});if (!response.ok) throw new Error(`AllModels request failed: ${response.status}`);console.log(await response.json());
{  "signed_url": "string",  "conversation_id": "string"}

{  "error": "missing_api_key"}

{  "detail": {    "message": "this organization has insufficient prepaid balance",    "status": "insufficient_balance"  }}

{  "error": "tenant_disabled"}

{  "detail": {    "message": "string",    "status": "string",    "property1": null,    "property2": null  }}
{  "detail": {    "message": "string",    "status": "string",    "property1": null,    "property2": null  }}
{  "detail": {    "message": "string",    "status": "string",    "property1": null,    "property2": null  }}