Authorizations
Path Parameters
Meta phone number ID
Body
application/json
Response
Phone number updated
curl --request PATCH \
--url https://api.kapso.ai/platform/v1/whatsapp/phone_numbers/{phone_number_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"whatsapp_phone_number": {
"access_token": "EAABsbCS...new-token",
"webhook_destination_url": "https://yourapp.com/webhooks/whatsapp"
}
}'{
"data": {
"id": "<string>",
"internal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phone_number_id": "<string>",
"name": "<string>",
"business_account_id": "<string>",
"is_coexistence": true,
"inbound_processing_enabled": true,
"calls_enabled": true,
"webhook_verified_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>",
"display_phone_number": "<string>",
"display_phone_number_normalized": "<string>",
"verified_name": "<string>",
"quality_rating": "<string>",
"code_verification_status": "<string>",
"name_status": "<string>",
"status": "<string>",
"throughput_tier": "<string>",
"whatsapp_business_manager_messaging_limit": 123,
"is_official_business_account": true,
"is_pin_enabled": true
}
}curl --request PATCH \
--url https://api.kapso.ai/platform/v1/whatsapp/phone_numbers/{phone_number_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"whatsapp_phone_number": {
"access_token": "EAABsbCS...new-token",
"webhook_destination_url": "https://yourapp.com/webhooks/whatsapp"
}
}'{
"data": {
"id": "<string>",
"internal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phone_number_id": "<string>",
"name": "<string>",
"business_account_id": "<string>",
"is_coexistence": true,
"inbound_processing_enabled": true,
"calls_enabled": true,
"webhook_verified_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>",
"display_phone_number": "<string>",
"display_phone_number_normalized": "<string>",
"verified_name": "<string>",
"quality_rating": "<string>",
"code_verification_status": "<string>",
"name_status": "<string>",
"status": "<string>",
"throughput_tier": "<string>",
"whatsapp_business_manager_messaging_limit": 123,
"is_official_business_account": true,
"is_pin_enabled": true
}
}Meta phone number ID
Show child attributes
Phone number updated
Show child attributes
Was this page helpful?