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_idstringrequiredThe line (
prf_…).
Response
200 OKThe greeting.
object"voicemail_greeting"requiredprofile_idstringrequiredprf_…audioobject or nullrequiredThe recorded or uploaded greeting callers hear; null = they hear
text(ordefault_text) read aloud.Fields of
audiourlstringrequiredcontent_typestringrequiredsize_bytesintegerrequiredduration_secondsnumberrequiredsource"recorded" | "uploaded"requiredfile_namestring or nullrequiredcreated_attimestamprequired
textstring or nullrequireddefault_textstringrequired
Errors
| Status | Code | Means |
|---|---|---|
| 400 | validation_failed | A field is missing or invalid. |
| 401 | unauthorized | The API key is missing, unknown or revoked. |
| 403 | insufficient_scope | The API key lacks the scope this needs. |
| 404 | not_found | No such object, or the key can't see it. |
Every error is { "error": { "code", "message" } }. All error codes.