Apagar dados do titular
curl --request DELETE \
--url https://api.ararahq.com/v1/contacts/{phone}/lgpd \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ararahq.com/v1/contacts/{phone}/lgpd', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.ararahq.com/v1/contacts/{phone}/lgpd"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ararahq.com/v1/contacts/{phone}/lgpd",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"phoneHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"deletedAt": "2026-09-15T14:30:00Z",
"contactDeleted": true,
"conversationsRedacted": 1,
"messagesRedacted": 42,
"optOutRegistered": true
}Contatos
Apagar dados do titular
Irreversível. Mascara o conteúdo das mensagens e da conversa, apaga o
contato e registra opt-out. Permissão: CONTACTS_WRITE.
DELETE
/
v1
/
contacts
/
{phone}
/
lgpd
Apagar dados do titular
curl --request DELETE \
--url https://api.ararahq.com/v1/contacts/{phone}/lgpd \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ararahq.com/v1/contacts/{phone}/lgpd', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.ararahq.com/v1/contacts/{phone}/lgpd"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ararahq.com/v1/contacts/{phone}/lgpd",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"phoneHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"deletedAt": "2026-09-15T14:30:00Z",
"contactDeleted": true,
"conversationsRedacted": 1,
"messagesRedacted": 42,
"optOutRegistered": true
}Authorizations
Chave de API da Arara (ara_live_...), enviada no header Authorization: Bearer ara_live_.... Crie e gerencie as chaves no painel: https://app.ararahq.com/dashboard/apikeys. O valor completo aparece uma única vez, na criação.
Path Parameters
Telefone E.164 com + (ex. +5511999999999).
Pattern:
^\+[1-9]\d{6,14}$Query Parameters
Motivo do pedido, para o registro de opt-out. Até 80 caracteres.
Maximum string length:
80