Skip to content
Console
Menu

Alerts and status pages

App store purchases

Credits

Knowledge

KV

Notifications

Organizations

Storage

Workflows

API reference

Getting Started

Authentication

KV Store

Download an inbound message

Download retained voicemail bytes with the inbox's tenant/resource permission.

Download retained voicemail bytes with the inbox's tenant/resource permission.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/sms_numbers/sms-number/inbound_messages/inbound-message:download
  • Scope notify:read
  • Effect read — nothing is written.
  • Collection inbound_messages

#Request

FieldTypeWhat it is
namestringThe message resource. Required.

#Response

FieldTypeWhat it is
mime_typestringaudio/wav.
bodybytesAudio bytes, base64 in JSON.

#Errors

  • UNAUTHENTICATED — No valid key or token was presented.
  • PERMISSION_DENIED — The key lacks the method's permission.
  • RESOURCE_NOT_FOUND — The named Resource does not exist or is not visible.
  • UNAVAILABLE — The Resource store, the owning service's backend, or the key verifier's snapshot is unavailable; retry after Retry-After.

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/sms_numbers/sms-number/inbound_messages/inbound-message:download" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'