Mon-Fri 10am - 6pm
Lift Opt-out
Base URL for your account: https://cpaas.studio
DELETE
/api/whatsapp/v1/optouts
Lift an opt-out — only when the person asked to receive messages again; `note` (10+ characters) records why.
Parameters
| Param | Type | Required | Notes |
|---|---|---|---|
phone |
string | yes | |
scope |
string | yes | |
note |
string | yes |
Request example
curl -X DELETE "https://cpaas.studio/api/whatsapp/v1/optouts" \
-H "X-API-KEY: cpk_xxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"channel":"WCH54DZ7M7M5V","phone":"+919876543210","scope":"marketing","note":"Re-subscribed in app settings"}'
Success response (data)
[]
Need more context? See Getting started for authentication, the response envelope, and the full error-code reference.