Latest Legacy

Trigger verification for starter brand

This API lets you trigger a verification message for your starter brand. When you register your brand, TCR will send you a message by default. If you don’t receive the message, you can trigger up to 5 verification messages. The verification message will be in the following format. Verify the message by replying YES.

“Please confirm your registration for US A2P Messaging by replying YES. Msg & data rates may apply.”

Once you respond to the message, you will receive the following message

"Thank you. Your registration has been confirmed."

API Endpoint

POST https://api.plivo.com/v1/Account/{auth_id}/10dlc/Brand/{Brand_id}/OTP

Arguments

No arguments need to be passed.

Response

{ 
   "api_id": "4254d08d-ed6f-4aba-abb0-4ff6aXXXXXXX", 
   "brandId": "BNZXXX",
   "message": "Message sent to XXXXXXXX2233, reply YES to confirm registration."
}
1
2
3
4
5
6
7
8
9
let plivo = require('plivo');
 (function main() {
 'use strict'; 
var client = new plivo.Client("<auth_id>", "<auth_token>");
 client.brand.trigger_otp('<BRAND_ID>') 
.then(function (response) {
 console.log(response);
 },);
 })();
1
2
3
curl -i --user auth_id:auth_token \
-d ' '\
https://api.plivo.com/v1/Account/<auth_id>/10dlc/Brand/<BRAND_ID>/OTP/