tdevapigists
12/15/2017 - 6:01 AM

svc-customer-products-authentication

# 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=SVCCUSPROD" \
"https://api.in.telstra.com/v1/oauth/token"