Headers
-
X-Twilio-Webhook-Enabled string
The X-Twilio-Webhook-Enabled HTTP request header
Values are
true
orfalse
.
Body
-
Attributes string
-
CreatedBy string
-
DateCreated string(date-time)
-
DateUpdated string(date-time)
-
FriendlyName string
-
UniqueName string
POST /v2/Services/{ServiceSid}/Channels/{Sid}
curl \
-X POST https://ip-messaging.twilio.com/v2/Services/{ServiceSid}/Channels/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "X-Twilio-Webhook-Enabled: true" \
-d 'Attributes=string&CreatedBy=string&DateCreated=2023-05-04T09%3A42%3A00%2B00%3A00&DateUpdated=2023-05-04T09%3A42%3A00%2B00%3A00&FriendlyName=string&UniqueName=string'
Request example
# Headers
X-Twilio-Webhook-Enabled: true
# Payload
{
"Attributes": "string",
"CreatedBy": "string",
"DateCreated": "2023-05-04T09:42:00+00:00",
"DateUpdated": "2023-05-04T09:42:00+00:00",
"FriendlyName": "string",
"UniqueName": "string"
}
Request examples
# Headers
X-Twilio-Webhook-Enabled: true
# Payload
{
"Attributes": "string",
"CreatedBy": "string",
"DateCreated": "2024-05-04T09:42:00+00:00",
"DateUpdated": "2024-05-04T09:42:00+00:00",
"FriendlyName": "string",
"UniqueName": "string"
}
Response examples (200)
{
"account_sid": "string",
"attributes": "string",
"created_by": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"friendly_name": "string",
"links": {},
"members_count": 42,
"messages_count": 42,
"service_sid": "string",
"sid": "string",
"type": "public",
"unique_name": "string",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"attributes": "string",
"created_by": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"friendly_name": "string",
"links": {},
"members_count": 42,
"messages_count": 42,
"service_sid": "string",
"sid": "string",
"type": "public",
"unique_name": "string",
"url": "https://example.com"
}