POST /v2/Services/{ServiceSid}/Channels

TODO: Resource-level docs

Headers

  • X-Twilio-Webhook-Enabled string

    The X-Twilio-Webhook-Enabled HTTP request header

    Values are true or false.

Path parameters

  • ServiceSid string Required

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^IS[0-9a-fA-F]{32}$.

application/x-www-form-urlencoded

Body

  • Attributes string
  • CreatedBy string
  • DateCreated string(date-time)
  • DateUpdated string(date-time)
  • FriendlyName string
  • Type string

    Values are public or private.

  • UniqueName string

Responses

  • 201 application/json

    Created

    Hide response attributes Show response attributes object
    • account_sid string | null

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • attributes string | null
    • created_by string | null
    • date_created string(date-time) | null
    • date_updated string(date-time) | null
    • friendly_name string | null
    • members_count integer | null
    • messages_count integer | null
    • service_sid string | null

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^IS[0-9a-fA-F]{32}$.

    • sid string | null

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^CH[0-9a-fA-F]{32}$.

    • type string | null

      Values are public or private.

    • unique_name string | null
    • url string(uri) | null
POST /v2/Services/{ServiceSid}/Channels
curl \
 --request POST 'https://ip-messaging.twilio.com/v2/Services/{ServiceSid}/Channels' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --header "X-Twilio-Webhook-Enabled: true" \
 --data 'Attributes=string&CreatedBy=string&DateCreated=2026-05-04T09%3A42%3A00Z&DateUpdated=2026-05-04T09%3A42%3A00Z&FriendlyName=string&Type=public&UniqueName=string'
Response examples (201)
{
  "account_sid": "string",
  "attributes": "string",
  "created_by": "string",
  "date_created": "2026-05-04T09:42:00Z",
  "date_updated": "2026-05-04T09:42:00Z",
  "friendly_name": "string",
  "links": {},
  "members_count": 42,
  "messages_count": 42,
  "service_sid": "string",
  "sid": "string",
  "type": "public",
  "unique_name": "string",
  "url": "https://example.com"
}