Menu
Platform
- Accounts and projects
- Regions
- Environments
- Keys and scopes
- Plans, usage and limits
- Errors
- API versions
- API reference
- CLI
- MCP
- Published CLI compatibility
- Terraform
- Management secret deletion
- API keys
- Artifacts
- Connection providers
- Connections
- Envs
- Key versions
- Keys
- Projects
- Secret versions
- Secrets
- Service enablements
- Token exchanges
- Trust policies
AI
Alerts and status pages
App store purchases
Credits
Database
Flags
Generated Assets
Hosting
Monitoring
Organizations
Payments
- Payments
- Payments quickstart
- Checkout policies
- Checkout sessions
- Customer subscriptions
- Entitlement grants
- Exchange rates
- Licence keys
- Licence tokens
- Merchant accounts
- Portal sessions
- Price catalogs
- Revenue
- Revenue facts
- Revenue sources
- Tax threshold statuses
- Usage events
- Usage invoices
- Usage meter prices
- Usage meters
- Usage reservations
- Usage settings
- Usage tiers
Queues
Realtime
Sandboxes
Webhooks
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
Read voicemail on a phone number
ReadPhoneNumberVoicemail: existing provider-managed lines; execution credentials are transient.
ReadPhoneNumberVoicemail: existing provider-managed lines; execution credentials are transient.
- Path
POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/phone_numbers/phone-number:readVoicemail - Scope
notify:read - Effect
read— nothing is written. - Collection phone_numbers
#Request
| Field | Type | What it is |
|---|---|---|
name | string | Connected line. Required. |
provider_call_id | string | Stable provider receipt id already held by this line. Required. |
start_day | string | Day window to re-establish receipt ownership. Required. |
end_day | string | Last day inclusive, at most one day after start_day. Required. |
provider_session_token | string | Transient provider session. Required. Never returned again. |
#Response
| Field | Type | What it is |
|---|---|---|
audio | bytes | Exact provider recording bytes, maximum 2 MiB. Never returned again. |
audio_sha256 | string | SHA-256 of those bytes. |
#Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.INVALID_FIELD— A field failed validation.RESOURCE_NOT_FOUND— The named Resource does not exist or is not visible.RESOURCE_ALREADY_EXISTS— A Resource with this name exists.INVALID_STATE— The Resource is in a state that forbids the call.IDEMPOTENCY_KEY_REUSED— An Idempotency-Key was reused with another body.IDEMPOTENCY_IN_PROGRESS— The first call with this Idempotency-Key is still running.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/phone_numbers/phone-number:readVoicemail" \
-H "Authorization: Bearer $SYLPHX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"end_day":"…","provider_call_id":"…","provider_session_token":"…","start_day":"…"}'