Menu

Expand
Rate this page:

Messaging Service ChannelSender Resource

Public Beta

The Service Resource is currently available as a Public Beta product. This means that some features for configuring your Messaging Service via the REST API are not yet implemented, and others may be changed before the product is declared Generally Available. Messaging Service Configuration through the Twilio Console is Generally Available.

Public Beta products are not covered by a Twilio SLA.

The resources for sending Messages with a Messaging Service are Generally Available.

The ChannelSender subresource of a Service Resource represents a channel sender that is associated with a Messaging Service, such as WhatsApp. It allows you to view basic channel sender information.

See Twilio Channels: A New Way Reach Customers in Apps They Already Use for more information on Twilio Channels.

ChannelSender properties

Resource Properties in REST API format
account_sid
sid<AC> Not PII

The SID of the Account that created the ChannelSender resource.

messaging_service_sid
sid<MG> Not PII

The SID of the Service the resource is associated with.

sid
sid<XE> Not PII

The unique string that we created to identify the ChannelSender resource.

sender
string Not PII

The unique string that identifies the sender e.g whatsapp:+123456XXXX.

sender_type
string Not PII

A string value that identifies the sender type e.g WhatsApp, Messenger.

country_code
string Not PII

The 2-character ISO Country Code of the number.

date_created
date_time<iso8601> Not PII

The date and time in GMT when the resource was created specified in ISO 8601 format.

date_updated
date_time<iso8601> Not PII

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

url
url Not PII

The absolute URL of the ChannelSender resource.

Fetch a ChannelSender resource

get
https://messaging.twilio.com/v1/Services/{MessagingServiceSid}/ChannelSenders/{Sid}
Parameters
Parameters in REST API format
messaging_service_sid
Path
get sid<MG> Not PII

The SID of the Service to fetch the resource from.

sid
Path
get sid_like<XE> Not PII

The SID of the ChannelSender resource to fetch.

Example 1
Loading Code Sample...
        
        

        Fetch Channel Sender

        Read multiple ChannelSender resources

        get
        https://messaging.twilio.com/v1/Services/{MessagingServiceSid}/ChannelSenders
        Parameters
        Parameters in REST API format
        messaging_service_sid
        Path
        get sid<MG> Not PII

        The SID of the Service to read the resources from.

        Example 1
        Loading Code Sample...
              
              

              Read Channel Sender

              Rate this page:

              Need some help?

              We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

              Loading Code Sample...
                    
                    
                    

                    Thank you for your feedback!

                    Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                    Sending your feedback...
                    🎉 Thank you for your feedback!
                    Something went wrong. Please try again.

                    Thanks for your feedback!

                    thanks-feedback-gif