ChatDaddy
General

Send OTP through ChatDaddy API

Follow these steps to send OTPs to your clients through ChatDaddy: Video 1. Log in to ChatDaddy and navigate to Automation > Message Flows. 1. Create a new message flow by clicking…

Updated Apr 15, 2026

Follow these steps to send OTPs to your clients through ChatDaddy:

Step 1: Create a Message Flow

  1. Log in to ChatDaddy and navigate to Automation > Message Flows.

  2. Create a new message flow by clicking the "+" button on the left sidebar.

  3. In the message flow editor, create a template with the message you want to send to your customer. Ensure you use the variable {{verificationCode}}.

Ex:

Hello {{name}} ! Here is your OTP: {{verificationCode}}

  1. Submit your flow for approval to WhatsApp. Once approved, you will be able to use this template to message your customers

Note: Make sure to include the {{verificationCode}} variable as this will be replaced by your OTP when you send the message

Step 2: Submit the Template for Approval

  1. Once your message flow is created, you need to submit the template for approval to WhatsApp.

  2. Navigate to the three dot menu on the top right of your message flow and select "Submit for Approval"

  3. Select your WABA Channel and the message you want to send for approval. Also input the language of your message and select "Authentication" in Category

Note: You will not be able to send your message to your clients without submitting it for approval. The WhatsApp team may take up to 24 hours to approve your message

Step 3: Generate an API Token

  1. Navigate to the Developer section in ChatDaddy and select API Token.

  2. Click on the "+Create" button to create a new API token.

  3. Give your API token a name, for example, "OTP Token".

  4. Assign the necessary scope to it and click Save:

  5. Access to Messages to All: MESSAGES_SEND_TO_ALL

  6. Copy the generated API Token

Step 4: Use the API Token to Send OTPs

  1. With your API token ready, you can now use it to send OTPs programmatically.

  2. Use the bots/{id}/fire API endpoint to send the message flow you created earlier. Refer to the API Documentation for more details.

Feedback
Was this article helpful?

Related articles