Authentication
Learn how to authenticate through TextMaster API.
OAuth2
$ curl https://api.textmaster.com/v1/clients/users/me \
-H "Authorization: Bearer ACCESS-TOKEN"Signature
#!/bin/bash
APIKEY=somekey
APISECRET=somesecret
DATE=$(date -u +"%Y-%m-%d %H:%M:%S")
SIGNATURE=$(echo -n $APISECRET$DATE | openssl sha1 | sed 's/.*= //')
curl "https://api.textmaster.com/test" \
-H "Apikey: $APIKEY" \
-H "Date: $DATE" \
-H "Signature: $SIGNATURE"Last updated
Was this helpful?