Docs menu

Get a voice endpoint

GET/v1/profiles/{profile_id}/voice-endpoints/{endpoint_id}

  • Scope calls:read

One voice endpoint (never its password or secret).

Parameters

Path

  • profile_idstringrequired

    The line (prf_…).

  • endpoint_idstringrequired

    The voice endpoint (vep_…).

Response

200 OKThe endpoint.

  • idstringrequired

    vep_…

  • object"voice_endpoint"required

  • profile_idstringrequired

    prf_…

  • namestringrequired

  • kind"sip" | "stream" | "phone"required

    sip (recommended), stream (WebSocket), or phone: an agent with its own phone number.

  • vendorstring or nullrequired

    Where the agent was built, as a short lowercase name such as vapi, retell or other, for setup help.

  • sip_uristring or nullrequired

  • sip_usernamestring or nullrequired

  • has_sip_passwordbooleanrequired

  • stream_urlstring or nullrequired

  • phone_numberstring or nullrequired

    For phone agents: the agent's own number (E.164).

  • created_attimestamprequired

  • updated_attimestamprequired

Errors

StatusCodeMeans
400validation_failedA field is missing or invalid.
401unauthorizedThe API key is missing, unknown or revoked.
403insufficient_scopeThe API key lacks the scope this needs.
404not_foundNo such object, or the key can't see it.

Every error is { "error": { "code", "message" } }. All error codes.

Keys come with your first line.

Request an invite and we'll set up a line for your team. API access is part of every plan.

Request an invite