Overview
Validate a WhatsApp Business phone number before creating an integration. This endpoint verifies that the phone number is eligible for use with the Weya AI platform and can be connected successfully.Prerequisites
- Bearer Token authentication
- A valid WhatsApp Business phone number
Request
string
required
Bearer token for authenticated workspace access.
Request Body
string
required
WhatsApp Business phone number including the country code.
Response
boolean
Indicates whether the request completed successfully.
integer
HTTP status code returned by the API.
string
Human-readable success message.
object
Validation result.
string
The WhatsApp number that was validated.
boolean
Whether the phone number is valid for integration.
Error Handling
A successful validation does not create an integration. After validation, use the Create WhatsApp Integration endpoint to connect the number to your workspace.
Typical workflow:
- Validate the WhatsApp number.
- Create a WhatsApp integration.
- Assign a WhatsApp Agent to the integrated number.

