Telstra SMS

SMS Messaging API

Overview

The SMS API sends and receives SMS messages to Australian mobile phones. You can also query the status of a previously sent SMS message. The API will assign a number for each message that is being sent. There is no ability to set your number or use a shortcode.

Terms of Service

This API is governed by the following terms of service https://dev.telstra.com/legal

API status page

The Status of this API can be found here https://dev.telstra.com/status

Authentication

The Telstra SMS API uses OAuth 2.0 which can be done with the following request

# Obtain these keys from the Telstra Developer Portal
CONSUMER_KEY="your consumer key"
CONSUMER_SECRET="your consumer secret"

curl -X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "client_id=$CONSUMER_KEY&client_secret=$CONSUMER_SECRET&grant_type=client_credentials&scope=SMS" \
"https://api.telstra.com/v1/oauth/token"

It will return an access token which can then be used for your requests.

{  
   "access_token":"wXDek1icgAReZV5MDSpg804lM9GQ",
   "expires_in":"3599"
}