Channels
Complete a WhatsApp signup
Finish a signup link whose Meta dialog granted more than one number: the app's result page receives pending and the numbers to choose from, and sends back the one chosen. pending is the authorization, so no bearer token is needed; it expires 10 minutes after the dialog returns (400 link_expired).
post/v1/channels/whatsapp/signup/complete
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/channels/whatsapp/signup/complete
- Auth: none required
Request body
Example request
{
"pending": "djE6…",
"phone_number_id": "109999999999999"
}Response
Channel created.
Example response
{
"id": "chan_V1StGXR8Z5jdHi6B",
"project_id": "proj_V1StGXR8Z5jdHi6B",
"channel": "whatsapp",
"status": "active",
"credential_source": "byot",
"phone_number_id": "109999999999999",
"waba_id": "104444444444444",
"display_phone_number": "+55 11 90000-0001",
"verified_name": "Acme Suporte",
"application_id": "1290000000000000000",
"modes": {
"dms": true
},
"default": {
"action": "agent",
"agent_id": "agent_V1StGXR8Z5jdHi6B",
"text": "Subscribe at https://example.com/pricing",
"language": "en-US",
"config": {
"media": {
"audio": "transcribe"
},
"discord": {
"allowed_role_ids": [
"1290000000000000042"
]
}
}
},
"max_context_messages": 20,
"has_credential": true,
"gateway_error": {
"close_code": 4004
},
"created_at": "2026-07-23T00:00:00.000Z",
"updated_at": "2026-07-23T00:00:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.