{
    "variable": [
        {
            "key": "baseUrl",
            "value": "https:\/\/v2.ziptime.com.br"
        }
    ],
    "info": {
        "name": "Ziptime API v2",
        "_postman_id": "a30a2afe-3cc9-4fce-bbca-de16c69a7255",
        "description": "API REST multi-tenant do Ziptime CRM.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json",
        "version": "2.0.0"
    },
    "item": [
        {
            "name": "Atividades",
            "description": "",
            "item": [
                {
                    "name": "Lista atividades com pagina\u00e7\u00e3o cursor-based.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/activities",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "Cursor opaco da p\u00e1gina.",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "25",
                                    "description": "Itens por p\u00e1gina (1-100).",
                                    "disabled": false
                                },
                                {
                                    "key": "lead_id",
                                    "value": "1",
                                    "description": "Filtra por lead vinculado.",
                                    "disabled": false
                                },
                                {
                                    "key": "type",
                                    "value": "call",
                                    "description": "Filtra por tipo. Valor \u00fanico (`type=call`) OU lista para filtrar v\u00e1rios de uma vez (`type[]=call&type[]=meeting`), que aplica `IN(...)`. Valores: call|meeting|lunch|task|note|email.",
                                    "disabled": false
                                },
                                {
                                    "key": "operational_only",
                                    "value": "1",
                                    "description": "Opt-in. Quando true (e sem `type`\/`type[]` expl\u00edcito), restringe aos tipos operacionais definidos no servidor (call, meeting, lunch, email, task) \u2014 exclui note, file e system. Atalho para o feed de tarefas do usu\u00e1rio sem hardcodar a lista no client. `type`\/`type[]` expl\u00edcito tem preced\u00eancia.",
                                    "disabled": false
                                },
                                {
                                    "key": "is_done",
                                    "value": "",
                                    "description": "",
                                    "disabled": true
                                },
                                {
                                    "key": "relevant_only",
                                    "value": "",
                                    "description": "Opt-in. Quando true, esconde o RU\u00cdDO de auditoria (type:system) da timeline, mas MANT\u00c9M os marcos curados: Criado, won\/lost\/reactivated e transi\u00e7\u00f5es reais de Est\u00e1gio\/Funil\/Respons\u00e1vel. Filtra mudan\u00e7as de Valor, T\u00edtulo, Origem, Temperatura e campos t\u00e9cnicos. Ausente\/false = retorna tudo. Para excluir TODO type:system (inclusive os marcos), use exclude_system.",
                                    "disabled": true
                                },
                                {
                                    "key": "exclude_system",
                                    "value": "",
                                    "description": "Opt-in. Quando true, remove TODAS as atividades type:system do resultado, inclusive os marcos curados que o relevant_only preserva. Para feeds que s\u00f3 querem intera\u00e7\u00f5es reais (call\/meeting\/lunch\/task\/note\/email). Vence relevant_only quando ambos v\u00eam. Ausente\/false = retorna tudo.",
                                    "disabled": true
                                },
                                {
                                    "key": "assigned_user_id",
                                    "value": "12",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "scheduled_after",
                                    "value": "architecto",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "scheduled_before",
                                    "value": "architecto",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "created_after",
                                    "value": "architecto",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "created_before",
                                    "value": "architecto",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "updated_after",
                                    "value": "architecto",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "updated_before",
                                    "value": "architecto",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "schedule_from",
                                    "description": "schedule_from|created_at|updated_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "asc",
                                    "description": "asc|desc.",
                                    "disabled": false
                                },
                                {
                                    "key": "count",
                                    "value": "1",
                                    "description": "Quando true, inclui `meta.total` = total de atividades que batem com os filtros (ignora pagina\u00e7\u00e3o). Rode apenas na 1\u00aa p\u00e1gina \/ troca de filtro; sem o param o COUNT n\u00e3o roda.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/activities?cursor=architecto&limit=25&lead_id=1&type=call&operational_only=1&is_done=&relevant_only=&exclude_system=&assigned_user_id=12&scheduled_after=architecto&scheduled_before=architecto&created_after=architecto&created_before=architecto&updated_after=architecto&updated_before=architecto&sort=schedule_from&order=asc&count=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"count\":\"true\",\"lead_id\":16,\"operational_only\":\"false\",\"is_done\":\"1\",\"relevant_only\":\"false\",\"exclude_system\":\"true\",\"assigned_user_id\":16,\"scheduled_after\":\"2026-07-27T10:03:10\",\"scheduled_before\":\"2026-07-27T10:03:10\",\"created_after\":\"2026-07-27T10:03:10\",\"created_before\":\"2026-07-27T10:03:10\",\"updated_after\":\"2026-07-27T10:03:10\",\"updated_before\":\"2026-07-27T10:03:10\",\"sort\":\"created_at\",\"order\":\"asc\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":3,\"lead_id\":1,\"lead\":{\"id\":1,\"title\":\"Acme Corp\"},\"title\":\"Call Maria\",\"type\":\"call\",\"is_done\":false,\"assigned_user_id\":12,\"assigned_user\":{\"id\":12,\"name\":\"Jo\u00e3o\",\"image_url\":null}}],\"meta\":{\"total\":42,\"next_cursor\":null}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Retorna uma atividade por id, com lead vinculado e participantes.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/activities\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/activities\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "3",
                                    "description": "Id da activity."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":3,\"lead_id\":1,\"lead\":{\"id\":1,\"title\":\"Acme Corp\"},\"title\":\"Call Maria\",\"assigned_user_id\":12,\"assigned_user\":{\"id\":12,\"name\":\"Jo\u00e3o\",\"image_url\":null},\"participants\":[{\"type\":\"user\",\"id\":12,\"name\":\"Jo\u00e3o\"},{\"type\":\"person\",\"id\":818,\"name\":\"Maria\"}]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Cria uma atividade, opcionalmente vinculada a um lead. Requer header `Idempotency-Key`.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/activities",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/activities"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"lead_id\":1,\"title\":\"Ligar pra Maria\",\"type\":\"call\",\"comment\":\"architecto\",\"location\":\"architecto\",\"schedule_from\":\"architecto\",\"schedule_to\":\"architecto\",\"is_done\":false,\"assigned_user_id\":16,\"participants\":[{\"type\":\"user\",\"id\":10}]}"
                        },
                        "description": "Marcar `is_done=true` no create j\u00e1 preenche `done_at` e `done_by` com\no user da request. Participants s\u00e3o apenas user_ids (sub-set do CRUD\nweb do Krayin \u2014 persons ficam fora do MVP)."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":3,\"lead_id\":1,\"title\":\"Ligar pra Maria\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":{\"code\":\"idempotency.key_required\",\"message\":\"...\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Atualiza uma atividade (parcial). `lead_id` \u00e9 silenciosamente ignorado\n(vincula\u00e7\u00e3o n\u00e3o muda ap\u00f3s cria\u00e7\u00e3o).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/activities\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/activities\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "3",
                                    "description": "Id da activity."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"title\":\"architecto\",\"type\":\"architecto\",\"comment\":\"architecto\",\"location\":\"architecto\",\"schedule_from\":\"architecto\",\"schedule_to\":\"architecto\",\"is_done\":false,\"assigned_user_id\":16,\"participants\":[{\"type\":\"person\",\"id\":818}]}"
                        },
                        "description": "Estado de `is_done` segue m\u00e1quina de estado: transi\u00e7\u00e3o \u2192 done seta\n`done_at`\/`done_by`; \u2192 not done limpa ambos. `participants` substitui\na lista inteira (delete + recreate, dentro de transaction)."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":3,\"title\":\"Updated\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Remove uma atividade. Krayin Activity N\u00c3O usa SoftDeletes; \u00e9 hard delete.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/activities\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/activities\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "3",
                                    "description": "Id da activity."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Autentica\u00e7\u00e3o",
            "description": "",
            "item": [
                {
                    "name": "Autentica via email + senha e devolve token Sanctum.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/auth\/login",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/auth\/login"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"email\":\"alice@example.com\",\"password\":\"s3cretP@ss\",\"client_type\":\"web_login_via_api\",\"device_name\":\"iPhone 15 Pro\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"token\":\"3|...\",\"expires_at\":null,\"client_type\":\"web_login_via_api\",\"user\":{\"id\":42,\"name\":\"Alice\"}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"error\":{\"code\":\"auth.invalid_credentials\",\"message\":\"Credenciais inv\u00e1lidas.\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"error\":{\"code\":\"auth.user_disabled\",\"message\":\"Esta conta foi desativada. Contate o administrador.\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"Plugin WhatsApp requer pairing code, n\u00e3o \/login.\",\"fields\":{\"client_type\":[\"Plugin WhatsApp requer pairing code, n\u00e3o \/login.\"]}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Troca pairing code por token Sanctum.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/auth\/pair",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/auth\/pair"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"code\":\"584826\",\"intent\":\"whatsapp_plugin\",\"device_name\":\"Chrome \\\/ MacBook\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"token\":\"5|...\",\"expires_at\":\"2026-08-03T00:00:00-03:00\",\"client_type\":\"whatsapp_plugin\",\"user\":{\"id\":42}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"pairing.code_invalid\",\"message\":\"C\u00f3digo de pareamento inv\u00e1lido.\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"pairing.code_expired\",\"message\":\"C\u00f3digo de pareamento expirado. Gere um novo c\u00f3digo.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Encerra a sess\u00e3o atual (revoga o Bearer da pr\u00f3pria request).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/auth\/logout",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/auth\/logout"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"error\":{\"code\":\"auth.invalid_token\",\"message\":\"Token de autentica\u00e7\u00e3o inv\u00e1lido ou ausente.\"}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Empresas",
            "description": "",
            "item": [
                {
                    "name": "Lista empresas do tenant atual com pagina\u00e7\u00e3o cursor-based.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/organizations",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "Cursor opaco da p\u00e1gina (vindo de meta.next_cursor anterior).",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "25",
                                    "description": "Itens por p\u00e1gina (1-100, default 25).",
                                    "disabled": false
                                },
                                {
                                    "key": "name",
                                    "value": "Acme",
                                    "description": "Filtro substring (case-insensitive) por nome.",
                                    "disabled": false
                                },
                                {
                                    "key": "created_after",
                                    "value": "2026-01-01",
                                    "description": "ISO-8601. Filtra created_at >= valor.",
                                    "disabled": false
                                },
                                {
                                    "key": "created_before",
                                    "value": "2026-12-31",
                                    "description": "ISO-8601. Filtra created_at ",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "created_at",
                                    "description": "Coluna de ordena\u00e7\u00e3o (name, created_at, updated_at).",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "desc",
                                    "description": "asc|desc.",
                                    "disabled": false
                                },
                                {
                                    "key": "count",
                                    "value": "1",
                                    "description": "Quando true, inclui `meta.total` = total de empresas que batem com os filtros (ignora pagina\u00e7\u00e3o). Rode apenas na 1\u00aa p\u00e1gina \/ troca de filtro; sem o param o COUNT n\u00e3o roda.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/organizations?cursor=architecto&limit=25&name=Acme&created_after=2026-01-01&created_before=2026-12-31&sort=created_at&order=desc&count=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"name\":\"g\",\"created_after\":\"2026-07-27T10:03:10\",\"created_before\":\"2026-07-27T10:03:10\",\"sort\":\"name\",\"order\":\"asc\",\"count\":\"false\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":7,\"name\":\"Acme\",\"cnpj\":null,\"address\":null,\"created_at\":\"2026-05-05T10:00:00Z\",\"updated_at\":\"2026-05-05T10:00:00Z\"}],\"meta\":{\"total\":746,\"next_cursor\":null}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"Valida\u00e7\u00e3o falhou.\",\"fields\":{\"sort\":[\"...\"]}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Retorna uma empresa por id (dentro do tenant).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/organizations\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/organizations\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "7",
                                    "description": "Id da organization."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":7,\"name\":\"Acme\",\"cnpj\":null,\"address\":null}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"Recurso n\u00e3o encontrado.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Cria uma empresa. Requer header `Idempotency-Key` (UUID).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/organizations",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/organizations"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Acme Corp\",\"cnpj\":\"12.345.678\\\/0001-90\",\"website\":\"https:\\\/\\\/acme.com\",\"phones\":[\"+55 47 99999-0000\"],\"emails\":[\"contato@acme.com\"],\"address\":{\"address\":\"architecto\",\"country\":\"BR\",\"state\":\"SP\",\"city\":\"S\u00e3o Paulo\",\"postcode\":\"01310-100\"}}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":8,\"name\":\"Acme\",\"cnpj\":null,\"address\":null}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":{\"code\":\"idempotency.key_required\",\"message\":\"Header Idempotency-Key \u00e9 obrigat\u00f3rio nesta opera\u00e7\u00e3o.\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"Valida\u00e7\u00e3o falhou.\",\"fields\":{\"name\":[\"...\"]}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Atualiza uma empresa existente (parcial \u2014 s\u00f3 campos enviados).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/organizations\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/organizations\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "7",
                                    "description": "Id da organization."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"architecto\",\"cnpj\":\"architecto\",\"website\":\"architecto\",\"phones\":[\"architecto\"],\"emails\":[\"architecto\"],\"address\":{\"address\":\"p\",\"country\":\"s\",\"state\":\"c\",\"city\":\"q\",\"postcode\":\"ldzsnrwtujwvlxjk\"}}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":7,\"name\":\"Acme Updated\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"Recurso n\u00e3o encontrado.\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"Valida\u00e7\u00e3o falhou.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Remove (soft delete) uma empresa.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/organizations\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/organizations\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "7",
                                    "description": "Id da organization."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"Recurso n\u00e3o encontrado.\"}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Estat\u00edsticas",
            "description": "",
            "item": [
                {
                    "name": "Retorna os totais do tenant atual.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/tenant\/stats",
                            "query": [
                                {
                                    "key": "assigned_user_id",
                                    "value": "12",
                                    "description": "Filtro por respons\u00e1vel (s\u00f3 open_leads). Comum s\u00f3 dentro do pr\u00f3prio escopo.",
                                    "disabled": false
                                },
                                {
                                    "key": "pipeline_id",
                                    "value": "7",
                                    "description": "Filtro por funil (s\u00f3 open_leads).",
                                    "disabled": false
                                },
                                {
                                    "key": "source_id",
                                    "value": "4",
                                    "description": "Filtro por origem (s\u00f3 open_leads).",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/tenant\/stats?assigned_user_id=12&pipeline_id=7&source_id=4"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"assigned_user_id\":16,\"pipeline_id\":16,\"source_id\":16}"
                        },
                        "description": "Os filtros de dashboard (assigned_user_id\/pipeline_id\/source_id) afetam\nSOMENTE o `open_leads` (card Leads), com o mesmo bloco de escopo por\nrespons\u00e1vel do \/tenant\/stats\/temperature e do \/leads\/flow. `organizations`\ne `contacts` s\u00e3o a base cadastral do tenant e N\u00c3O recebem filtro (sem\nsem\u00e2ntica de funil\/origem) \u2014 permanecem tenant-wide."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"open_leads\":42,\"organizations\":747,\"contacts\":959}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"error\":{\"code\":\"resource.forbidden\",\"message\":\"Voc\u00ea n\u00e3o tem permiss\u00e3o para esta a\u00e7\u00e3o.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/v2\/tenant\/stats\/temperature",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/tenant\/stats\/temperature",
                            "query": [
                                {
                                    "key": "assigned_user_id",
                                    "value": "12",
                                    "description": "Filtro por respons\u00e1vel. Comum s\u00f3 pode pedir dentro do pr\u00f3prio escopo.",
                                    "disabled": false
                                },
                                {
                                    "key": "pipeline_id",
                                    "value": "7",
                                    "description": "Filtro por funil (dimens\u00e3o do dashboard).",
                                    "disabled": false
                                },
                                {
                                    "key": "source_id",
                                    "value": "4",
                                    "description": "Filtro por origem (dimens\u00e3o do dashboard).",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/tenant\/stats\/temperature?assigned_user_id=12&pipeline_id=7&source_id=4"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"assigned_user_id\":16,\"pipeline_id\":16,\"source_id\":16}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"hot\":{\"count\":8,\"value\":1151160},\"warm\":{\"count\":14,\"value\":449940},\"cold\":{\"count\":12,\"value\":536500},\"none\":{\"count\":8,\"value\":14000}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"error\":{\"code\":\"resource.forbidden\",\"message\":\"Voc\u00ea n\u00e3o tem permiss\u00e3o para esta a\u00e7\u00e3o.\"}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Leads",
            "description": "",
            "item": [
                {
                    "name": "Lista leads do tenant atual com pagina\u00e7\u00e3o cursor-based.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "Cursor opaco da p\u00e1gina.",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "25",
                                    "description": "Itens por p\u00e1gina (1-100).",
                                    "disabled": false
                                },
                                {
                                    "key": "title",
                                    "value": "Maria",
                                    "description": "Filtro substring por t\u00edtulo.",
                                    "disabled": false
                                },
                                {
                                    "key": "pipeline_id",
                                    "value": "7",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "stage_id",
                                    "value": "29",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "source_id",
                                    "value": "4",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "assigned_user_id",
                                    "value": "12",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "status",
                                    "value": "1",
                                    "description": "1=ativo, 2=ganho, 3=perdido.",
                                    "disabled": false
                                },
                                {
                                    "key": "organization_id",
                                    "value": "7",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "person_id",
                                    "value": "42",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "created_after",
                                    "value": "architecto",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "created_before",
                                    "value": "architecto",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "updated_after",
                                    "value": "architecto",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "updated_before",
                                    "value": "architecto",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "created_at",
                                    "description": "title|lead_value|expected_close_date|created_at|updated_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "desc",
                                    "description": "asc|desc.",
                                    "disabled": false
                                },
                                {
                                    "key": "count",
                                    "value": "1",
                                    "description": "Quando true, inclui `meta.total` = total de leads que batem com os filtros (ignora pagina\u00e7\u00e3o). Rode apenas na 1\u00aa p\u00e1gina \/ troca de filtro; sem o param o COUNT n\u00e3o roda.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/leads?cursor=architecto&limit=25&title=Maria&pipeline_id=7&stage_id=29&source_id=4&assigned_user_id=12&status=1&organization_id=7&person_id=42&created_after=architecto&created_before=architecto&updated_after=architecto&updated_before=architecto&sort=created_at&order=desc&count=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"count\":\"1\",\"title\":\"g\",\"pipeline_id\":16,\"stage_id\":16,\"source_id\":16,\"assigned_user_id\":16,\"status\":1,\"organization_id\":16,\"person_id\":16,\"created_after\":\"2026-07-26T11:53:09\",\"created_before\":\"2026-07-26T11:53:09\",\"updated_after\":\"2026-07-26T11:53:09\",\"updated_before\":\"2026-07-26T11:53:09\",\"sort\":\"expected_close_date\",\"order\":\"asc\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":1,\"title\":\"Lead X\",\"pipeline_id\":7,\"stage_id\":29,\"stage_entered_at\":\"2026-05-11T00:00:00-03:00\",\"assigned_user_id\":12,\"assigned_user\":{\"id\":12,\"name\":\"Hugo Ferreira\",\"image_url\":null},\"organization_id\":7,\"person_id\":42,\"organization\":{\"id\":7,\"name\":\"Acme Ltda\"},\"person\":{\"id\":42,\"name\":\"Maria Silva\"}}],\"meta\":{\"total\":137,\"next_cursor\":null}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Lista as op\u00e7\u00f5es dos custom attributes select de lead (temperatura, score)\ndo tenant atual, para o app montar os Selects. Resolvido por code (ids\nvariam por tenant); options ordenadas por sort_order; label = nome da op\u00e7\u00e3o.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads\/attribute-options",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/leads\/attribute-options"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Attribute ausente no tenant \u2192 lista vazia para aquele campo."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"temperature\":[{\"id\":15,\"label\":\"Quente\"},{\"id\":16,\"label\":\"Morno\"},{\"id\":17,\"label\":\"Frio\"}],\"score\":[{\"id\":18,\"label\":\"5\"},{\"id\":19,\"label\":\"4\"},{\"id\":20,\"label\":\"3\"},{\"id\":21,\"label\":\"2\"},{\"id\":22,\"label\":\"1\"}]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/v2\/leads\/flow",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads\/flow",
                            "query": [
                                {
                                    "key": "granularity",
                                    "value": "month",
                                    "description": "Granularidade: `month` (default) ou `day`.",
                                    "disabled": false
                                },
                                {
                                    "key": "months",
                                    "value": "6",
                                    "description": "Modo month sem \u00e2ncora: n\u00ba de meses (1-24) contando o atual. Default 6. Ignorado quando `month` \u00e9 enviado.",
                                    "disabled": false
                                },
                                {
                                    "key": "month",
                                    "value": "2026-07",
                                    "description": "YYYY-MM. Modo day: m\u00eas do drill-down (obrigat\u00f3rio). Modo month: \u00e2ncora opcional \u2192 devolve esse m\u00eas + o anterior (2 buckets).",
                                    "disabled": false
                                },
                                {
                                    "key": "date_from",
                                    "value": "2026-02-01",
                                    "description": "YYYY-MM-DD. Modo month: in\u00edcio do range expl\u00edcito (normalizado pro 1\u00ba dia do m\u00eas). Exigido junto com `date_to`; ignora `months`\/`month`. Span m\u00e1x. 36 meses.",
                                    "disabled": false
                                },
                                {
                                    "key": "date_to",
                                    "value": "2026-07-31",
                                    "description": "YYYY-MM-DD. Modo month: fim do range expl\u00edcito (normalizado pro \u00faltimo dia do m\u00eas). Exigido junto com `date_from`; deve ser >= `date_from`.",
                                    "disabled": false
                                },
                                {
                                    "key": "user_id",
                                    "value": "42",
                                    "description": "Filtro adicional por respons\u00e1vel. Comum s\u00f3 pode pedir dentro do pr\u00f3prio escopo.",
                                    "disabled": false
                                },
                                {
                                    "key": "pipeline_id",
                                    "value": "7",
                                    "description": "Filtro por funil (dimens\u00e3o do dashboard). Vale nos 3 modos.",
                                    "disabled": false
                                },
                                {
                                    "key": "source_id",
                                    "value": "4",
                                    "description": "Filtro por origem (dimens\u00e3o do dashboard). Vale nos 3 modos.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/leads\/flow?granularity=month&months=6&month=2026-07&date_from=2026-02-01&date_to=2026-07-31&user_id=42&pipeline_id=7&source_id=4"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"granularity\":\"month\",\"months\":16,\"month\":\"4255-12\",\"date_from\":\"2026-07-27\",\"date_to\":\"2052-08-19\",\"user_id\":16,\"pipeline_id\":16,\"source_id\":16}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"granularity\":\"month\",\"buckets\":[{\"period\":\"2026-02\",\"label\":\"fev. 2026\",\"leads_created\":{\"count\":18,\"value\":240000},\"deals_won\":{\"count\":5,\"value\":88000},\"deals_lost\":{\"count\":3,\"value\":42000}}]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"error\":{\"code\":\"resource.forbidden\",\"message\":\"Voc\u00ea n\u00e3o tem permiss\u00e3o para esta a\u00e7\u00e3o.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Retorna um lead por id.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/leads\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "Id do lead."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"title\":\"Lead X\",\"pipeline_id\":7,\"assigned_user_id\":12,\"assigned_user\":{\"id\":12,\"name\":\"Hugo Ferreira\",\"image_url\":null}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Cria um lead. Aceita find-or-create de empresa e pessoa.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/leads"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"title\":\"Lead da Maria\",\"description\":\"Veio pelo Google Ads, quer automatizar o processo comercial. Or\u00e7amento estimado R$ 5k.\",\"lead_value\":5000,\"expected_close_date\":\"architecto\",\"pipeline_id\":7,\"stage_id\":29,\"source_id\":4,\"lead_type_id\":2,\"assigned_user_id\":12,\"organization_id\":16,\"organization_name\":\"Acme Corp\",\"organization_website\":\"https:\\\/\\\/acme.com\",\"organization_phone\":\"+55 47 99999-0000\",\"organization_email\":\"contato@acme.com\",\"organization_cnpj\":\"12.345.678\\\/0001-90\",\"person_id\":16,\"person_name\":\"architecto\",\"person_email\":\"maria@empresa.com\",\"person_phone\":\"architecto\"}"
                        },
                        "description": "Quando `pipeline_id`\/`stage_id`\/`source_id`\/`assigned_user_id` s\u00e3o omitidos,\nusa defaults configurados em `api_token_metadata`. `assigned_user_id` cai\npro pr\u00f3prio user do token se nem default existir.\n\nResolu\u00e7\u00e3o de empresa: `organization_id` (ID literal) > `organization_name`\n(find-or-create case-insensitive). Mesma l\u00f3gica para pessoa, mas usa\n`person_id` > `person_email` > `person_phone` > `person_name` como fallback.\n\nRequer header `Idempotency-Key`."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":1,\"title\":\"Lead da Maria\",\"organization_id\":7,\"person_id\":42}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"lead.required_field_no_default\",\"message\":\"...\",\"fields\":{\"pipeline_id\":[\"...\"]}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"lead.stage_pipeline_mismatch\",\"message\":\"Stage n\u00e3o pertence ao pipeline informado.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Atualiza um lead (parcial). N\u00e3o altera pipeline (apenas stage dentro do mesmo).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/leads\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "Id do lead."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"title\":\"architecto\",\"description\":\"Eius et animi quos velit et.\",\"lead_value\":4326.41688,\"expected_close_date\":\"architecto\",\"stage_id\":16,\"source_id\":16,\"lead_type_id\":16,\"assigned_user_id\":16,\"temperature\":15,\"score\":18}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"title\":\"Lead Updated\",\"temperature\":{\"id\":15,\"label\":\"Quente\"},\"score\":{\"id\":18,\"label\":\"5\"}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"...\",\"fields\":{\"temperature\":[\"...\"]}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"lead.stage_pipeline_mismatch\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Remove (soft delete) um lead.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/leads\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "Id do lead."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Marca um lead como GANHO (status=2, closed_at=now()). Consome o mesmo\n`LeadStatusService` das MCP tools \u2014 zero l\u00f3gica duplicada.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads\/:id\/mark-won",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/leads\/:id\/mark-won",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "Id do lead."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"closed_at\":\"2026-01-15T10:00:00-03:00\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"title\":\"Lead X\",\"status\":2,\"closed_at\":\"2026-01-15T10:00:00-03:00\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"lead.already_won\",\"message\":\"Lead j\u00e1 est\u00e1 marcado como Ganho.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Marca um lead como PERDIDO (status=3, closed_at=now(), lost_reason_id).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads\/:id\/mark-lost",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/leads\/:id\/mark-lost",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "Id do lead."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"lost_reason_id\":3,\"closed_at\":\"2026-02-20T09:00:00-03:00\"}"
                        },
                        "description": "Consome o mesmo `LeadStatusService` das MCP tools. A valida\u00e7\u00e3o de tenant\ndo lost reason acontece no service (422 cross_tenant_violation)."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"title\":\"Lead X\",\"status\":3,\"closed_at\":\"2026-02-20T09:00:00-03:00\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"...\",\"fields\":{\"lost_reason_id\":[\"...\"]}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"lead.already_lost\",\"message\":\"Lead j\u00e1 est\u00e1 marcado como Perdido.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Reabre um lead FECHADO (won\/lost) de volta para ATIVO (status=1). Consome\no mesmo `LeadStatusService::reactivate()` do admin web \u2014 zero l\u00f3gica\nduplicada. Limpa `closed_at` e `lost_reason_id`, preserva pipeline\/stage\/\nstage_entered_at, loga activity `type=system` \"Reativado\" e dispara\n`lead.update.before\/after`.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads\/:id\/reopen",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/leads\/:id\/reopen",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "Id do lead."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"title\":\"Lead X\",\"status\":1,\"closed_at\":null}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"lead.already_active\",\"message\":\"Lead j\u00e1 est\u00e1 ativo.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Transfere um lead para outro funil (pipeline + stage). Consome o mesmo\n`LeadPipelineTransferService` do `massMovePipeline` do admin web \u2014 zero\nl\u00f3gica de transi\u00e7\u00e3o duplicada. Reseta o SLA (`stage_entered_at=now()`),\nfecha o `LeadStageHistory` aberto e abre um novo com\n`change_reason='pipeline_transfer'`. Status do lead \u00e9 preservado (won\/lost\ntransfer\u00edveis, paridade com a web).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/leads\/:id\/transfer",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/leads\/:id\/transfer",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "Id do lead."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"pipeline_id\":7,\"stage_id\":29}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":1,\"title\":\"Lead X\",\"pipeline_id\":7,\"stage_id\":29,\"stage_entered_at\":\"2026-07-22T10:00:00-03:00\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"...\",\"fields\":{\"pipeline_id\":[\"...\"]}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"lead.stage_pipeline_mismatch\",\"message\":\"Stage n\u00e3o pertence ao pipeline informado.\"}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Minha conta",
            "description": "",
            "item": [
                {
                    "name": "Retorna identidade do user autenticado, tenant e company atuais e abilities do token.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":42,\"name\":\"Alice\",\"email\":\"alice@example.com\",\"image_url\":null,\"brand_color\":\"#0275F1\",\"is_api_user\":false,\"is_admin\":true,\"tenant\":{\"id\":100,\"name\":\"Acme\"},\"company\":{\"id\":1,\"name\":\"Acme HQ\"},\"abilities\":[\"*\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"error\":{\"code\":\"auth.invalid_token\",\"message\":\"Token de autentica\u00e7\u00e3o inv\u00e1lido ou ausente.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Atualiza name\/email\/phone do usu\u00e1rio autenticado.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me"
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Alice Silva\",\"email\":\"alice@example.com\",\"phone\":\"11999998888\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":42,\"name\":\"Alice Silva\",\"email\":\"alice@example.com\",\"image_url\":null,\"brand_color\":\"#0275F1\",\"is_api_user\":false,\"is_admin\":true,\"tenant\":{\"id\":100,\"name\":\"Acme\"},\"company\":{\"id\":1,\"name\":\"Acme HQ\"},\"abilities\":[\"*\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"error\":{\"code\":\"auth.invalid_token\",\"message\":\"Token de autentica\u00e7\u00e3o inv\u00e1lido ou ausente.\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"Valida\u00e7\u00e3o falhou.\",\"fields\":{\"email\":[\"The email has already been taken.\"]}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Troca a senha do usu\u00e1rio autenticado.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/change-password",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/change-password"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"current_password\":\"senhaAtual123\",\"new_password\":\"novaSenha456\",\"new_password_confirmation\":\"novaSenha456\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"updated\":true}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"error\":{\"code\":\"auth.invalid_token\",\"message\":\"Token de autentica\u00e7\u00e3o inv\u00e1lido ou ausente.\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"auth.invalid_current_password\",\"message\":\"Senha atual incorreta.\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"Valida\u00e7\u00e3o falhou.\",\"fields\":{\"new_password\":[\"The new password confirmation does not match.\"]}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Retorna o plano ativo do tenant do usu\u00e1rio autenticado.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/subscription",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/subscription"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"plan\":{\"id\":2,\"name\":\"Pro\",\"slug\":\"pro\"},\"status\":\"active\",\"billing_cycle\":\"monthly\",\"price\":149.9,\"auto_renew\":true,\"renews_at\":\"2026-08-21T00:00:00-03:00\",\"users_count\":8,\"expires_at\":null,\"current_period_end\":\"2026-08-21T00:00:00-03:00\",\"next_invoice_at\":\"2026-08-21T00:00:00-03:00\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"error\":{\"code\":\"auth.invalid_token\",\"message\":\"Token de autentica\u00e7\u00e3o inv\u00e1lido ou ausente.\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"Recurso n\u00e3o encontrado.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Retorna os totais do usu\u00e1rio autenticado.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/stats",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/stats"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"open_leads\":24,\"organizations\":12,\"contacts\":38}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Lista sess\u00f5es ativas do user e quota por canal (max\/used).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/sessions",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/sessions"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"sessions\":[{\"id\":12,\"client_type\":\"web_login_via_api\",\"device_name\":\"Chrome\",\"is_current\":true}],\"channel_limits\":{\"web_login_via_api\":{\"max\":1,\"used\":1},\"mobile_app\":{\"max\":3,\"used\":0}}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"error\":{\"code\":\"auth.invalid_token\",\"message\":\"Token de autentica\u00e7\u00e3o inv\u00e1lido ou ausente.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Lista hist\u00f3rico de sess\u00f5es do user atual, \u00faltimos 90 dias.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/sessions\/history",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "Cursor opaco da pr\u00f3xima p\u00e1gina.",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "25",
                                    "description": "Itens por p\u00e1gina (1-100).",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/sessions\/history?cursor=architecto&limit=25"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":12,\"client_type\":\"web_login_via_api\",\"device_name\":\"Chrome\",\"ended_reason\":\"logout\",\"is_active\":false}],\"meta\":{\"next_cursor\":null}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"error\":{\"code\":\"auth.invalid_token\",\"message\":\"Token de autentica\u00e7\u00e3o inv\u00e1lido ou ausente.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Revoga uma sess\u00e3o espec\u00edfica do user atual.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/sessions\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/sessions\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "12",
                                    "description": "Id do token (PersonalAccessToken)."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"Sess\u00e3o n\u00e3o encontrada.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Revoga todas as sess\u00f5es do user atual, exceto a sess\u00e3o que originou\na request.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/sessions\/revoke-others",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/sessions\/revoke-others"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"revoked\":3}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Notifica\u00e7\u00f5es",
            "description": "",
            "item": [
                {
                    "name": "Lista notifica\u00e7\u00f5es do usu\u00e1rio (paginado por cursor).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/notifications",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "Cursor opaco para a pr\u00f3xima p\u00e1gina. Example:",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "25",
                                    "description": "Itens por p\u00e1gina (1..100, default 25).",
                                    "disabled": false
                                },
                                {
                                    "key": "status",
                                    "value": "all",
                                    "description": "Filtro de estado: all|unread|archived (default all).",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/notifications?cursor=architecto&limit=25&status=all"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"status\":\"archived\"}"
                        },
                        "description": "Ordenadas por `created_at DESC` (tiebreak `id`). Filtro `status`:\n`all` (default, lidas+n\u00e3o-lidas n\u00e3o-arquivadas), `unread`\n(n\u00e3o-lidas n\u00e3o-arquivadas), `archived` (s\u00f3 arquivadas)."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":\"9b2f...\",\"notification_type\":\"mention\",\"category\":\"trigger\",\"title\":\"Maria mencionou voc\u00ea em uma nota\",\"body\":\"Confirma o desconto...\",\"entity_type\":\"note\",\"entity_id\":4821,\"cta_url\":\"\/admin\/leads\/312\",\"cta_url_mobile\":null,\"cta_label\":\"Ver nota\",\"cta_target\":\"_self\",\"read_at\":null,\"archived_at\":null,\"created_at\":\"2026-07-21T09:14:00-03:00\"}],\"meta\":{\"next_cursor\":\"eyJ...\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Contador de n\u00e3o-lidas (para o badge do sino).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/notifications\/unread-count",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/notifications\/unread-count"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"count\":7}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Marca todas as n\u00e3o-lidas (n\u00e3o-arquivadas) como lidas.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/notifications\/read-all",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/notifications\/read-all"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"updated\":7}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Marca uma notifica\u00e7\u00e3o como lida (idempotente).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/notifications\/:id\/read",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/notifications\/:id\/read",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "9b2f1c3e-...",
                                    "description": "UUID da notifica\u00e7\u00e3o."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":\"9b2f...\",\"read_at\":\"2026-07-21T09:20:00-03:00\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Arquiva uma notifica\u00e7\u00e3o (some da view padr\u00e3o, n\u00e3o apaga).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/notifications\/:id\/archive",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/notifications\/:id\/archive",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "9b2f1c3e-...",
                                    "description": "UUID da notifica\u00e7\u00e3o."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":\"9b2f...\",\"archived_at\":\"2026-07-21T09:20:00-03:00\"}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Pessoas",
            "description": "",
            "item": [
                {
                    "name": "Lista pessoas do tenant atual com pagina\u00e7\u00e3o cursor-based.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/persons",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "Cursor opaco da p\u00e1gina.",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "25",
                                    "description": "Itens por p\u00e1gina (1-100).",
                                    "disabled": false
                                },
                                {
                                    "key": "name",
                                    "value": "Maria",
                                    "description": "Filtro substring por nome.",
                                    "disabled": false
                                },
                                {
                                    "key": "email",
                                    "value": "maria%40",
                                    "description": "Filtro substring por email.",
                                    "disabled": false
                                },
                                {
                                    "key": "phone",
                                    "value": "5511",
                                    "description": "Filtro substring por phone.",
                                    "disabled": false
                                },
                                {
                                    "key": "organization_id",
                                    "value": "7",
                                    "description": "Filtro por organization.",
                                    "disabled": false
                                },
                                {
                                    "key": "created_after",
                                    "value": "2026-01-01",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "created_before",
                                    "value": "2026-12-31",
                                    "description": "ISO-8601.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "created_at",
                                    "description": "name|created_at|updated_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "desc",
                                    "description": "asc|desc.",
                                    "disabled": false
                                },
                                {
                                    "key": "count",
                                    "value": "1",
                                    "description": "Quando true, inclui `meta.total` = total de pessoas que batem com os filtros (ignora pagina\u00e7\u00e3o). Rode apenas na 1\u00aa p\u00e1gina \/ troca de filtro; sem o param o COUNT n\u00e3o roda.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/persons?cursor=architecto&limit=25&name=Maria&email=maria%40&phone=5511&organization_id=7&created_after=2026-01-01&created_before=2026-12-31&sort=created_at&order=desc&count=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"name\":\"g\",\"email\":\"rowan.gulgowski@example.com\",\"phone\":\"d\",\"organization_id\":16,\"created_after\":\"2026-07-27T10:03:10\",\"created_before\":\"2026-07-27T10:03:10\",\"sort\":\"updated_at\",\"order\":\"desc\",\"count\":\"false\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":42,\"name\":\"Maria\",\"emails\":[],\"contact_numbers\":[]}],\"meta\":{\"total\":957,\"next_cursor\":null}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Lookup de pessoa por telefone. Endpoint dedicado pra cobrir o caso\n\"WhatsApp manda E.164, banco guarda mascarado\".",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/persons\/lookup",
                            "query": [
                                {
                                    "key": "phone",
                                    "value": "5511999998888",
                                    "description": "Telefone em qualquer formato (E.164, mascarado, d\u00edgitos puros). Obrigat\u00f3rio se `lid` ausente.",
                                    "disabled": false
                                },
                                {
                                    "key": "lid",
                                    "value": "190636586180822",
                                    "description": "LID do WhatsApp (identificador completo, ~15 d\u00edgitos). Obrigat\u00f3rio se `phone` ausente.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/persons\/lookup?phone=5511999998888&lid=190636586180822"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"phone\":\"b\",\"lid\":\"n\"}"
                        },
                        "description": "Normaliza input e os n\u00fameros armazenados em d\u00edgitos puros, depois\ncasa pelos \u00daLTIMOS 8 d\u00edgitos. O corte 8 foi escolhido pra cobrir\ntanto celulares (9 d\u00edgitos p\u00f3s-DDD) quanto fixos (8 d\u00edgitos), e\nabsorver diverg\u00eancia de DDD\/DDI entre o que o WhatsApp manda\n(`5511999998888`) e o que est\u00e1 cadastrado (`(11) 99999-8888`).\n\nPode retornar 0, 1 ou N persons (duplicados s\u00e3o caso suportado;\no cliente decide como tratar).\n\nRespeita tenant (HasTenantScope no Person) e view_permission\n(AuthorizedUserScope) como os outros endpoints de person.\n\nAceita `phone` OU `lid` (pelo menos um). Se `lid` v\u00e1lido vier informado,\no ramo LID tem prioridade. O LID do WhatsApp \u00e9 identificador completo\n(~15 d\u00edgitos), casado por **igualdade exata** de d\u00edgitos contra entradas\ncom label `whatsapp_lid`; j\u00e1 o `phone` casa por **sufixo** (\u00faltimos 8\nd\u00edgitos) e ignora entradas `whatsapp_lid` (evita colis\u00e3o de sufixo entre\num telefone real e o LID de outra pessoa)."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":42,\"name\":\"Maria\",\"contact_numbers\":[{\"value\":\"(11) 99999-8888\",\"label\":\"mobile\"}]}]}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"O telefone precisa ter ao menos 4 d\u00edgitos.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Retorna uma pessoa por id.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/persons\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/persons\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "42",
                                    "description": "Id da person."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":42,\"name\":\"Maria\",\"emails\":[{\"value\":\"maria@x\",\"label\":\"work\"}]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"Recurso n\u00e3o encontrado.\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Cria uma pessoa. Requer header `Idempotency-Key`.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/persons",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/persons"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Maria Silva\",\"job_title\":\"Diretora Comercial\",\"organization_id\":7,\"emails\":[\"architecto\"],\"contact_numbers\":[\"architecto\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\":{\"id\":42,\"name\":\"Maria\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":{\"code\":\"idempotency.key_required\",\"message\":\"...\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"error\":{\"code\":\"validation.failed\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Atualiza uma pessoa (parcial \u2014 s\u00f3 campos enviados).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/persons\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/persons\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "42",
                                    "description": "Id da person."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"architecto\",\"job_title\":\"architecto\",\"organization_id\":16,\"emails\":[\"architecto\"],\"contact_numbers\":[\"architecto\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":42,\"name\":\"Maria Updated\"}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Remove (soft delete) uma pessoa.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/persons\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/persons\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "42",
                                    "description": "Id da person."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Refer\u00eancias",
            "description": "",
            "item": [
                {
                    "name": "Lista pipelines do tenant.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/pipelines",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "Cursor opaco.",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "25",
                                    "description": "1-100.",
                                    "disabled": false
                                },
                                {
                                    "key": "name",
                                    "value": "architecto",
                                    "description": "Filtro substring.",
                                    "disabled": false
                                },
                                {
                                    "key": "is_default",
                                    "value": "",
                                    "description": "Filtra is_default=1.",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "name",
                                    "description": "name|created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "architecto",
                                    "description": "asc|desc.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/pipelines?cursor=architecto&limit=25&name=architecto&is_default=&sort=name&order=architecto"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"name\":\"g\",\"is_default\":\"false\",\"sort\":\"name\",\"order\":\"desc\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":7,\"name\":\"Vendas Corporativo\",\"is_default\":true}],\"meta\":{\"next_cursor\":null}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Lista stages de um pipeline (sem pagina\u00e7\u00e3o \u2014 pipelines t\u00eam dezenas no m\u00e1ximo).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/pipelines\/:id\/stages",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/pipelines\/:id\/stages",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "7",
                                    "description": "Id do pipeline."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":29,\"name\":\"Novo Lead\",\"code\":\"new\",\"sort_order\":1,\"probability\":10,\"pipeline_id\":7,\"max_days_in_stage\":7},{\"id\":30,\"name\":\"Qualifica\u00e7\u00e3o\",\"code\":\"qualification\",\"sort_order\":2,\"probability\":25,\"pipeline_id\":7,\"max_days_in_stage\":null}]}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":{\"code\":\"resource.not_found\",\"message\":\"...\"}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Lista sources do tenant.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/sources",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "25",
                                    "description": "1-100.",
                                    "disabled": false
                                },
                                {
                                    "key": "name",
                                    "value": "architecto",
                                    "description": "Filtro substring.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "architecto",
                                    "description": "name|created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "architecto",
                                    "description": "asc|desc.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/sources?cursor=architecto&limit=25&name=architecto&sort=architecto&order=architecto"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"name\":\"g\",\"sort\":\"created_at\",\"order\":\"desc\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":4,\"name\":\"Site Nano\"}],\"meta\":{\"next_cursor\":null}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Lista types do tenant.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/types",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "16",
                                    "description": "1-100.",
                                    "disabled": false
                                },
                                {
                                    "key": "name",
                                    "value": "architecto",
                                    "description": "Filtro substring.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "architecto",
                                    "description": "name|created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "architecto",
                                    "description": "asc|desc.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/types?cursor=architecto&limit=16&name=architecto&sort=architecto&order=architecto"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"name\":\"g\",\"sort\":\"name\",\"order\":\"desc\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":2,\"name\":\"Cliente\"}],\"meta\":{\"next_cursor\":null}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Lista tags do tenant.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/tags",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "16",
                                    "description": "1-100.",
                                    "disabled": false
                                },
                                {
                                    "key": "name",
                                    "value": "architecto",
                                    "description": "Filtro substring.",
                                    "disabled": false
                                },
                                {
                                    "key": "color",
                                    "value": "6366f1",
                                    "description": "Filtro exato (hex sem #).",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "architecto",
                                    "description": "name|created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "architecto",
                                    "description": "asc|desc.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/tags?cursor=architecto&limit=16&name=architecto&color=6366f1&sort=architecto&order=architecto"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"name\":\"g\",\"color\":\"zmiyvdl\",\"sort\":\"name\",\"order\":\"asc\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":11,\"name\":\"VIP\",\"color\":\"6366f1\"}],\"meta\":{\"next_cursor\":null}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Lista users humanos do tenant (filtra `is_api_user=false`).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/users",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "16",
                                    "description": "1-100.",
                                    "disabled": false
                                },
                                {
                                    "key": "name",
                                    "value": "architecto",
                                    "description": "Filtro substring por nome.",
                                    "disabled": false
                                },
                                {
                                    "key": "email",
                                    "value": "gbailey%40example.net",
                                    "description": "Filtro substring por email.",
                                    "disabled": false
                                },
                                {
                                    "key": "status",
                                    "value": "architecto",
                                    "description": "active|1 (ativo). Outros valores = inativo.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "architecto",
                                    "description": "name|email|created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "architecto",
                                    "description": "asc|desc.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/users?cursor=architecto&limit=16&name=architecto&email=gbailey%40example.net&status=architecto&sort=architecto&order=architecto"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"name\":\"g\",\"email\":\"rowan.gulgowski@example.com\",\"status\":\"active\",\"sort\":\"created_at\",\"order\":\"asc\"}"
                        },
                        "description": "\u00datil pra integradores resolverem `assigned_user_id`. N\u00c3O retorna user-API\n(tokens de outras integra\u00e7\u00f5es ficam ocultos)."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":12,\"name\":\"Comercial Nano\",\"email\":\"comercial@nano.com.br\",\"status\":1,\"image_url\":\"https:\/\/...\/storage\/user\/12\/avatar.png\"}],\"meta\":{\"next_cursor\":null}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Lista os motivos de perda (lost reasons) do tenant. Usado pelo app pra\nmontar o seletor antes de POST \/leads\/{id}\/mark-lost.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/lost-reasons",
                            "query": [
                                {
                                    "key": "cursor",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "16",
                                    "description": "1-100.",
                                    "disabled": false
                                },
                                {
                                    "key": "name",
                                    "value": "architecto",
                                    "description": "Filtro substring por nome.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort",
                                    "value": "architecto",
                                    "description": "name|created_at.",
                                    "disabled": false
                                },
                                {
                                    "key": "order",
                                    "value": "architecto",
                                    "description": "asc|desc.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/lost-reasons?cursor=architecto&limit=16&name=architecto&sort=architecto&order=architecto"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"cursor\":\"architecto\",\"limit\":22,\"name\":\"g\",\"sort\":\"name\",\"order\":\"asc\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":3,\"name\":\"Pre\u00e7o alto\",\"is_active\":true}],\"meta\":{\"next_cursor\":null}}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "Authorization",
                "type": "string"
            }
        ]
    }
}