Download OpenAPI specification:Download
Email para suporte: suporte@notificacoesinteligentes.com
API do Notificações Inteligentes para controle das integrações.
A autenticação é realizada através do método Bearer Token, utilizando a chave de API do usuário. Para mais detalhes sobre a chave de API acesse nossa documentação
Toda requisição precisa ter o header Accept:
Accept: application/json
Para mais detalhes sobre os eventos da API, assista o video abaixo ou clique aqui
Acompanhe a tela de estatísticas da sua integração. Nela, temos todos os envios diários.
Caso não saiba onde fica essa tela, acesse este artigo para saber como verificar as estatísticas.
Se não houver nenhum envio depois de um tempo, verifique se a sua integração está conectada a uma instância.
Recomendamos que você:
Sempre que for fazer algum teste utilizando nossos endpoints, recomendamos que altere os valores do Request Body em cada requisição para evitar problemas, pois, não repetimos os payloads.
As rotas de eventos das integrações podem receber, no máximo, 60 requisições por minuto.
Em nossa API existem duas formas de nos fornecer datas:
A primeira forma consiste em nos informar apenas a data Ano-mês-dia, esta forma deve ser usada nos eventos relacionados a Rastreio e Boletos, lembrando que mesmo sem nos fornecer dados como Hora:minuto:segundos, esta data deve estar em Timezone UTC +0
"created_at": "2020-03-10"
A segunda forma consiste em nos informar a data e o horário Ano-mês-dia Hora:minuto:segundo, esta forma deve ser usada nos demais eventos que utilizam datas, lembrando que esta data e horário devem estar em Timezone UTC +0
"created_at": "2020-03-10 13:26:57"
Ao criar um Opt-Out, o sistema buscará todas as instâncias em comum com as lojas conectadas na instância atual e aplicará o bloqueio do contato em todas elas.
Busca os dados do endereço através do CEP fornecido
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
[ ]
[ ]
Lista todas as integrações
Accept required | string Value: "application/json" |
{- "data": [
- {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Cria uma nova integração com os dados fornecidos
Content-Type required | string Value: "application/json" |
Accept required | string Value: "application/json" |
name required | string <= 100 characters Nome da integração para identificação no painel |
platform required | string (Platform) Enum: "abmex" "active-campaign" "api-next" "app-max" "asaas" "astronmembers" "azcend" "bagy-checkout-abandoned" "beeviral" "bling-orders-2" "blitzpay" "braavo" "braip" "brasil-na-web" "brevo" "builder-all" "cakto" "calendly" "cartpanda" "climba" "cloudfox" "compra-rapida" "convertize" "convvert" "digital-manager-guru" "dinamize" "dooca" "doppus" "doppus-v3" "ead-plataforma" "eduzz-2" "elementor" "evermart" "e-com-plus" "e-goi" "fidelimax" "fidelizar" "find-my-pack-next" "flexy" "forms-app" "funnel-kit" "galax-pay" "greenn" "growth-machine" "hero-spark" "hopy" "hotmart" "hotmart-v2" "hubla" "hubspot" "infusionsoft" "inter" "irroba" "iset-2" "istpay" "iugu" "jet" "kapsula" "kirvano" "kiwify-2" "lastlink" "lead-lovers" "lpqv" "loja-integrada" "macro" "magazord" "mailchimp" "manychat" "mautic" "member-kit" "monetizze-2" "moovin" "notazz" "nuvem-shop" "omie" "pagali" "pagali-2" "pagar-me-1" "pagar-me-2" "pag-hiper" "paypal" "payt" "pepper" "perfect-pay" "pluga" "prestashop" "rd-station" "saiu-pra-entrega" "shopify-next" "shoppub" "simplo-7" "spedy" "stripe" "thrivecart" "ticto-3" "tiny" "track-co" "tray" "tray-corp" "troquecommerce" "typeform" "via-shop-moda" "vindi" "vnda" "voomp" "vtex" "wapstore" "wbuy" "we-help" "webstore" "wide-pay" "witure" "woocommerce" "woocommerce-cart-abandonment-recovery" "yampi" "yapay" "yever" "zoppy" Plataforma da integração |
{- "name": "Loja de Doces",
- "platform": "abmex"
}
{- "data": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}
}
Permite a atualização de informações da integração
store required | integer |
Content-Type required | string Value: "application/json" |
Accept required | string Value: "application/json" |
name | string <= 100 characters Nome da integração para identificação no painel |
{- "name": "Loja de Doces"
}
{- "data": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}
}
Mostra detalhes de uma integração específica
store required | integer |
append | string Enum: "setup_fields" "available_events" "checklist" Usado para anexar atributos à resposta |
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
{- "data": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}
}
Cria um novo evento de carrinho abandonado na integração
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object Dados sobre o checkout | |
required | object (Customer) Dados sobre um cliente |
required | object Dados sobre o pedido não concluído |
{- "checkout": {
- "url": "string"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
]
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de boleto impresso na integração
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (BilletOrder) Dados sobre um pedido com método de pagamento por boleto |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "billet_barcode": "123456789 123456789 123456789 123456789",
- "billet_value": 99.9,
- "billet_due_date": "2020-01-01",
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
]
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de pedido cancelado na integração
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (Order) Dados básicos necessários para um pedido |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
]
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de pedido pago na integração
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (Order) Dados básicos necessários para um pedido |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
]
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de pedido estornado na integração
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (Order) Dados básicos necessários para um pedido |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
]
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de pedido entregue
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (ShippingOrder) Dados básicos necessários para um pedido |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
], - "delivery": {
- "fee": 10,
- "description": "Entrega em até 3 dias úteis",
- "code": "AB123456789",
- "estimate": "2020-01-01"
}
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de pedido que foi despachado para a transportadora
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (ShippingOrder) Dados básicos necessários para um pedido |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
], - "delivery": {
- "fee": 10,
- "description": "Entrega em até 3 dias úteis",
- "code": "AB123456789",
- "estimate": "2020-01-01"
}
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de pedido que está sendo processado (em separação, em processo de embalagem, etc)
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (Order) Dados básicos necessários para um pedido |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
]
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de pacote saiu para entrega
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (ShippingOrder) Dados básicos necessários para um pedido |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
], - "delivery": {
- "fee": 10,
- "description": "Entrega em até 3 dias úteis",
- "code": "AB123456789",
- "estimate": "2020-01-01"
}
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de pacote com progresso atualizado
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (ShippingOrder) Dados básicos necessários para um pedido |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
], - "delivery": {
- "fee": 10,
- "description": "Entrega em até 3 dias úteis",
- "code": "AB123456789",
- "estimate": "2020-01-01"
}
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de pacote aguardando retirada
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (ShippingOrder) Dados básicos necessários para um pedido |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
], - "delivery": {
- "fee": 10,
- "description": "Entrega em até 3 dias úteis",
- "code": "AB123456789",
- "estimate": "2020-01-01"
}
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de pedido que está aguardando o pagamento ser efetuado
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
object (Address) Dados sobre o endereço cliente | |
required | object (Customer) Dados sobre um cliente |
required | object (Order) Dados básicos necessários para um pedido |
{- "address": {
- "city": "Betim",
- "complement": "BL1 AP2",
- "neighborhood": "Centro",
- "number": "1234",
- "postal_code": "12345-123",
- "state": "MG",
- "street": "Avenida Amazonas"
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "order": {
- "id": "PEDIDO12345",
- "products_total": 299.97,
- "total": 269.97,
- "discount": 50,
- "status": "Pedido Aprovado",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
], - "pix": {
- "bacen_code": "00020126580014br.gov.bcb.pix0136123e4567-e12b-12d1-a456-4266554400005204000053039865802BR5913Fulano de Tal6008BRASILIA62070503***63041D3D",
- "due_date": "2020-01-01 13:26:57",
- "qr_code": "00020126580014br.gov.bcb.pix0136123e4567-e12b-12d1-a456-4266554400005204000053039865802BR5913Fulano de Tal6008BRASILIA62070503***63041D3D",
- "value": 155.99
}, - "payment_type": "credit-card"
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de acesso criado para membros
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
required | object (Access) Dados sobre acesso à area de membros dos clientes |
required | object (Customer) Dados sobre um cliente |
{- "access": {
- "password": "12usuario34",
- "products": [
- {
- "name": "Barra de Chocolate",
- "quantity": 3,
- "value": 5
}
]
}, - "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento de redefinição de senha
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
required | object (ResetPassword) Dados sobre à redefinição de senha |
required | object (Customer) Dados sobre um cliente |
{- "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento com a nota referente a disposição do cliente em recomendar algo a terceiros
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
required | object (Customer) Dados sobre um cliente |
required | object Dados sobre o Note promoter score |
{- "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
}, - "nps": {
- "answer": {
- "answered_at": "2019-12-08 12:30:00",
- "comment": "Ótimo serviço",
- "score": 10
}
}
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo evento com o link para pesquisa
Accept required | string Value: "application/json" |
Content-Type required | string Value: "application/json" |
required | object (Customer) Dados sobre um cliente |
required | object Dados sobre o Note promoter score |
{- "customer": {
- "first_name": "João",
- "last_name": "Oliveira",
- "phone": "+5531991234567",
- "cpf_cnpj": "91006434089",
- "ip": "8.8.8.8"
},
}
{- "data": {
- "id": 0,
- "store_id": 0,
- "headers": { },
- "input": { },
- "created_at": "2020-03-10T13:26:57+00:00"
}
}
Cria um novo contato a conta do usuário
name required | string or null Nome do contato |
phone required | string Número de telefone do contato |
email required | string or null Email do contato |
notes | string or null Observações atribuídas ao lead |
tags | Array of strings Lista com os nomes das tags |
Array of objects Lista com as variáveis customizadas |
{- "name": "João",
- "phone": "+5531992284862",
- "notes": "Captado via campanhas",
- "tags": [
- "Lead Novo"
], - "custom_variables": [
- {
- "slug": "lead.custom.aniversario",
- "value": "25/07"
}
]
}
{- "data": {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
]
}
}
}
Lista os contatos da conta
limit | integer Limita a quantidade de itens por página |
page | integer Usado para manipular a paginação da coleção |
include | string Enum: "lists" "lists.source" "tags" "users" Relacionamentos que podem ser inclusos na requisição |
filter[name] | string Example: filter[name]=João Filtra por contatos que possuam o nome |
filter[phone] | string Example: filter[phone]=5531912341234 Filtra por contatos que possuam o telefone |
filter[email] | |
filter[tags] | Array of strings Example: filter[tags]=1 Filtra por contatos que possuam as tags |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
]
}
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Mostra os dados de um contato da conta
lead required | integer ID do contato |
include | string Enum: "lists" "lists.source" "tags" "users" Relacionamentos que podem ser inclusos na requisição |
Accept required | string Value: "application/json" |
{- "data": {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
]
}
}
}
Edita um contato já existente associado ao usuário
lead required | integer ID do contato |
Accept required | string Value: "application/json" |
name | string or null Nome do contato |
string or null Email do contato | |
notes | string or null Observações atribuídas ao lead |
Array of objects Lista com as variáveis customizadas |
{- "name": "João",
- "notes": "Captado via campanhas",
- "custom_variables": [
- {
- "slug": "lead.custom.aniversario",
- "value": "25/07"
}
]
}
{- "data": {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
]
}
}
}
Adiciona as listas informadas à um contato específico
lead required | integer ID do contato |
Accept required | string Value: "application/json" |
lists required | Array of integers Lista com os identificadores das listas |
{- "lists": [
- 1
]
}
{- "data": {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
]
}
}
}
Remove as lista informadas de um contato específico
lead required | integer ID do contato |
Accept required | string Value: "application/json" |
lists required | Array of integers Lista com os identificadores das listas |
{- "lists": [
- 1
]
}
{- "data": {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
]
}
}
}
Lista as listas de contatos da conta
include | string Enum: "source" "leadsCount" Relacionamentos que podem ser inclusos na requisição |
append | string Value: "has_leads" Propriedades que podem ser inclusas na resposta |
filter[name] | string Example: filter[name]=lista de contatos do whatsapp Filtra por listas que possuam o nome |
filter[type] | string Example: filter[type]=stream Filtra pelo tipo da lista |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- { }
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": { }
}
}
]
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Mostra os dados de uma lista de contatos da conta
list required | integer ID da lista |
include | string Value: "source" Relacionamentos que podem ser inclusos na requisição |
Accept required | string Value: "application/json" |
{- "data": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- { }
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": { }
}
}
]
}
}
Atualiza o nome de uma lista de leads
list required | integer ID da lista |
{- "data": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- { }
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": { }
}
}
]
}
}
Lista os contatos de uma lista específica
list required | integer ID da lista |
limit | integer Limita a quantidade de itens por página |
page | integer Usado para manipular a paginação da coleção |
include | string Enum: "lists" "lists.source" Relacionamentos que podem ser inclusos na requisição |
filter[name] | string Example: filter[name]=João Filtra por contatos que possuam o nome |
filter[phone] | string Example: filter[phone]=5531912341234 Filtra por contatos que possuam o telefone |
filter[email] |
Accept required | string Value: "application/json" |
{- "data": [
- {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": { }
}
]
}
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Adiciona os contato informados para uma lista de contatos específica
list required | integer ID da lista |
Accept required | string Value: "application/json" |
leads required | Array of integers Lista com os identificadores dos contatos |
{- "leads": [
- 1
]
}
{- "data": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- { }
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": { }
}
}
]
}
}
Remove os contatos informados de uma lista específica
list required | integer ID da lista |
Accept required | string Value: "application/json" |
leads required | Array of integers Lista com os identificadores dos contatos |
{- "leads": [
- 1
]
}
{- "data": {
- "id": 1,
- "owner_id": 1,
- "name": "Lista da minha loja",
- "type": "stream",
- "leads_count": 15,
- "has_leads": true,
- "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "source_type": "store",
- "source": {
- "id": 1,
- "name": "Loja de Doces",
- "platform": "abmex",
- "token": "16a3debc-5be5-4fdb-b5c1-693c662bd31e",
- "created_at": "2020-03-10T13:26:57+00:00",
- "updated_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "happy_flow_enabled_at": "2022-09-019T10:54:00+00:00",
- "setup": { },
- "setup_ready_at": "2020-03-10T13:26:57+00:00",
- "queue_days_limit": 2,
- "setup_fields": [ ],
- "category": "affiliate",
- "needs_setup": true,
- "needs_api": true,
- "needs_token": true,
- "needs_webhook": true,
- "has_pix_event": true,
- "deprecated_store": false,
- "webhook_url": "string",
- "last_valid_webhook_processed_at": "2022-09-019T10:54:00+00:00"
}, - "tags": [
- {
- "id": 1,
- "label": "Venda",
- "description": "Tag de Vendas",
- "color": "FFFFFF",
- "hexadecimal_color": "#FFFFFF",
- "created_at": "2022-09-02T13:00:00+00:00",
- "updated_at": "2022-09-02T13:00:00+00:00",
- "deleted_at": "2022-09-02T13:00:00+00:00",
- "leads": {
- "id": 1,
- "phone": "+5531992284862",
- "name": "João",
- "notes": "Captado via campanhas",
- "tags": [
- { }
], - "custom_variables": {
- "slug.da.variavel": "valor da variavel"
}, - "created_at": "2020-03-10T13:26:57+00:00",
- "deleted_at": "2020-03-10T13:26:57+00:00",
- "whatsapp_verified_at": "2020-03-10T13:26:57+00:00",
- "last_whatsapp_activity_at": "2020-03-10T13:26:57+00:00",
- "list": { }
}
}
]
}
}
Lista as variáveis customizadas da organização
filter[slug] | string Filtra pelo slug da variável customizada |
filter[type] | string Filtra pelo tipo da variável customizada |
filter[variable_group_name] | string Filtra pelo nome do grupo da variável customizada |
include | string Enum: "organization" "author" "lastEditedBy" "variableGroup" Relacionamentos que podem ser inclusos na requisição |
{- "data": [
- {
- "id": 10,
- "organization_id": 2024,
- "last_edited_by_id": 2024,
- "author_id": 2024,
- "group_id": 2024,
- "variable_group": { },
- "last_edited_by": { },
- "author": { },
- "organization": { },
- "slug": "email_do_cliente",
- "options": "['Masculino', 'Feminino', 'Outro']",
- "description": "Email do Cliente",
- "type": "string",
- "created_at": "2023-05-0T09:37:00+00:00",
- "updated_at": "2023-05-0T09:37:00+00:00"
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Cria as variáveis customizadas da organização
name | string |
description required | string |
type required | string Enum: "email" "text" "cnpj" "cpf" "integer" "numeric" "date" "checkbox" "multi_select" "option_list" |
{- "name": "string",
- "description": "string",
- "type": "email"
}
null
Mostra a variável customizada da organização
include | string Enum: "organization" "author" "lastEditedBy" "variableGroup" Relacionamentos que podem ser inclusos na requisição |
null
Atualiza as variáveis customizadas
customVariable required | string ID da CustomVariable |
description | string |
options | Array of arrays |
group_id | integer |
{- "description": "string",
- "options": [ ],
- "group_id": 0
}
null
Lista os grupos da organização
filter[name] | string Filtra pelo nome do grupo |
include | string Enum: "organization" "author" "lastEditedBy" Relacionamentos que podem ser inclusos na requisição |
{- "data": [
- {
- "id": 10,
- "organization_id": 2024,
- "last_edited_by_id": 2024,
- "author_id": 2024,
- "name": "Idade",
- "created_at": "2023-05-0T09:37:00+00:00",
- "updated_at": "2023-05-0T09:37:00+00:00",
- "last_edited_by": { },
- "author": { },
- "organization": { }
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}
}
Atualiza o grupo
group required | string ID do Group |
name | string |
{- "name": "string"
}
{- "id": 10,
- "organization_id": 2024,
- "last_edited_by_id": 2024,
- "author_id": 2024,
- "name": "Idade",
- "created_at": "2023-05-0T09:37:00+00:00",
- "updated_at": "2023-05-0T09:37:00+00:00",
- "last_edited_by": { },
- "author": { },
- "organization": { }
}