For delivery status of an SMS message you can have a callback or you can poll for the message.When using the GMA One API to send an SMS message from the application, the sender address should always be set to the highest numbered short code available for the application. The GSMA One API can support multiple short codes for an application.For more information, please see the FAQs. The process for on-boarding a custom short code typically takes 1-2 weeks. You can bring your own short code (custom short code) to use for your application.You must register this callback URI during provisioning. By default, an online short code is assigned to your application for the reception of Mobile Originating SMS messages via a callback URI, so that the application gets a notification as soon as a message is received.The RESTful SMS API provided by AT&T requires that you provision your app as follows. Any SMS message that uses the Unicode encoding must be handled by the app by converting the hexadecimal value of the body using the first byte as the key for the encoding.Using the GSMA One API enables you to specify a short code as a parameter in the URI to indicate the originating sender address for the SMS message. If the application wants to use multiple short codes to send SMS messages, then consider using GSMA One API. AT&T supports two signatures of SMS API GSMA One and AT&T.All the messages sent are retried for up to 72 hours and any undelivered messages get deleted after that. You can send an SMS message to a maximum of 10 recipients at a time.Since we're messaging the CIE, you don't need to worry that this message will reach a phone.The RESTful SMS API provided by AT&T has the following considerations. so that the number is in international format. Make sure that you include the country code e.g. Otherwise, change the number to any suitable number for your region - for 447700900765 for the UK. If your account is provisioned for the US, you can leave the phone number as-is. This means you don't need to send any "source address" details.Ĭreate a text file called send-sms.txt and copy in the example below. In this request we'll assume that you've only got one message originator set in your account. Sending your first SMS (Operation: Send an SMS) Alternatively, we can offer a demo number in some regions like the UK or the US. your short code or other number) to use - if you're just starting out, and you're not messaging the US or Canada, you can use an alphanumeric string like "ACME" as your originator. UK and Ireland) and a default message originator (e.g. You'll also need to let us know what regions you want to send messages (e.g. However, if you are ready to test these requests with real phone numbers, just remove "-cie" from the URLs in the example cURL calls. Make sure to ask for access to our testing interface, called the Customer Integration Environment (CIE). Before we beginīefore beginning, you'll need an SMS account provisioned. Using this SMS API you can also send branded messages using either JSON or XML. Read this page to find out how to use the operations, and try out the operations using cURL. The Global SMS operations provide a programmatic way to engage with end users via SMS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |