Integre seus agentes de IA com o CRM Plugazap. Crie contatos, gerencie cards no Kanban e registre atividades automaticamente.
https://plugazap.com/api/v1Todas as requisições requerem uma API key no header Authorization.
curl https://plugazap.com/api/v1/contacts \ -H "Authorization: Bearer pk_live_sua_api_key_aqui"
60 requisições por minuto por API key. Headers de resposta indicam o uso:
X-RateLimit-Limit: 60 X-RateLimit-Remaining: 58 X-RateLimit-Reset: 1713520800
{
"error": {
"code": "VALIDATION_ERROR",
"message": "phoneNumber is required",
"details": [...]
}
}Fluxo completo de um agente que recebe mensagem no WhatsApp e atualiza o CRM automaticamente.
curl "https://plugazap.com/api/v1/contacts/search?phone=5519999999999" \ -H "Authorization: Bearer pk_live_sua_key"
curl -X POST https://plugazap.com/api/v1/contacts \
-H "Authorization: Bearer pk_live_sua_key" -H "Content-Type: application/json" \
-d '{"name":"João Silva","phoneNumber":"5519999999999","contactType":"lead"}'# Listar boards curl https://plugazap.com/api/v1/boards -H "Authorization: Bearer pk_live_sua_key" # Listar colunas curl https://plugazap.com/api/v1/boards/BOARD_ID/columns -H "Authorization: Bearer pk_live_sua_key"
curl -X POST https://plugazap.com/api/v1/cards \
-H "Authorization: Bearer pk_live_sua_key" -H "Content-Type: application/json" \
-d '{"boardId":"BOARD_ID","columnId":"COL_LEAD_ID","title":"Lead João","value":1500}'curl -X POST https://plugazap.com/api/v1/cards/CARD_ID/activities \
-H "Authorization: Bearer pk_live_sua_key" -H "Content-Type: application/json" \
-d '{"content":"Cliente demonstrou interesse no plano Pro."}'curl -X PATCH https://plugazap.com/api/v1/cards/CARD_ID \
-H "Authorization: Bearer pk_live_sua_key" -H "Content-Type: application/json" \
-d '{"columnId":"COL_FECHADO_ID","completionType":"win"}'