Space Domain Applications
Create domain application
Creates a SIP Domain Application that accepts inbound SIP traffic on its generated domain and routes calls to the configured handler. Use it for inbound bring-your-own-carrier or other custom SIP-domain routing. If the handler is an already-created Fabric resource, create the Domain Application first, then use Assign domain application handler.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, or Fax.
Learn more about API scopes.
post/api/relay/rest/domain_applications
Request body
Example request
{
"name": "Test App",
"user": "helpdesk",
"ip_auth_enabled": true,
"encryption": "required",
"call_relay_topic": "office",
"call_relay_topic_status_callback_url": "https://myapplication/handle_relay_callbacks",
"call_relay_application": "my-relay-app",
"call_request_url": "https://example.com/laml",
"call_fallback_url": "https://example.com/fallback",
"call_status_callback_url": "https://example.com/status",
"call_laml_application_id": "app-123456",
"call_relay_script_url": "https://example.com/relay-script",
"call_relay_context": "office",
"call_relay_context_status_callback_url": "https://myapplication/handle_relay_callbacks"
}Response
The request has succeeded and a new resource has been created as a result.
Example response
{
"type": "domain_application",
"domain": "your-space-test_id",
"name": "Test App",
"user": "helpdesk",
"ip_auth_enabled": true,
"call_relay_topic": "office",
"call_relay_topic_status_callback_url": "https://myapplication/handle_relay_callbacks",
"call_relay_context": "office",
"call_request_url": "https://example.com/laml",
"call_fallback_url": "https://example.com/fallback",
"call_status_callback_url": "https://example.com/status",
"call_laml_application_id": "app-123456",
"call_relay_script_url": "https://example.com/relay-script",
"encryption": "required"
}Changes
No changes found, but 3 of the 138 revisions have a changelog that could not be searched — this endpoint may have changed in one of them.