> ## Documentation Index
> Fetch the complete documentation index at: https://docs.otpiq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect WhatsApp Account

> Step-by-step guide to integrating your WhatsApp Business API account with Otpiq

Follow these steps to connect your WhatsApp Business API and start sending messages through Otpiq.

## Prerequisites

Before starting the integration, ensure you have:

* A Facebook account with admin access to your Meta Business Account.
* A phone number ready for verification.

<Warning>
  The phone number **cannot** be currently registered on the regular WhatsApp or WhatsApp Business mobile apps. If it is, you must delete the account from the app first.
</Warning>

## Step 1: Connect via Otpiq Dashboard

<Steps>
  <Step title="Navigate to WhatsApp Settings">
    Log in to [app.otpiq.com](https://app.otpiq.com) and go to **WhatsApp** → **Account**.
  </Step>

  <Step title="Start Integration">
    Click **"Connect WhatsApp Account"** to launch the embedded signup process.
  </Step>

  <Step title="Complete Facebook Signup">
    Follow the prompts to sign in to Facebook, connect your Meta Business Account, and grant Otpiq the necessary permissions. Once finished, your account will be automatically linked.
  </Step>
</Steps>

## Step 2: Create WhatsApp Templates

To send business-initiated messages, you need approved templates.

<Steps>
  <Step title="Go to Templates">
    Navigate to the **Templates** section in your Otpiq dashboard and click **Create New Template**.
  </Step>

  <Step title="Design Your Template">
    Select a category (Marketing, Utility, or Authentication), set the language, and fill in the content (header, body, buttons).
  </Step>

  <Step title="Submit for Approval">
    Submit the template to WhatsApp. Approval usually takes less than 24 hours.
  </Step>
</Steps>

## Step 3: Send Messages

Once your templates are approved, you can send messages using the Otpiq dashboard or API.

<Tip>
  **Test easily**: Go to **Dashboard → Messaging → Send SMS** to build and test your WhatsApp template messages without writing any code.
</Tip>

Here is an example of sending a template via the API:

```json theme={null}
{
  "phoneNumber": "9647501580221",
  "smsType": "whatsapp-template",
  "provider": "whatsapp",
  "templateName": "auth_temp_new_no_exp",
  "whatsappAccountId": "68c46fecc504cdcec8fb3ef2",
  "whatsappPhoneId": "68c46ff3c504cdcec8fb3f5e",
  "templateParameters": {
    "body": {
      "1": "123456"
    }
  }
}
```

<Note>
  Check the [API Reference](/api-reference/introduction) for complete endpoint details.
</Note>

## Troubleshooting

| Issue                          | Solution                                                                                                                                                     |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Connection Failed**          | Verify you have admin permissions for both the Meta Business Account and the WhatsApp Business API.                                                          |
| **Facebook Signup Issues**     | Clear your browser cache or disable ad-blockers, then try again.                                                                                             |
| **Currency or payment errors** | See [Troubleshoot WhatsApp connection errors](/useful-articles/whatsapp-connection-errors) for wrong currency, payment method conflicts, and WABA not found. |
| **Template Rejected**          | Ensure you aren't using promotional language in a "Utility" template and that all variable parameters are correct.                                           |

***

**Need Help?** Contact our support team at [info@otpiq.com](mailto:info@otpiq.com).
