Update Opt-Out Status
PATCHhttps://public.leadpattern.com/customer/:waId/opt-out
Opt a contact in or out of messaging.
- Opting out stamps optOutMethod: manual and excludes the contact from every broadcast.
Headers
1 fieldAuthorizationstringrequired
Your API key. Sent raw (e.g. 'lp_...'). No Bearer prefix required.
Path Parameters
1 fieldwaIdstringrequired
Contact WhatsApp ID.
Body Parameters
1 fieldoptOutbooleanrequired
true to opt out, false to opt back in.
Responses
JSON Response
{
"type": "success",
"message": "Contact opted out."
}Sample Request Body
{
"optOut": true
}
