API do ZapYou

Envie mensagens, dispare campanhas e leve o atendimento do WhatsApp para o seu sistema.

Requisição

IDEMPOTENCY_KEY=$(uuidgen)

curl -X POST https://server.zapyou.com/v1/api/instances/send/text/9f8b4c21-5d3e-4a17-9c62-2b7e0f5a1d38 \
  -H "Authorization: YOUR_INSTANCE_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
    "phone": "551151183618",
    "message": "Olá! Esta é uma mensagem de teste do ZapYou.",
    "type": "PN"
  }'

Resposta

{
  "message": "Message sent",
  "messageId": "wamid.HBgMNTUxMTk5OTk5OTk5FQIAERgSN0Y...",
  "timestamp": 1767276600
}

Referência da API