API Documentation

Use the REST API to validate WhatsApp numbers from your own apps.

Quick Start

  1. Get your API key from Settings.
  2. Send a POST request with the phone number.
  3. Read the JSON response and handle the status.

Authentication

Send your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Base URL:

https://www.waba-validator.com/api/v1

Validate Number

POST /api/v1/validate

Request body:

{
  "phone": "+212612345678"
}

Example response:

{
  "success": true,
  "phone": "+212612345678",
  "status": "valid",
  "whatsapp": true
}

Bulk Check

POST /api/v1/validate/bulk

{
  "phones": ["+212612345678", "+15551234567"]
}

Error Handling

  • 401 Missing or invalid API key
  • 402 Insufficient credits
  • 422 Validation error
Ready to get started? Sign in and open Settings to copy your API key.