Bind inbound resources
A binding associates exactly one inbound resource reference with a voice application. The API acceptsphone_number_id, sip_domain_id, or subscriber_id.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create voice applications and bind inbound resources to them.
name
ring_timeout_seconds
caller_id
status
voice_url
callback_url
curl -sS -X POST "$LEAMOUT_API_URL/v1/voice-applications/" \
-H "Authorization: Bearer $LEAMOUT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Main voice app","ring_timeout_seconds":30}'
phone_number_id, sip_domain_id, or subscriber_id.
curl -sS -X POST \
"$LEAMOUT_API_URL/v1/voice-applications/$APP_ID/bindings" \
-H "Authorization: Bearer $LEAMOUT_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"phone_number_id\":\"$NUMBER_ID\"}"