Voice Applications
Create Application
Create a new Voice Application that bundles webhook URLs.
Create a new Voice Application on the authenticated account.
Your app
POST https://api.tryvox.io/v1/voice/applications
request
TryVox
processing
response
Response 201
returned to your app
Endpoint
POST
https://api.tryvox.io/v1/voice/applicationsRequest body
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Human-friendly label. Doesn't have to be unique. |
answer_url | string | no | URL TryVox calls when an incoming call needs VoxML. Recommended. |
answer_method | string | no | GET or POST. Default: POST. |
fallback_url | string | no | Backup URL if answer_url fails (timeout, 5xx, invalid VoxML). |
fallback_method | string | no | GET or POST. Default: POST. |
hangup_url | string | no | URL called once the call ends with final disposition. |
hangup_method | string | no | GET or POST. Default: POST. |
status_callback_url | string | no | URL called on every status transition. |
status_callback_method | string | no | GET or POST. Default: POST. |
webhook_secret | string | no | Secret used to sign the requests TryVox sends to this Application's URLs (see Webhooks → Signatures). Write-only — it is never returned. |
Only name is required by the API. An Application without answer_url is accepted but cannot answer calls — always set answer_url.
Example request
curl -X POST https://api.tryvox.io/v1/voice/applications \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN \
-H "Content-Type: application/json" \
-d '{
"name": "Main IVR",
"answer_url": "https://your-app.com/answer",
"answer_method": "POST",
"fallback_url": "https://your-app.com/fallback",
"hangup_url": "https://your-app.com/hangup"
}'Response
201 Created:
{
"data": {
"id": "8f7a4b2e-91c2-4f3d-9a1e-2c4b6d8f0a1c",
"account_id": "3c9d2f4e-7b1a-4e8c-9d0f-1a2b3c4d5e6f",
"name": "Main IVR",
"answer_url": "https://your-app.com/answer",
"answer_method": "POST",
"fallback_url": "https://your-app.com/fallback",
"fallback_method": "POST",
"hangup_url": "https://your-app.com/hangup",
"hangup_method": "POST",
"status_callback_method": "POST",
"status": "active",
"created_at": "2026-04-09T10:30:00Z",
"updated_at": "2026-04-09T10:30:00Z"
}
}The field is
answer_url. Older versions of this page documentedvoice_url; that name is not accepted — a request that sends onlyvoice_urlcreates an Application with no answer URL.
Errors
| Status | Code | Reason |
|---|---|---|
| 400 | VALIDATION_FAILED | name missing |
| 401 | INVALID_CREDENTIALS | Auth ID / Auth Token bad |
| 403 | KYC_REQUIRED | The account's KYC is not approved |