Docs menu

List voice endpoints

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

  • Scope calls:read

The line's voice agents.

Parameters

Path

  • profile_idstringrequired

    The line (prf_…).

Response

200 OKVoice endpoints.

  • dataarray of VoiceEndpointrequired

    Fields of data
    • 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

  • has_morebooleanrequired

    More items exist after this page.

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