Skip to main content
POST
/
block-users
Bloquear Usuários
curl --request POST \
  --url https://apis.vectalk.com.br/api/block-users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "users": [
    {}
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.vectalk.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Requer token de instância associado ao número de telefone. O número é resolvido automaticamente pelo token — não é necessário informar o phone-number-id.

Parâmetros

Body

users
array
required
Lista de números de telefone a serem bloqueados, no formato internacional. Exemplo: ["5511999999999", "5511888888888"].

Resposta

{
  "messaging_product": "whatsapp",
  "block_users": {
    "added_users": [
      {
        "input": "5511999999999",
        "wa_id": "5511999999999"
      }
    ]
  }
}