Application
Modify an Application
Modify an application using this API.
API Endpoint
POST
Arguments
Name | Type | Description |
---|---|---|
answer_url | string | The URL invoked when a call executes this application. |
answer_method | string | The method used to call the answer_url. Defaults to POST. |
hangup_url | string | The URL notified when the call hangs up. |
hangup_method | string | The method used to call the hangup_url. Defaults to POST. |
fallback_answer_url | string | Invoked by Plivo only if answer_url is unavailable or the XML response is invalid. Should contain a XML response. |
fallback_method | string | The method used to call the fallback_answer_url. Defaults to POST. |
message_url | string | The URL that is notified by Plivo when an inbound message is received. |
message_method | string | The method used to call the message_url. Defaults to POST. |
default_number_app | boolean | If set to true, associates all newly created Plivo numbers that have not specified an app_id to this application. Takes a value of True or False. |
default_endpoint_app | boolean | If set to true, associates all newly created Plivo endpoints that have not specified an app_id to this application. Takes a values of True or False. |
subaccount | string | ID of the subaccount with which this application is associated. |
log_incoming_messages | boolean | This flag controls whether incoming messages to phone numbers associated with the Application are logged in Plivo systems or not. When set to false, message content is not logged in any Plivo system, including the debug logs visible on the console. Additionally, the last three digits of the from number are redacted in all system logs and in the Message Detail Record (MDR). The default value of this parameter is true. |
Request
Response
HTTP Status Code: 202