Docs menu

Get the voicemail greeting

GET/v1/profiles/{profile_id}/voicemail-greeting

  • Scope calls:read

What callers hear before the beep: the recorded or uploaded greeting, else the routing's voicemail.greeting text, else default_text.

Parameters

Path

  • profile_idstringrequired

    The line (prf_…).

Response

200 OKThe greeting.

  • object"voicemail_greeting"required

  • profile_idstringrequired

    prf_…

  • audioobject or nullrequired

    The recorded or uploaded greeting callers hear; null = they hear text (or default_text) read aloud.

    Fields of audio
    • urlstringrequired

    • content_typestringrequired

    • size_bytesintegerrequired

    • duration_secondsnumberrequired

    • source"recorded" | "uploaded"required

    • file_namestring or nullrequired

    • created_attimestamprequired

  • textstring or nullrequired

  • default_textstringrequired

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