Create a Domain Application
Creates a new domain application.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, or Fax.
Authentication
Request
A list containing whitelisted IP addresses and IP blocks used if ip_auth_enabled is true.
A string representing the Relay topic to forward incoming calls to. Required when call_handler is relay_topic.
A string representing the Relay Application to forward incoming calls to. Required when call_handler is relay_application.
A string representing the LaML URL to access when a call is received. Required when call_handler is laml_webhooks.
A string representing the HTTP method to use with call_request_url.
A string representing the LaML URL to access when the call to call_request_url fails.
A string representing the HTTP method to use with call_fallback_url.
A string representing the HTTP method to use with call_status_callback_url.
A string representing the ID of the LaML application to forward incoming calls to. Required when call_handler is laml_application.
A string representing the ID of the Video Room to forward incoming calls to. Required when call_handler is video_room.
A string representing the URL of the Relay script to execute when a call is received. Required when call_handler is relay_script.
A string representing the ID of the Dialogflow Agent to forward incoming calls to. Required when call_handler is dialogflow.
A string representing the ID of the AI Agent to forward incoming calls to. Required when call_handler is ai_agent.
A string representing the ID of the Call Flow to forward incoming calls to. Required when call_handler is call_flow.
This handler type is deprecated. Please use call_relay_application or call_relay_topic instead.
This property is deprecated. Please use call_relay_topic_status_callback_url instead.
Response
A list containing whitelisted IP addresses and IP blocks used if ip_auth_enabled is true.
A string representing the HTTP method to use with call_request_url.
A string representing the LaML URL to access when the call to call_request_url fails.
A string representing the HTTP method to use with call_fallback_url.
A string representing the HTTP method to use with call_status_callback_url.
A list of codecs this domain application will support. Currently supported values are: OPUS, G722, PCMU, PCMA, G729, VP8, and H264.
A list of encryption ciphers this domain application will support. Currently supported values are: AEAD_AES_256_GCM_8, AES_256_CM_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_80, AES_256_CM_HMAC_SHA1_32, and AES_CM_128_HMAC_SHA1_32.
Deprecated. Use call_relay_application instead.
Deprecated. Use call_relay_topic_status_callback_url instead.