Contatos

Contatos são as pessoas que estão interagindo através dos canais conectados da sua conta.

GET Consultar contatos

https://api.mensageiro.io/contacts/search

Este endpoint permite pegar todos os contatos de uma conta.

RequestResponse
Headers (required)
AuthenticationstringAuthentication token our stocks
Body Parameters
id (optional)stringid do contato
channel (optional)stringEx: WhatsApp, email, SMS
source (optional)stringnúmero do telefone ou email

POST Criar contato

https://api.mensageiro.io/contact

RequestResponse
Headers
Authentication (required)string
Body Parameters
channel (optional)string
source (optional) OPTIONALstring

POST Editar variável

https://api.mensageiro.io/contacts/:id

RequestResponse
Headers
Authentication (required)string
Body Parameters
id (optional)string
tag (optional)object
profile (optional)string
field (optional)object

DELETE Excluir contato

https://api.mensageiro.io/contacts/:id

RequestResponse
Path Parameters
id (required)string
Headers
Authentication (required)string

POST Editar canal

https://api.mensageiro.io/contacts/:id

RequestResponse
Path Parameters
id (required)string
Headers
Authentication (required)string