Opt-out
Registrar opt-out
Changed onRegistra que o telefone não quer mais receber mensagens da organização. Registrar o mesmo telefone de novo devolve o registro existente.
Atenção: o envio hoje só é bloqueado por opt-out feito por palavra-chave recebida no WhatsApp (ex. "SAIR", "PARAR", "STOP"). O opt-out registrado por esta rota ou pela remoção LGPD ainda não é consultado no envio de mensagens e campanhas. Filtre a lista do seu lado antes de enviar.
Permissão: ADMIN.
post/v1/opt-outs
Request
- Base URLhttps://api.ararahq.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"phone": "+5511999999999"
}Response
Opt-out registrado
Example response
{
"phone": "+5511999999999",
"channel": "WHATSAPP",
"reason": "pediu por email",
"createdAt": "2026-09-15T14:30:00Z"
}Changes
- info
api tag
Opt-outadded - info
api tag
opt-outsremoved - info
added the non-success response with the status
- info
- info
endpoint added
- info