Update Configuration Address
Update an existing address configuration
Authorization
accountSid_authToken In: header
Path Parameters
The SID of the Address Configuration resource. This value can be either the sid or the address of the configuration
Request Body
application/x-www-form-urlencoded
The human-readable name of this configuration, limited to 256 characters. Optional.
Enable/Disable auto-creating conversations for messages to this address
Value in
- "webhook"
- "studio"
- "default"
Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service.
^IS[0-9a-fA-F]{32}$34 <= length <= 34For type webhook, the url for the webhook request.
Value in
- "get"
- "post"
The list of events, firing webhook event for this Conversation. Values can be any of the following: onMessageAdded, onMessageUpdated, onMessageRemoved, onConversationUpdated, onConversationStateUpdated, onConversationRemoved, onParticipantAdded, onParticipantUpdated, onParticipantRemoved, onDeliveryUpdated
For type studio, the studio flow SID where the webhook should be sent to.
^FW[0-9a-fA-F]{32}$34 <= length <= 34For type studio, number of times to retry the webhook request
Response Body
application/json
curl -X POST "https://example.com/v1/Configuration/Addresses/string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'FriendlyName=My+Test+Configuration+Updated&AutoCreation.Type=studio&AutoCreation.StudioFlowSid=FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&AutoCreation.StudioRetryCount=3'{ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "sid": "IGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "address": "+37256123457", "type": "sms", "friendly_name": "My Test Configuration Updated", "address_country": "CA", "auto_creation": { "enabled": false, "type": "studio", "conversation_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "studio_flow_sid": "FWaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "studio_retry_count": 3 }, "date_created": "2016-03-24T21:05:50Z", "date_updated": "2016-03-24T21:05:51Z", "url": "https://conversations.twilio.com/v1/Configuration/Addresses/IGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}