Pular para o conteúdo principal
POST
Aplicar ou tirar tags

Autorizações

Authorization
string
header
obrigatório

Chave criada em Meu Perfil → API Keys. Envie Authorization: Bearer sk_live_….

Cabeçalhos

Idempotency-Key
string

Chave única desta alteração (ex.: um UUID). Repetir a chamada com a mesma chave devolve a mesma resposta, sem duplicar.

Maximum string length: 255

Corpo

application/json
customer_ids
string[]
Required array length: 1 - 500 elements
Pattern: ^cus_[a-z0-9]{16}$
filter
object

Em vez de customer_ids: todos os contatos que casam com o filtro (o mesmo de list_customers).

Com filter: restringe por nome, e-mail ou telefone.

Maximum string length: 120
add
string[]

Nomes das tags a aplicar.

Maximum array length: 10
Required string length: 1 - 40
remove
string[]

Nomes das tags a tirar.

Maximum array length: 10
Required string length: 1 - 40

Resposta

Sucesso.

added
object[]
obrigatório
removed
object[]
obrigatório
{key}
any