API
Integração com Sistemas Externos
Last updated
Integração com Sistemas Externos
Last updated
A API será utilizada para facilitar os processos de integração da sua plataforma AtendChat. Para acessar essa seção, clique no ícone API do seu menu lateral.
Você verá a seguinte tela:
Clique em Adcionar no canto superior da tela.
Assim que selecionar esse botão, um pop up se abrirá para que você preencha as informações. Veja o exemplo:
Conheça os campos de preenchimento:
Campo | Descrição |
---|---|
Nome da API | Defina a forma como irá identificar essa API. Esse nome estará visível apenas para os Administradores. |
Enviar por | Escolha qual canal/conexão será responsável por esse envio. |
URL WebHook Status Sessão | Dispara a ação sempre que o status da sessão conectada ao whatsapp é alterado |
URL WebHook Status Mensagem | Dispara ação sempre que o status de uma mensagem é atualizado. |
Token de autenticação | Sera enviado como autorização no header. Se existir prefixo, deverá ser informado aqui. Ex: Bearer, Token. |
Clique em Salvar para finalizar e pronto!
Na parte inferior do painel de API, você pode visualizar informações como: Nome da API, URL da API, URL do Token, URL do WebHook (Status WhatsApp), URL do WebHook (Status Mensagem) e Token de Autenticação.
No canto superior direito, você encontra algumas ações. Conheça cada uma delas a seguir:
Descrição | Aparência |
---|---|
Copie o Token | |
Edite as informações presente no pop up de criação da API | |
Gere um novo Token | |
Delete as configurações cadastradas |
Clique em Postman para realizar o download de um arquivo em formato JSON.
Esse formato é muito mais simples e menos burocrático do que o mundialmente famoso XML, comumente utilizado para o envio de informações entre aplicações. Esse arquivo será aberto com o navegador Firefox.