Advertisement
ne_luboff

TeleSign send sms API

Aug 28th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. Method: POST
  2.  
  3. Endpoint: https://rest-ww.telesign.com/v1/verify/sms
  4.  
  5. Headers:
  6. "Date": "Tue, 28-Aug-2018 11:24:47 GMT",
  7. "x-ts-nonce": "1535-455487-148960",
  8. "Content-Type" : "application/x-www-form-urlencoded",
  9. "x-ts-auth-method": "HMAC-SHA256",
  10. "Authorization": "TSA CF6E2918-89A9-417F-8074-382908FEDCD9:QXuFTqe7VpkPhWZAXbMF2VmOCeQNWgwEohLfqUHyCVc="
  11.  
  12.  
  13. x-ts-nonce - any unique value,
  14. Authorization - TSA {CustomerId}:{StringToSign param according to Telesign Docs}
  15.  
  16. Content-type: "application/x-www-form-urlencoded"
  17.  
  18. Post Variables: phone_number={PhoneNumber}&template={TextToBeSent}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement