DevConsole

WhatsApp OTP authentication integration

Send and verify short-lived login codes through Meta’s WhatsApp platform.

The implemented API sends a six-digit code using an approved authentication template and verifies the returned challenge. Your application remains responsible for creating its own login session after verification.

Create account

Setup steps

  1. Choose paid WhatsApp OTP access for your project.

  2. After confirmed payment, submit your setup number; +965 is prefilled.

  3. The administrator configures Meta credentials, phone number ID, business account, API version, language and an approved copy-code authentication template.

  4. Use the project’s WhatsApp service key from your server to call send and verify.

Requirements and limitations

Provider configuration is required. The current integration uses administrator-managed Meta settings per environment, not separate per-customer Meta credentials. Codes expire after five minutes, are single-use, and allow five verification attempts. Sending is rate-limited. Meta acceptance does not guarantee delivery; provider fees apply.

Read the API documentation →