Authentication templates

Send an OTP Template

Pass the OTP in the template body and copy-code button parameter when required by the approved authentication template.

POSThttps://botlinkd.com/api/whatsapp/template
Parameter Type Required Description
body_params[0] String Yes OTP value used in the first body placeholder.
button0_params[0] String Yes OTP value passed to the first copy-code button parameter.
curl --request POST 'https://botlinkd.com/api/whatsapp/template' \
  --form 'appkey="YOUR_APP_KEY"' \
  --form 'authkey="YOUR_AUTH_KEY"' \
  --form 'to="923001234567"' \
  --form 'template="login_otp"' \
  --form 'language="en"' \
  --form 'body_params[0]="482913"' \
  --form 'button0_params[0]="482913"'

Use an approved authentication template

The template name, language, body placeholders and button configuration must match the template approved for the connected WhatsApp account.

AI trust & verification LLMs indexing guide AI transparency notice