Pular para o conteúdo

POST /v1/contacts/{id}/identifiers/{identifierId}/unlink

POST
/v1/contacts/{id}/identifiers/{identifierId}/unlink
curl --request POST \
--url https://seu-endereco-da-api/v1/contacts/example/identifiers/example/unlink \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "reason": "example", "acknowledgeUnreachable": true }'

Permissão que a Chave de acesso precisa: Unir contatos duplicados (contacts:merge).

id
required
string
identifierId
required
string
Media typeapplication/json
object
reason
required
string
>= 3 characters
acknowledgeUnreachable
boolean

Example generated

{
"reason": "example",
"acknowledgeUnreachable": true
}
Media typeapplication/json
object
identifierId
required
string
kind
required
string
value
required
string
contactStillReachable
required

False when the contact was left with no active identifier and can no longer be addressed

boolean
cancelledCampaignRecipients
required

Campaign sends still pending at the released number, cancelled so they never reach its new owner

number

Example generated

{
"identifierId": "example",
"kind": "example",
"value": "example",
"contactStillReachable": true,
"cancelledCampaignRecipients": 1
}

Last active identifier; confirm with acknowledgeUnreachable