Skip to main content
POST
/
{phone_number_id}
Update phone number settings
curl --request POST \
  --url https://api.kapso.ai/meta/whatsapp/{phone_number_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "pin": "123456"
}'
{
  "success": true
}

Authorizations

X-API-Key
string
header
required

Project API key for authentication. This is the recommended authentication method.

Get your API key from the Kapso dashboard under Project Settings > API Keys.

Path Parameters

phone_number_id
string
required

WhatsApp Business Phone Number ID

Body

application/json
pin
string

6-digit PIN for two-step verification

Example:

"123456"

Response

Phone number settings updated successfully

success
boolean