Inventário da API
Lista dos endpoints disponíveis com API Key.
Rotas não listadas aqui retornam 403 com código API_KEY_ROUTE_DENIED.
Base URL: https://v1.api.interflow.chat
Endpoints disponíveis
Chat
| Método | Path | Doc |
|---|---|---|
POST | /api/{organizationId}/chat/create | Criar chat |
POST | /api/{organizationId}/chat/{chatId}/message | Enviar mensagem |
POST | /api/{organizationId}/chat/{chatId}/message-sequence | Sequência |
POST | /api/{organizationId}/chat/{chatId}/send-template | Template WhatsApp |
Customers
| Método | Path | Doc |
|---|---|---|
POST | /api/{organizationId}/customers | Criar cliente |
PUT | /api/{organizationId}/customers/{customerId} | Atualizar cliente |
POST | /api/{organizationId}/customers/{customerId}/tags | Tags do cliente |
DELETE | /api/{organizationId}/customers/{customerId}/tags/{tagId} | Tags do cliente |
POST | /api/{organizationId}/customers/{customerId}/notes | Notas |
PUT | /api/{organizationId}/customers/{customerId}/notes/{noteId} | Notas |
DELETE | /api/{organizationId}/customers/{customerId}/notes/{noteId} | Notas |
PUT | /api/{organizationId}/customers/{customerId}/stage | Estágio CRM |
POST | /api/{organizationId}/customers/{customerId}/field-values | Campos personalizados |
Tags
| Método | Path | Doc |
|---|---|---|
GET | /api/{organizationId}/tags | Tags |
POST | /api/{organizationId}/tags | Tags |
PUT | /api/{organizationId}/tags/{tagId} | Tags |
DELETE | /api/{organizationId}/tags/{tagId} | Tags |
Atalhos de mensagem
Não há endpoint para criar/editar atalhos. Para enviar várias mensagens em ordem, use sequência de mensagens. Veja também Atalhos e sequências.
Em breve
Endpoints previstos para versões futuras:
POST .../chat/{chatId}/resolvePOST .../chat/{chatId}/reopenPOST .../chat/{chatId}/transfer-to-teamPOST .../chat/{chatId}/transfer-to-agentPOST .../chat/{chatId}/attendPOST .../chat/{chatId}/start-flow