POST
https://api.wazapin.id
/
v1
/
waba
/
register-phone
Register a phone number with WABA
curl --request POST \
  --url https://api.wazapin.id/v1/waba/register-phone \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "channel_id": "<string>",
  "waba_id": "<string>",
  "phone_number_id": "<string>"
}
'

Endpoint

POST /v1/waba/register-phone Register a phone number for WhatsApp Business Account integration.

Headers

X-Api-Key
string
required
Primary auth header for public API requests.

Request body

channel_id
string
required
Target channel ID.
waba_id
string
required
WhatsApp Business Account ID from Meta.
phone_number_id
string
required
Phone number ID from Meta.
curl -X POST "https://api.wazapin.id/v1/waba/register-phone" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel_id": "wzp_wu8f3k2p",
    "waba_id": "123456789012345",
    "phone_number_id": "987654321098765"
  }'
200 OK
{
  "data": {
    "channel_id": "wzp_wu8f3k2p",
    "status": "registered"
  }
}
400 Bad Request
{
  "title": "Bad Request",
  "status": 400,
  "detail": "phone_number_id is required"
}