Domain Applications
Assign domain application handler
This endpoint assigns a specific resource to a Domain Application, allowing inbound calls to be handled by the resource. <Note> Currently only supports calling as a handler and automatically defaults to it. </Note>
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.
Learn more about API scopes.
post/api/fabric/resources/{id}/domain_applications
Path parameters
idstring uuid required
Universal Unique Identifier.
Unique ID of the domain application.
Request body
Response
The request has succeeded.
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"
}