Menu

Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

AlphaSender Resource

Public Beta
Twilio's Messaging Services API is currently available as a Public Beta product. Some features are not yet implemented and others may be changed before the product is declared as Generally Available.
Public Beta products are not covered by a Twilio SLA.

The AlphaSender is a subresource of a Service resource and represents an Alphanumeric Sender ID (alpha sender) you have associated with the Service.

When an alpha sender has been added to the Messaging Service, Copilot will always attempt to prioritize message delivery with your Alpha Sender where possible.

Each Messaging Services may only have one alpha sender associated with it. To change the Alpha Sender ID, you must first delete the current alpha sender before adding the new one.

This subresource is only available to Accounts in which the Alphanumeric Sender ID is enabled.

AlphaSender properties

account_sid
sid<AC> Not PII

The 34 character unique sid of the Account.

alpha_sender
string Not PII

An Alphanumeric Sender ID string, up to 11 characters. Valid characters are A-Z, a-z, 0-9, space and dash ( - ). An Alphanumeric Sender ID string cannot be comprised of only numbers.

capabilities
object[] Not PII

An array of values that indicate whether the number can receive calls or messages. Possible capability is SMS.

date_created
date_time<iso8601> Not PII

The date that this resource was created.

date_updated
date_time<iso8601> Not PII

The date that this resource was last updated.

service_sid
sid<MG> Not PII

The 34 character unique sid of the Messaging Service.

sid
sid<AI> Not PII

The 34 character unique sid of the Alpha Sender ID.

url
url Not PII

The absolute URL for this resource.

Create an AlphaSender resource

post
https://messaging.twilio.com/v1/Services/{ServiceSid}/AlphaSenders
Parameters
AlphaSender
Required
post string Not PII

An Alphanumeric Sender ID string, up to 11 characters. Valid characters are A-Z, a-z, 0-9, space and dash ( - ). An Alphanumeric Sender ID string cannot be comprised of only numbers.

Example 1
Loading Code Sample...
      
      
      
      

      Fetch an AlphaSender resource

      get
      https://messaging.twilio.com/v1/Services/{ServiceSid}/AlphaSenders/{Sid}
      Example 1
      Loading Code Sample...
          
          
          
          
          View an Alpha Sender ID in a Messaging Service

          Fetch an Alpha Sender

          View an Alpha Sender ID in a Messaging Service

          Read multiple AlphaSender resources

          get
          https://messaging.twilio.com/v1/Services/{ServiceSid}/AlphaSenders
          Example 1
          Loading Code Sample...
              
              
              
              
              List all Alpha Senders in a Messaging Service

              Read Alpha Senders

              List all Alpha Senders in a Messaging Service

              Delete an AlphaSender resource

              delete
              https://messaging.twilio.com/v1/Services/{ServiceSid}/AlphaSenders/{Sid}

              Returns "204 NO CONTENT" if the alpha sender was successfully removed from the Service.

              Example 1
              Loading Code Sample...
                  
                  
                  
                  

                  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 browsing the Twilio tag on Stack Overflow.

                  Loading Code Sample...