{
    "info": {
        "_postman_id": "cd3793a7-f744-40d4-bcee-188d0c659974",
        "name": "Guper · Sender",
        "description": "Guper Sender API reference. Generated from the documentation portal.",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "item": [
        {
            "name": "Send admin message",
            "request": {
                "method": "POST",
                "header": [
                    {
                        "key": "x-guper-authorization",
                        "value": "{{x-guper-authorization}}",
                        "type": "text",
                        "description": "User token issued by Guper."
                    },
                    {
                        "key": "Content-Type",
                        "value": "{{Content-Type}}",
                        "type": "text",
                        "description": "Always `application/json` for endpoints that accept a JSON body."
                    }
                ],
                "url": {
                    "raw": "https://{{organization}}.myguper.com/api/sender/admin-message/send",
                    "protocol": "https",
                    "host": [
                        "{{organization}}",
                        "myguper",
                        "com"
                    ],
                    "path": [
                        "api",
                        "sender",
                        "admin-message",
                        "send"
                    ]
                },
                "description": "Drops a transactional message into `message_process_queue` in\n`admin` mode. The Process Worker picks it up via `AdminStorager`,\nbinds it to the configured `AdminMessage::SEQUENCE`, and delivers\nit through the matching template for the requested locale.\n\nUse cases: account-management notifications, internal alerts,\ncustomer-service-initiated transactional sends — anything that\nsidesteps the regular sequence rules.",
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"slug\": \"password.reset\",\n    \"locale\": \"pt-BR\",\n    \"person\": 47,\n    \"data\": \"<data>\"\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                }
            },
            "response": [
                {
                    "name": "Enqueued",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/admin-message/send",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "admin-message",
                                "send"
                            ]
                        },
                        "description": "Drops a transactional message into `message_process_queue` in\n`admin` mode. The Process Worker picks it up via `AdminStorager`,\nbinds it to the configured `AdminMessage::SEQUENCE`, and delivers\nit through the matching template for the requested locale.\n\nUse cases: account-management notifications, internal alerts,\ncustomer-service-initiated transactional sends — anything that\nsidesteps the regular sequence rules.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"slug\": \"password.reset\",\n    \"locale\": \"pt-BR\",\n    \"person\": 47,\n    \"data\": \"<data>\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "status": "OK",
                    "code": 200,
                    "_postman_previewlanguage": "json",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "body": "{ \"error\": false, \"id\": 8123 }"
                },
                {
                    "name": "Missing required field",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/admin-message/send",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "admin-message",
                                "send"
                            ]
                        },
                        "description": "Drops a transactional message into `message_process_queue` in\n`admin` mode. The Process Worker picks it up via `AdminStorager`,\nbinds it to the configured `AdminMessage::SEQUENCE`, and delivers\nit through the matching template for the requested locale.\n\nUse cases: account-management notifications, internal alerts,\ncustomer-service-initiated transactional sends — anything that\nsidesteps the regular sequence rules.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"slug\": \"password.reset\",\n    \"locale\": \"pt-BR\",\n    \"person\": 47,\n    \"data\": \"<data>\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "status": "Bad Request",
                    "code": 400,
                    "_postman_previewlanguage": "json",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "body": ""
                }
            ]
        },
        {
            "name": "Cron",
            "item": [
                {
                    "name": "Cron: List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/cron/list",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "cron",
                                "list"
                            ]
                        },
                        "description": "Returns every `ll_cronjob` row for this service with normalized\ntimestamps (`next_execution` / `last_execution` converted from UTC\nto America/Sao_Paulo wall clock to match the convention used by the\nother services) plus `seconds_since_last_execution`. Consumed by\nthe Guper Dashboards service.\n\nAuth: this endpoint runs under origin signature only — no user token."
                    },
                    "response": [
                        {
                            "name": "List of crons",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/cron/list",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "cron",
                                        "list"
                                    ]
                                },
                                "description": "Returns every `ll_cronjob` row for this service with normalized\ntimestamps (`next_execution` / `last_execution` converted from UTC\nto America/Sao_Paulo wall clock to match the convention used by the\nother services) plus `seconds_since_last_execution`. Consumed by\nthe Guper Dashboards service.\n\nAuth: this endpoint runs under origin signature only — no user token."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"service\":     \"sender\",\n    \"server_time\": \"2026-05-08T12:00:00-03:00\",\n    \"crons\": [\n        {\n            \"id\": 7, \"group\": 1, \"name\": \"dispatcher\", \"description\": \"Sends pending messages\",\n            \"path\": \"cron/Dispatcher.php\", \"status\": 1, \"is_active\": 1, \"attempts\": 0,\n            \"id_next_cron\": null, \"interval\": \"60\",\n            \"next_execution\": \"2026-05-08 12:01:00\",\n            \"last_execution\": \"2026-05-08 12:00:00\",\n            \"seconds_since_last_execution\": 0\n        }\n    ]\n}"
                        }
                    ]
                },
                {
                    "name": "Cron: Reset",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/cron/{{id}}/reset",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "cron",
                                "{{id}}",
                                "reset"
                            ]
                        },
                        "description": "Resets a stuck cron — sets `status = 1` and `attempts = 0` on the\n`ll_cronjob` row so the scheduler picks it up on the next tick.\nUsed when a worker died holding the job and the watchdog couldn't\nrecover it automatically.\n\nAuth: origin signature only."
                    },
                    "response": [
                        {
                            "name": "Reset",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/cron/{{id}}/reset",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "cron",
                                        "{{id}}",
                                        "reset"
                                    ]
                                },
                                "description": "Resets a stuck cron — sets `status = 1` and `attempts = 0` on the\n`ll_cronjob` row so the scheduler picks it up on the next tick.\nUsed when a worker died holding the job and the watchdog couldn't\nrecover it automatically.\n\nAuth: origin signature only."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"service\": \"sender\", \"id\": 7, \"reset\": true }"
                        },
                        {
                            "name": "invalid id",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/cron/{{id}}/reset",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "cron",
                                        "{{id}}",
                                        "reset"
                                    ]
                                },
                                "description": "Resets a stuck cron — sets `status = 1` and `attempts = 0` on the\n`ll_cronjob` row so the scheduler picks it up on the next tick.\nUsed when a worker died holding the job and the watchdog couldn't\nrecover it automatically.\n\nAuth: origin signature only."
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        },
                        {
                            "name": "cron not found",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/cron/{{id}}/reset",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "cron",
                                        "{{id}}",
                                        "reset"
                                    ]
                                },
                                "description": "Resets a stuck cron — sets `status = 1` and `attempts = 0` on the\n`ll_cronjob` row so the scheduler picks it up on the next tick.\nUsed when a worker died holding the job and the watchdog couldn't\nrecover it automatically.\n\nAuth: origin signature only."
                            },
                            "status": "Not Found",
                            "code": 404,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "External provider",
            "item": [
                {
                    "name": "Setup",
                    "item": [
                        {
                            "name": "Create External Provider",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "external-provider"
                                    ]
                                },
                                "description": "Registers an External Provider (webhook) for the organization. The Sender will POST messages to the\nconfigured URL whenever a template that points to this provider is dispatched.\n\nThe endpoint resolves the `provider_source` of type `external` automatically — clients only need to\nsend `name`, `default` and the `data` block describing the webhook URL and authentication.\n\n## Auth methods\n\n| Method | Header sent on each call |\n| --- | --- |\n| `bearer` | `Authorization: Bearer {authToken}` |\n| `basic`  | `Authorization: Basic base64(authUsername:authPassword)` |\n| `apikey` | `X-API-Key: {authToken}` |\n| `none`   | No auth header |\n\nSee [Webhook payload](/api-reference/sender/external-provider/webhook-payload-exemplo-completo) for\nthe request shape your endpoint should expect.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"name\": \"Meu Webhook CRM\",\n    \"default\": false,\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-abc123...\"\n    }\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "response": [
                                {
                                    "name": "External provider created.",
                                    "originalRequest": {
                                        "method": "POST",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "external-provider"
                                            ]
                                        },
                                        "description": "Registers an External Provider (webhook) for the organization. The Sender will POST messages to the\nconfigured URL whenever a template that points to this provider is dispatched.\n\nThe endpoint resolves the `provider_source` of type `external` automatically — clients only need to\nsend `name`, `default` and the `data` block describing the webhook URL and authentication.\n\n## Auth methods\n\n| Method | Header sent on each call |\n| --- | --- |\n| `bearer` | `Authorization: Bearer {authToken}` |\n| `basic`  | `Authorization: Basic base64(authUsername:authPassword)` |\n| `apikey` | `X-API-Key: {authToken}` |\n| `none`   | No auth header |\n\nSee [Webhook payload](/api-reference/sender/external-provider/webhook-payload-exemplo-completo) for\nthe request shape your endpoint should expect.",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"name\": \"Meu Webhook CRM\",\n    \"default\": false,\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-abc123...\"\n    }\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "OK",
                                    "code": 200,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{\n    \"id\": 42,\n    \"name\": \"Meu Webhook CRM\",\n    \"default\": false,\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-abc123...\"\n    }\n}"
                                },
                                {
                                    "name": "`data.url` is missing or `name`/`data` not sent.",
                                    "originalRequest": {
                                        "method": "POST",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "external-provider"
                                            ]
                                        },
                                        "description": "Registers an External Provider (webhook) for the organization. The Sender will POST messages to the\nconfigured URL whenever a template that points to this provider is dispatched.\n\nThe endpoint resolves the `provider_source` of type `external` automatically — clients only need to\nsend `name`, `default` and the `data` block describing the webhook URL and authentication.\n\n## Auth methods\n\n| Method | Header sent on each call |\n| --- | --- |\n| `bearer` | `Authorization: Bearer {authToken}` |\n| `basic`  | `Authorization: Basic base64(authUsername:authPassword)` |\n| `apikey` | `X-API-Key: {authToken}` |\n| `none`   | No auth header |\n\nSee [Webhook payload](/api-reference/sender/external-provider/webhook-payload-exemplo-completo) for\nthe request shape your endpoint should expect.",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"name\": \"Meu Webhook CRM\",\n    \"default\": false,\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-abc123...\"\n    }\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "Unprocessable Entity",
                                    "code": 422,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{ \"error\": \"Field data.url is required\" }"
                                },
                                {
                                    "name": "External provider type is not registered in `provider_source`.",
                                    "originalRequest": {
                                        "method": "POST",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "external-provider"
                                            ]
                                        },
                                        "description": "Registers an External Provider (webhook) for the organization. The Sender will POST messages to the\nconfigured URL whenever a template that points to this provider is dispatched.\n\nThe endpoint resolves the `provider_source` of type `external` automatically — clients only need to\nsend `name`, `default` and the `data` block describing the webhook URL and authentication.\n\n## Auth methods\n\n| Method | Header sent on each call |\n| --- | --- |\n| `bearer` | `Authorization: Bearer {authToken}` |\n| `basic`  | `Authorization: Basic base64(authUsername:authPassword)` |\n| `apikey` | `X-API-Key: {authToken}` |\n| `none`   | No auth header |\n\nSee [Webhook payload](/api-reference/sender/external-provider/webhook-payload-exemplo-completo) for\nthe request shape your endpoint should expect.",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"name\": \"Meu Webhook CRM\",\n    \"default\": false,\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-abc123...\"\n    }\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "Not Found",
                                    "code": 404,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{ \"error\": \"External provider type not registered in provider_source\" }"
                                }
                            ]
                        },
                        {
                            "name": "Delete External Provider Setup",
                            "request": {
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "external-provider"
                                    ]
                                },
                                "description": "Removes an External Provider setup. Templates associated with it\nfall back to the organization default (if one exists).\n\nThe route is `DELETE /api/sender/external-provider` — the `id`\ntravels in the JSON body, not the URL (the prior `/{providerSettingId}`\npath documented here didn't match the actual router).",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 5\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "response": [
                                {
                                    "name": "Removed",
                                    "originalRequest": {
                                        "method": "DELETE",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "external-provider"
                                            ]
                                        },
                                        "description": "Removes an External Provider setup. Templates associated with it\nfall back to the organization default (if one exists).\n\nThe route is `DELETE /api/sender/external-provider` — the `id`\ntravels in the JSON body, not the URL (the prior `/{providerSettingId}`\npath documented here didn't match the actual router).",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"id\": 5\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "OK",
                                    "code": 200,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{ \"success\": true }"
                                },
                                {
                                    "name": "Setup not found",
                                    "originalRequest": {
                                        "method": "DELETE",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "external-provider"
                                            ]
                                        },
                                        "description": "Removes an External Provider setup. Templates associated with it\nfall back to the organization default (if one exists).\n\nThe route is `DELETE /api/sender/external-provider` — the `id`\ntravels in the JSON body, not the URL (the prior `/{providerSettingId}`\npath documented here didn't match the actual router).",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"id\": 5\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "Not Found",
                                    "code": 404,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{ \"error\": \"not_found\", \"message\": \"External provider not found\" }"
                                }
                            ]
                        },
                        {
                            "name": "List External Providers",
                            "request": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "external-provider"
                                    ]
                                },
                                "description": "Lista todos os provider settings da organizacao.\n\nRetorna todos os tipos (SMTP, Twilio, External, etc). Cada item inclui os dados de configuracao completos."
                            },
                            "response": [
                                {
                                    "name": "Success",
                                    "originalRequest": {
                                        "method": "GET",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "external-provider"
                                            ]
                                        },
                                        "description": "Lista todos os provider settings da organizacao.\n\nRetorna todos os tipos (SMTP, Twilio, External, etc). Cada item inclui os dados de configuracao completos."
                                    },
                                    "status": "OK",
                                    "code": 200,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "[\n    {\n        \"id\": 42,\n        \"organization\": \"xpto\",\n        \"provider\": 7,\n        \"name\": \"Meu Webhook CRM\",\n        \"default\": false,\n        \"data\": {\n            \"url\": \"https://api.meucrm.com/webhooks/messages\",\n            \"authMethod\": \"bearer\",\n            \"authToken\": \"sk-abc123...\"\n        }\n    },\n    {\n        \"id\": 10,\n        \"organization\": \"xpto\",\n        \"provider\": 1,\n        \"name\": \"SMTP Principal\",\n        \"default\": true,\n        \"data\": {\n            \"host\": \"smtp.example.com\",\n            \"username\": \"sender@example.com\"\n        }\n    }\n]"
                                }
                            ]
                        },
                        {
                            "name": "Update External Provider",
                            "request": {
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "external-provider"
                                    ]
                                },
                                "description": "Updates an External Provider previously created in [Create](/api-reference/sender/external-provider/setup/create).\nOnly the fields you want to change need to be sent — `name`, `default` and `data` are individually\noptional but at least one of them is expected together with `id`.\n\nSending `data` replaces the whole `data` object — partial updates inside `data` are not supported.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 42,\n    \"name\": \"Webhook CRM v2\",\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/v2/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-new-token-456...\"\n    }\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "response": [
                                {
                                    "name": "External provider updated.",
                                    "originalRequest": {
                                        "method": "PUT",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "external-provider"
                                            ]
                                        },
                                        "description": "Updates an External Provider previously created in [Create](/api-reference/sender/external-provider/setup/create).\nOnly the fields you want to change need to be sent — `name`, `default` and `data` are individually\noptional but at least one of them is expected together with `id`.\n\nSending `data` replaces the whole `data` object — partial updates inside `data` are not supported.",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"id\": 42,\n    \"name\": \"Webhook CRM v2\",\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/v2/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-new-token-456...\"\n    }\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "OK",
                                    "code": 200,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{\n    \"id\": 42,\n    \"updated\": true\n}"
                                },
                                {
                                    "name": "`id` is missing in the body.",
                                    "originalRequest": {
                                        "method": "PUT",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "external-provider"
                                            ]
                                        },
                                        "description": "Updates an External Provider previously created in [Create](/api-reference/sender/external-provider/setup/create).\nOnly the fields you want to change need to be sent — `name`, `default` and `data` are individually\noptional but at least one of them is expected together with `id`.\n\nSending `data` replaces the whole `data` object — partial updates inside `data` are not supported.",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"id\": 42,\n    \"name\": \"Webhook CRM v2\",\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/v2/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-new-token-456...\"\n    }\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "Unprocessable Entity",
                                    "code": 422,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{ \"error\": \"Field id is required\" }"
                                },
                                {
                                    "name": "External provider does not exist for this organization.",
                                    "originalRequest": {
                                        "method": "PUT",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/external-provider",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "external-provider"
                                            ]
                                        },
                                        "description": "Updates an External Provider previously created in [Create](/api-reference/sender/external-provider/setup/create).\nOnly the fields you want to change need to be sent — `name`, `default` and `data` are individually\noptional but at least one of them is expected together with `id`.\n\nSending `data` replaces the whole `data` object — partial updates inside `data` are not supported.",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"id\": 42,\n    \"name\": \"Webhook CRM v2\",\n    \"data\": {\n        \"url\": \"https://api.meucrm.com/v2/webhooks/messages\",\n        \"authMethod\": \"bearer\",\n        \"authToken\": \"sk-new-token-456...\"\n    }\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "Not Found",
                                    "code": 404,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{ \"error\": \"External provider setting not found\" }"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Webhook payload — full example",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json`."
                            },
                            {
                                "key": "Authorization",
                                "value": "{{Authorization}}",
                                "type": "text",
                                "description": "Set when `data.authMethod` is `bearer` or `basic`. See the table above."
                            },
                            {
                                "key": "X-API-Key",
                                "value": "{{X-API-Key}}",
                                "type": "text",
                                "description": "Set when `data.authMethod` is `apikey`."
                            },
                            {
                                "key": "User-Agent",
                                "value": "{{User-Agent}}",
                                "type": "text",
                                "description": "Identifies the Sender service making the call."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.comhttps://your-server.example.com/your-webhook",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "comhttps"
                            ],
                            "path": [
                                "your-server.example.com",
                                "your-webhook"
                            ]
                        },
                        "description": "**Reference only** — this page documents the request that **Sender sends** to the URL you registered\nin [Create external provider](/api-reference/sender/external-provider/setup/create). You do not call\nthis endpoint; you implement it.\n\n## Authentication\n\nThe `Authorization` (or `X-API-Key`) header is built from the `data.authMethod`/`data.authToken` you\nsaved on the provider:\n\n| `authMethod` | Header |\n| --- | --- |\n| `bearer` | `Authorization: Bearer {authToken}` |\n| `basic`  | `Authorization: Basic base64(authUsername:authPassword)` |\n| `apikey` | `X-API-Key: {authToken}` |\n| `none`   | No auth header is sent |\n\n## Expected response\n\n| HTTP status | Sender behaviour |\n| --- | --- |\n| `2xx` | Success — message marked as `done`. |\n| `4xx` | Permanent error — no retry. |\n| `5xx` | Transient error — retried. |\n| Timeout | Transient error — retried. |",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"event\": \"message.send\",\n    \"timestamp\": \"2026-02-26T14:30:00Z\",\n    \"organization\": \"xpto\",\n    \"message\": {\n        \"id\": \"12345\",\n        \"sequence\": \"welcome\",\n        \"slug\": \"welcome_email\",\n        \"subject\": \"Olá Joao, bem-vindo!\",\n        \"body\": \"Seu cadastro foi confirmado. Aproveite seu cashback de R$ 50,00.\",\n        \"destination\": {\n            \"name\": \"Joao Silva\",\n            \"email\": \"joao@email.com\",\n            \"cellphone\": \"+5511999999999\",\n            \"countryCallingCode\": \"55\"\n        }\n    },\n    \"variables\": {\n        \"client\": {\n            \"name\": \"Joao Silva\",\n            \"email\": \"joao@email.com\",\n            \"cellphone\": \"11999999999\"\n        },\n        \"order\": {\n            \"id\": 123,\n            \"total\": 5000,\n            \"date\": \"2026-02-26 14:30:00\"\n        },\n        \"reward\": {\n            \"name\": \"Cashback\",\n            \"value\": 5000\n        },\n        \"organization\": {\n            \"name\": \"Loja XYZ\",\n            \"currency\": \"BRL\",\n            \"language\": \"pt_BR\"\n        }\n    }\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Webhook accepted the message — Sender marks it as `done`.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json`."
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "{{Authorization}}",
                                        "type": "text",
                                        "description": "Set when `data.authMethod` is `bearer` or `basic`. See the table above."
                                    },
                                    {
                                        "key": "X-API-Key",
                                        "value": "{{X-API-Key}}",
                                        "type": "text",
                                        "description": "Set when `data.authMethod` is `apikey`."
                                    },
                                    {
                                        "key": "User-Agent",
                                        "value": "{{User-Agent}}",
                                        "type": "text",
                                        "description": "Identifies the Sender service making the call."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.comhttps://your-server.example.com/your-webhook",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "comhttps"
                                    ],
                                    "path": [
                                        "your-server.example.com",
                                        "your-webhook"
                                    ]
                                },
                                "description": "**Reference only** — this page documents the request that **Sender sends** to the URL you registered\nin [Create external provider](/api-reference/sender/external-provider/setup/create). You do not call\nthis endpoint; you implement it.\n\n## Authentication\n\nThe `Authorization` (or `X-API-Key`) header is built from the `data.authMethod`/`data.authToken` you\nsaved on the provider:\n\n| `authMethod` | Header |\n| --- | --- |\n| `bearer` | `Authorization: Bearer {authToken}` |\n| `basic`  | `Authorization: Basic base64(authUsername:authPassword)` |\n| `apikey` | `X-API-Key: {authToken}` |\n| `none`   | No auth header is sent |\n\n## Expected response\n\n| HTTP status | Sender behaviour |\n| --- | --- |\n| `2xx` | Success — message marked as `done`. |\n| `4xx` | Permanent error — no retry. |\n| `5xx` | Transient error — retried. |\n| Timeout | Transient error — retried. |",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"event\": \"message.send\",\n    \"timestamp\": \"2026-02-26T14:30:00Z\",\n    \"organization\": \"xpto\",\n    \"message\": {\n        \"id\": \"12345\",\n        \"sequence\": \"welcome\",\n        \"slug\": \"welcome_email\",\n        \"subject\": \"Olá Joao, bem-vindo!\",\n        \"body\": \"Seu cadastro foi confirmado. Aproveite seu cashback de R$ 50,00.\",\n        \"destination\": {\n            \"name\": \"Joao Silva\",\n            \"email\": \"joao@email.com\",\n            \"cellphone\": \"+5511999999999\",\n            \"countryCallingCode\": \"55\"\n        }\n    },\n    \"variables\": {\n        \"client\": {\n            \"name\": \"Joao Silva\",\n            \"email\": \"joao@email.com\",\n            \"cellphone\": \"11999999999\"\n        },\n        \"order\": {\n            \"id\": 123,\n            \"total\": 5000,\n            \"date\": \"2026-02-26 14:30:00\"\n        },\n        \"reward\": {\n            \"name\": \"Cashback\",\n            \"value\": 5000\n        },\n        \"organization\": {\n            \"name\": \"Loja XYZ\",\n            \"currency\": \"BRL\",\n            \"language\": \"pt_BR\"\n        }\n    }\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"received\": true }"
                        },
                        {
                            "name": "Permanent client error — Sender will **not** retry.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json`."
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "{{Authorization}}",
                                        "type": "text",
                                        "description": "Set when `data.authMethod` is `bearer` or `basic`. See the table above."
                                    },
                                    {
                                        "key": "X-API-Key",
                                        "value": "{{X-API-Key}}",
                                        "type": "text",
                                        "description": "Set when `data.authMethod` is `apikey`."
                                    },
                                    {
                                        "key": "User-Agent",
                                        "value": "{{User-Agent}}",
                                        "type": "text",
                                        "description": "Identifies the Sender service making the call."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.comhttps://your-server.example.com/your-webhook",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "comhttps"
                                    ],
                                    "path": [
                                        "your-server.example.com",
                                        "your-webhook"
                                    ]
                                },
                                "description": "**Reference only** — this page documents the request that **Sender sends** to the URL you registered\nin [Create external provider](/api-reference/sender/external-provider/setup/create). You do not call\nthis endpoint; you implement it.\n\n## Authentication\n\nThe `Authorization` (or `X-API-Key`) header is built from the `data.authMethod`/`data.authToken` you\nsaved on the provider:\n\n| `authMethod` | Header |\n| --- | --- |\n| `bearer` | `Authorization: Bearer {authToken}` |\n| `basic`  | `Authorization: Basic base64(authUsername:authPassword)` |\n| `apikey` | `X-API-Key: {authToken}` |\n| `none`   | No auth header is sent |\n\n## Expected response\n\n| HTTP status | Sender behaviour |\n| --- | --- |\n| `2xx` | Success — message marked as `done`. |\n| `4xx` | Permanent error — no retry. |\n| `5xx` | Transient error — retried. |\n| Timeout | Transient error — retried. |",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"event\": \"message.send\",\n    \"timestamp\": \"2026-02-26T14:30:00Z\",\n    \"organization\": \"xpto\",\n    \"message\": {\n        \"id\": \"12345\",\n        \"sequence\": \"welcome\",\n        \"slug\": \"welcome_email\",\n        \"subject\": \"Olá Joao, bem-vindo!\",\n        \"body\": \"Seu cadastro foi confirmado. Aproveite seu cashback de R$ 50,00.\",\n        \"destination\": {\n            \"name\": \"Joao Silva\",\n            \"email\": \"joao@email.com\",\n            \"cellphone\": \"+5511999999999\",\n            \"countryCallingCode\": \"55\"\n        }\n    },\n    \"variables\": {\n        \"client\": {\n            \"name\": \"Joao Silva\",\n            \"email\": \"joao@email.com\",\n            \"cellphone\": \"11999999999\"\n        },\n        \"order\": {\n            \"id\": 123,\n            \"total\": 5000,\n            \"date\": \"2026-02-26 14:30:00\"\n        },\n        \"reward\": {\n            \"name\": \"Cashback\",\n            \"value\": 5000\n        },\n        \"organization\": {\n            \"name\": \"Loja XYZ\",\n            \"currency\": \"BRL\",\n            \"language\": \"pt_BR\"\n        }\n    }\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"error\": \"Invalid payload\" }"
                        },
                        {
                            "name": "Server error — Sender will retry according to its backoff policy.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json`."
                                    },
                                    {
                                        "key": "Authorization",
                                        "value": "{{Authorization}}",
                                        "type": "text",
                                        "description": "Set when `data.authMethod` is `bearer` or `basic`. See the table above."
                                    },
                                    {
                                        "key": "X-API-Key",
                                        "value": "{{X-API-Key}}",
                                        "type": "text",
                                        "description": "Set when `data.authMethod` is `apikey`."
                                    },
                                    {
                                        "key": "User-Agent",
                                        "value": "{{User-Agent}}",
                                        "type": "text",
                                        "description": "Identifies the Sender service making the call."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.comhttps://your-server.example.com/your-webhook",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "comhttps"
                                    ],
                                    "path": [
                                        "your-server.example.com",
                                        "your-webhook"
                                    ]
                                },
                                "description": "**Reference only** — this page documents the request that **Sender sends** to the URL you registered\nin [Create external provider](/api-reference/sender/external-provider/setup/create). You do not call\nthis endpoint; you implement it.\n\n## Authentication\n\nThe `Authorization` (or `X-API-Key`) header is built from the `data.authMethod`/`data.authToken` you\nsaved on the provider:\n\n| `authMethod` | Header |\n| --- | --- |\n| `bearer` | `Authorization: Bearer {authToken}` |\n| `basic`  | `Authorization: Basic base64(authUsername:authPassword)` |\n| `apikey` | `X-API-Key: {authToken}` |\n| `none`   | No auth header is sent |\n\n## Expected response\n\n| HTTP status | Sender behaviour |\n| --- | --- |\n| `2xx` | Success — message marked as `done`. |\n| `4xx` | Permanent error — no retry. |\n| `5xx` | Transient error — retried. |\n| Timeout | Transient error — retried. |",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"event\": \"message.send\",\n    \"timestamp\": \"2026-02-26T14:30:00Z\",\n    \"organization\": \"xpto\",\n    \"message\": {\n        \"id\": \"12345\",\n        \"sequence\": \"welcome\",\n        \"slug\": \"welcome_email\",\n        \"subject\": \"Olá Joao, bem-vindo!\",\n        \"body\": \"Seu cadastro foi confirmado. Aproveite seu cashback de R$ 50,00.\",\n        \"destination\": {\n            \"name\": \"Joao Silva\",\n            \"email\": \"joao@email.com\",\n            \"cellphone\": \"+5511999999999\",\n            \"countryCallingCode\": \"55\"\n        }\n    },\n    \"variables\": {\n        \"client\": {\n            \"name\": \"Joao Silva\",\n            \"email\": \"joao@email.com\",\n            \"cellphone\": \"11999999999\"\n        },\n        \"order\": {\n            \"id\": 123,\n            \"total\": 5000,\n            \"date\": \"2026-02-26 14:30:00\"\n        },\n        \"reward\": {\n            \"name\": \"Cashback\",\n            \"value\": 5000\n        },\n        \"organization\": {\n            \"name\": \"Loja XYZ\",\n            \"currency\": \"BRL\",\n            \"language\": \"pt_BR\"\n        }\n    }\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Internal Server Error",
                            "code": 500,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"error\": \"Internal server error\" }"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Message type",
            "item": [
                {
                    "name": "Message type: Find",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/message-type/{{id}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "message-type",
                                "{{id}}"
                            ]
                        },
                        "description": "Returns a single message type by id, including its declared variables and the mockup payload."
                    },
                    "response": [
                        {
                            "name": "Message type with `variables` and `mockupData`",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/message-type/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "message-type",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single message type by id, including its declared variables and the mockup payload."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        },
                        {
                            "name": "Not found",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/message-type/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "message-type",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single message type by id, including its declared variables and the mockup payload."
                            },
                            "status": "Not Found",
                            "code": 404,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Message type: List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/message-type",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "message-type"
                            ]
                        },
                        "description": "Lists every message type registered in the platform. A *message type*\nis a transactional event slug (e.g. `welcome`, `order.confirmed`,\n`password.reset`) plus its declared variables and a mockup payload.\nThe admin uses this to render the variable picker when authoring a\ntemplate."
                    },
                    "response": [
                        {
                            "name": "List of message types",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/message-type",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "message-type"
                                    ]
                                },
                                "description": "Lists every message type registered in the platform. A *message type*\nis a transactional event slug (e.g. `welcome`, `order.confirmed`,\n`password.reset`) plus its declared variables and a mockup payload.\nThe admin uses this to render the variable picker when authoring a\ntemplate."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"list\": [\n        { \"id\": 1, \"slug\": \"order.confirmed\", \"name\": \"Order confirmed\", \"description\": \"Sent after every paid order.\" }\n    ]\n}"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Messages",
            "item": [
                {
                    "name": "Messages: Find",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/messages/{{id}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "messages",
                                "{{id}}"
                            ]
                        },
                        "description": "Returns the full message-process-queue entry plus all dispatchers it spawned."
                    },
                    "response": [
                        {
                            "name": "Message with dispatchers",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/messages/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "messages",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns the full message-process-queue entry plus all dispatchers it spawned."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        },
                        {
                            "name": "Not found",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/messages/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "messages",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns the full message-process-queue entry plus all dispatchers it spawned."
                            },
                            "status": "Not Found",
                            "code": 404,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Messages: List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/messages",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "messages"
                            ]
                        },
                        "description": "Paginated view of `message_process_queue` (admin mode excluded)\nwith a per-row dispatcher summary. Drives the message log screen\nin the admin.\n\nTo find which message started a conversation from a phone number,\nfilter by `cellphone` (exact) and ask for the body with\n`include=rendered_body` — one call returns the recent messages to\nthat number with the rendered text, no detail round-trip and no\ncustomer lookup needed."
                    },
                    "response": [
                        {
                            "name": "Paginated list",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/messages",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "messages"
                                    ]
                                },
                                "description": "Paginated view of `message_process_queue` (admin mode excluded)\nwith a per-row dispatcher summary. Drives the message log screen\nin the admin.\n\nTo find which message started a conversation from a phone number,\nfilter by `cellphone` (exact) and ask for the body with\n`include=rendered_body` — one call returns the recent messages to\nthat number with the rendered text, no detail round-trip and no\ncustomer lookup needed."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Messages: Metrics (raw, by sequence)",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/messages/metrics/{{id}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "messages",
                                "metrics",
                                "{{id}}"
                            ]
                        },
                        "description": "Raw delivery_status counts for a sequence, nested by\n`[slug][providerType][delivery_status]`. The `{id}` is the numeric\n**sequence** id (not a message id).\n\nPrefer **Delivery & Open Rate by Campaign**\n(`/api/sender/report/sequence-delivery/{sequence}`): it accepts the campaign\n`messageSequence` slug, rolls the counts up per channel and returns the\ndelivery and open rates. This raw endpoint stays for the panel."
                    },
                    "response": [
                        {
                            "name": "Metrics roll-up",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/messages/metrics/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "messages",
                                        "metrics",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Raw delivery_status counts for a sequence, nested by\n`[slug][providerType][delivery_status]`. The `{id}` is the numeric\n**sequence** id (not a message id).\n\nPrefer **Delivery & Open Rate by Campaign**\n(`/api/sender/report/sequence-delivery/{sequence}`): it accepts the campaign\n`messageSequence` slug, rolls the counts up per channel and returns the\ndelivery and open rates. This raw endpoint stays for the panel."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Messages: Resend — Private",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/messages/{{id}}/resend",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "messages",
                                "{{id}}",
                                "resend"
                            ]
                        },
                        "description": "Resends selected dispatchers from an existing message process.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"dispatchers\": \"[101, 102]\",\n    \"resentBy\": \"42\",\n    \"recipient\": {\n        \"id\": \"12345\",\n        \"name\": \"John Doe\",\n        \"email\": \"john@example.com\",\n        \"cellphone\": \"19981127262\",\n        \"countryCallingCode\": \"55\"\n    }\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Success",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/messages/{{id}}/resend",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "messages",
                                        "{{id}}",
                                        "resend"
                                    ]
                                },
                                "description": "Resends selected dispatchers from an existing message process.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"dispatchers\": \"[101, 102]\",\n    \"resentBy\": \"42\",\n    \"recipient\": {\n        \"id\": \"12345\",\n        \"name\": \"John Doe\",\n        \"email\": \"john@example.com\",\n        \"cellphone\": \"19981127262\",\n        \"countryCallingCode\": \"55\"\n    }\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"resent\": true,\n    \"processId\": 4986575,\n    \"dispatchers\": 1\n}"
                        },
                        {
                            "name": "No dispatchers selected",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/messages/{{id}}/resend",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "messages",
                                        "{{id}}",
                                        "resend"
                                    ]
                                },
                                "description": "Resends selected dispatchers from an existing message process.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"dispatchers\": \"[101, 102]\",\n    \"resentBy\": \"42\",\n    \"recipient\": {\n        \"id\": \"12345\",\n        \"name\": \"John Doe\",\n        \"email\": \"john@example.com\",\n        \"cellphone\": \"19981127262\",\n        \"countryCallingCode\": \"55\"\n    }\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"error\": \"No dispatchers selected\"\n}"
                        },
                        {
                            "name": "Process not found",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/messages/{{id}}/resend",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "messages",
                                        "{{id}}",
                                        "resend"
                                    ]
                                },
                                "description": "Resends selected dispatchers from an existing message process.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"dispatchers\": \"[101, 102]\",\n    \"resentBy\": \"42\",\n    \"recipient\": {\n        \"id\": \"12345\",\n        \"name\": \"John Doe\",\n        \"email\": \"john@example.com\",\n        \"cellphone\": \"19981127262\",\n        \"countryCallingCode\": \"55\"\n    }\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Not Found",
                            "code": 404,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"error\": \"Process not found\"\n}"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Opt-out",
            "item": [
                {
                    "name": "Opt-out: Count",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference/count",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "opt-preference",
                                "count"
                            ]
                        },
                        "description": "How many opt-out records match the filters. Same filters as\n[List](/docs/{lang}/api-reference/sender/opt-preference/list), without pagination.\n\nCounts **rows, not people**: a customer registered with person + e-mail + phone counts as\nthree. Filter by `target_type=person` for a closer proxy of distinct customers."
                    },
                    "response": [
                        {
                            "name": "Total",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference/count",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "opt-preference",
                                        "count"
                                    ]
                                },
                                "description": "How many opt-out records match the filters. Same filters as\n[List](/docs/{lang}/api-reference/sender/opt-preference/list), without pagination.\n\nCounts **rows, not people**: a customer registered with person + e-mail + phone counts as\nthree. Filter by `target_type=person` for a closer proxy of distinct customers."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"total\": 128 }"
                        }
                    ]
                },
                {
                    "name": "Opt-out: Register",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "opt-preference"
                            ]
                        },
                        "description": "Registers that a customer no longer wants to receive communication. Blocks every\nmessage except the login PIN.\n\nSend **all the identifiers you have** — `person`, `email` and `cellphone`. One row is\nstored per identifier and delivery is blocked when **any** of them matches. That is what\nmakes the opt-out survive a re-registration: if the customer signs up again and gets a new\n`person` id, the e-mail and phone still match. The reverse also holds — if they change\ne-mail inside the same record, the `person` target still matches.\n\nThe opt-out is scoped to the organization in the subdomain: the same e-mail can be blocked\nin one organization and keep receiving in another. It never applies across organizations.\n\nIdempotent: registering the same identifier again updates the row instead of duplicating\nit, and appends an entry to the audit trail either way.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"person\": 184532,\n    \"email\": \"cliente@exemplo.com\",\n    \"cellphone\": \"5512345678\",\n    \"countryCallingCode\": \"52\",\n    \"provider\": \"<provider>\",\n    \"scope\": \"<scope>\",\n    \"source\": \"<source>\",\n    \"actor\": \"maria@lojista.com\",\n    \"detail\": \"pediu por telefone no SAC\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Registered — one target per identifier sent",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "opt-preference"
                                    ]
                                },
                                "description": "Registers that a customer no longer wants to receive communication. Blocks every\nmessage except the login PIN.\n\nSend **all the identifiers you have** — `person`, `email` and `cellphone`. One row is\nstored per identifier and delivery is blocked when **any** of them matches. That is what\nmakes the opt-out survive a re-registration: if the customer signs up again and gets a new\n`person` id, the e-mail and phone still match. The reverse also holds — if they change\ne-mail inside the same record, the `person` target still matches.\n\nThe opt-out is scoped to the organization in the subdomain: the same e-mail can be blocked\nin one organization and keep receiving in another. It never applies across organizations.\n\nIdempotent: registering the same identifier again updates the row instead of duplicating\nit, and appends an entry to the audit trail either way.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"person\": 184532,\n    \"email\": \"cliente@exemplo.com\",\n    \"cellphone\": \"5512345678\",\n    \"countryCallingCode\": \"52\",\n    \"provider\": \"<provider>\",\n    \"scope\": \"<scope>\",\n    \"source\": \"<source>\",\n    \"actor\": \"maria@lojista.com\",\n    \"detail\": \"pediu por telefone no SAC\"\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"type\": \"optout\",\n  \"provider\": \"all\",\n  \"scope\": \"all\",\n  \"targets\": [\n    { \"target_type\": \"person\", \"target\": \"184532\" },\n    { \"target_type\": \"email\",  \"target\": \"cliente@exemplo.com\" },\n    { \"target_type\": \"phone\",  \"target\": \"525512345678\" }\n  ]\n}"
                        },
                        {
                            "name": "No identifier, phone without country code, or invalid provider/scope/source",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "opt-preference"
                                    ]
                                },
                                "description": "Registers that a customer no longer wants to receive communication. Blocks every\nmessage except the login PIN.\n\nSend **all the identifiers you have** — `person`, `email` and `cellphone`. One row is\nstored per identifier and delivery is blocked when **any** of them matches. That is what\nmakes the opt-out survive a re-registration: if the customer signs up again and gets a new\n`person` id, the e-mail and phone still match. The reverse also holds — if they change\ne-mail inside the same record, the `person` target still matches.\n\nThe opt-out is scoped to the organization in the subdomain: the same e-mail can be blocked\nin one organization and keep receiving in another. It never applies across organizations.\n\nIdempotent: registering the same identifier again updates the row instead of duplicating\nit, and appends an entry to the audit trail either way.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"person\": 184532,\n    \"email\": \"cliente@exemplo.com\",\n    \"cellphone\": \"5512345678\",\n    \"countryCallingCode\": \"52\",\n    \"provider\": \"<provider>\",\n    \"scope\": \"<scope>\",\n    \"source\": \"<source>\",\n    \"actor\": \"maria@lojista.com\",\n    \"detail\": \"pediu por telefone no SAC\"\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Unprocessable Entity",
                            "code": 422,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"error\": true, \"message\": \"countryCallingCode e obrigatorio junto com cellphone\" }"
                        }
                    ]
                },
                {
                    "name": "Opt-out: Revoke",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "opt-preference"
                            ]
                        },
                        "description": "Puts a customer back on the list — they start receiving again.\n\nRevokes **only the identifiers you send**. If the opt-out was registered with e-mail and\nphone and you send just the e-mail, the phone stays blocked. That is deliberate: partial\nrevocation should never be a side effect.\n\nThe current state is deleted, but the audit trail is not. The revocation is appended to it,\nso the history of what the customer asked for is never lost.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"person\": 184532,\n    \"email\": \"cliente@exemplo.com\",\n    \"cellphone\": \"5512345678\",\n    \"countryCallingCode\": \"52\",\n    \"provider\": \"<provider>\",\n    \"scope\": \"<scope>\",\n    \"source\": \"<source>\",\n    \"actor\": \"<actor>\",\n    \"detail\": \"<detail>\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Revoked. `removed` is how many state rows were actually deleted — `0` means there was no opt-out for those targets.",
                            "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "opt-preference"
                                    ]
                                },
                                "description": "Puts a customer back on the list — they start receiving again.\n\nRevokes **only the identifiers you send**. If the opt-out was registered with e-mail and\nphone and you send just the e-mail, the phone stays blocked. That is deliberate: partial\nrevocation should never be a side effect.\n\nThe current state is deleted, but the audit trail is not. The revocation is appended to it,\nso the history of what the customer asked for is never lost.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"person\": 184532,\n    \"email\": \"cliente@exemplo.com\",\n    \"cellphone\": \"5512345678\",\n    \"countryCallingCode\": \"52\",\n    \"provider\": \"<provider>\",\n    \"scope\": \"<scope>\",\n    \"source\": \"<source>\",\n    \"actor\": \"<actor>\",\n    \"detail\": \"<detail>\"\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"type\": \"optin\",\n  \"targets\": [\n    { \"target_type\": \"person\", \"target\": \"184532\" },\n    { \"target_type\": \"email\",  \"target\": \"cliente@exemplo.com\" }\n  ],\n  \"removed\": 2\n}"
                        },
                        {
                            "name": "No identifier, phone without country code, or invalid provider/scope/source",
                            "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "opt-preference"
                                    ]
                                },
                                "description": "Puts a customer back on the list — they start receiving again.\n\nRevokes **only the identifiers you send**. If the opt-out was registered with e-mail and\nphone and you send just the e-mail, the phone stays blocked. That is deliberate: partial\nrevocation should never be a side effect.\n\nThe current state is deleted, but the audit trail is not. The revocation is appended to it,\nso the history of what the customer asked for is never lost.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"person\": 184532,\n    \"email\": \"cliente@exemplo.com\",\n    \"cellphone\": \"5512345678\",\n    \"countryCallingCode\": \"52\",\n    \"provider\": \"<provider>\",\n    \"scope\": \"<scope>\",\n    \"source\": \"<source>\",\n    \"actor\": \"<actor>\",\n    \"detail\": \"<detail>\"\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Unprocessable Entity",
                            "code": 422,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Opt-out: History",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference/history",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "opt-preference",
                                "history"
                            ]
                        },
                        "description": "Append-only trail of everything ever registered or revoked for a customer, newest first.\n\nSeparate from the current state on purpose: the state row is overwritten on every change,\nwhile this is never rewritten or deleted. It is what proves *who* asked to stop, *when* and\n*through which channel* — including opt-outs that were later revoked and no longer appear\nin [Check](/docs/{lang}/api-reference/sender/opt-preference/lookup)."
                    },
                    "response": [
                        {
                            "name": "Trail, newest first",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference/history",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "opt-preference",
                                        "history"
                                    ]
                                },
                                "description": "Append-only trail of everything ever registered or revoked for a customer, newest first.\n\nSeparate from the current state on purpose: the state row is overwritten on every change,\nwhile this is never rewritten or deleted. It is what proves *who* asked to stop, *when* and\n*through which channel* — including opt-outs that were later revoked and no longer appear\nin [Check](/docs/{lang}/api-reference/sender/opt-preference/lookup)."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"targets\": [\n    { \"target_type\": \"email\", \"target\": \"cliente@exemplo.com\" }\n  ],\n  \"history\": [\n    {\n      \"target_type\": \"email\", \"target\": \"cliente@exemplo.com\",\n      \"provider\": \"all\", \"scope\": \"all\", \"type\": \"optin\",\n      \"source\": \"admin\", \"actor\": \"maria@lojista.com\", \"person\": 184532,\n      \"detail\": \"voltou atras\", \"createdAt\": \"2026-09-02 15:40:11\"\n    },\n    {\n      \"target_type\": \"email\", \"target\": \"cliente@exemplo.com\",\n      \"provider\": \"all\", \"scope\": \"all\", \"type\": \"optout\",\n      \"source\": \"admin\", \"actor\": \"maria@lojista.com\", \"person\": 184532,\n      \"detail\": \"pediu por telefone no SAC\", \"createdAt\": \"2026-09-02 10:14:03\"\n    }\n  ]\n}"
                        },
                        {
                            "name": "No identifier provided",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference/history",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "opt-preference",
                                        "history"
                                    ]
                                },
                                "description": "Append-only trail of everything ever registered or revoked for a customer, newest first.\n\nSeparate from the current state on purpose: the state row is overwritten on every change,\nwhile this is never rewritten or deleted. It is what proves *who* asked to stop, *when* and\n*through which channel* — including opt-outs that were later revoked and no longer appear\nin [Check](/docs/{lang}/api-reference/sender/opt-preference/lookup)."
                            },
                            "status": "Unprocessable Entity",
                            "code": 422,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Opt-out: List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "opt-preference"
                            ]
                        },
                        "description": "Paginated list of the opt-out records of the organization, newest first.\n\nOne row per identifier, so a customer registered with person + e-mail + phone appears as\nthree rows. To ask about one specific customer, use\n[Check](/docs/{lang}/api-reference/sender/opt-preference/lookup) instead."
                    },
                    "response": [
                        {
                            "name": "List of records",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "opt-preference"
                                    ]
                                },
                                "description": "Paginated list of the opt-out records of the organization, newest first.\n\nOne row per identifier, so a customer registered with person + e-mail + phone appears as\nthree rows. To ask about one specific customer, use\n[Check](/docs/{lang}/api-reference/sender/opt-preference/lookup) instead."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "[\n  {\n    \"id\": 41,\n    \"organization\": \"acme\",\n    \"target_type\": \"email\",\n    \"target\": \"cliente@exemplo.com\",\n    \"provider\": \"all\",\n    \"scope\": \"all\",\n    \"type\": \"optout\",\n    \"source\": \"admin\",\n    \"actor\": \"maria@lojista.com\",\n    \"detail\": \"pediu por telefone no SAC\",\n    \"person\": 184532,\n    \"createdAt\": \"2026-09-02 10:14:03\",\n    \"updatedAt\": \"2026-09-02 10:14:03\"\n  }\n]"
                        }
                    ]
                },
                {
                    "name": "Opt-out: Check",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference/lookup",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "opt-preference",
                                "lookup"
                            ]
                        },
                        "description": "Answers the question support actually asks: **would a message to this customer be\nblocked?**\n\nPass any combination of identifiers. The check uses the same matching the delivery path\nuses, so `optedOut` is what will really happen — not an approximation. `matchedBy` says\n*which* identifier caused it, which matters: blocked by e-mail and blocked by person lead\nto different conversations.\n\nScoped to the organization in the subdomain."
                    },
                    "response": [
                        {
                            "name": "Current state. `optedOut` is the verdict; `preferences` lists every stored row for those identifiers.",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference/lookup",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "opt-preference",
                                        "lookup"
                                    ]
                                },
                                "description": "Answers the question support actually asks: **would a message to this customer be\nblocked?**\n\nPass any combination of identifiers. The check uses the same matching the delivery path\nuses, so `optedOut` is what will really happen — not an approximation. `matchedBy` says\n*which* identifier caused it, which matters: blocked by e-mail and blocked by person lead\nto different conversations.\n\nScoped to the organization in the subdomain."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"targets\": [\n    { \"target_type\": \"person\", \"target\": \"184532\" },\n    { \"target_type\": \"email\",  \"target\": \"cliente@exemplo.com\" }\n  ],\n  \"optedOut\": true,\n  \"matchedBy\": {\n    \"target_type\": \"email\",\n    \"target\": \"cliente@exemplo.com\",\n    \"provider\": \"all\",\n    \"scope\": \"all\",\n    \"source\": \"admin\",\n    \"createdAt\": \"2026-09-02 10:14:03\"\n  },\n  \"preferences\": [\n    {\n      \"target_type\": \"email\", \"target\": \"cliente@exemplo.com\",\n      \"provider\": \"all\", \"scope\": \"all\", \"type\": \"optout\",\n      \"source\": \"admin\", \"actor\": \"maria@lojista.com\", \"person\": 184532,\n      \"detail\": \"pediu por telefone no SAC\",\n      \"createdAt\": \"2026-09-02 10:14:03\", \"updatedAt\": \"2026-09-02 10:14:03\"\n    }\n  ]\n}"
                        },
                        {
                            "name": "No identifier provided",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/opt-preference/lookup",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "opt-preference",
                                        "lookup"
                                    ]
                                },
                                "description": "Answers the question support actually asks: **would a message to this customer be\nblocked?**\n\nPass any combination of identifiers. The check uses the same matching the delivery path\nuses, so `optedOut` is what will really happen — not an approximation. `matchedBy` says\n*which* identifier caused it, which matters: blocked by e-mail and blocked by person lead\nto different conversations.\n\nScoped to the organization in the subdomain."
                            },
                            "status": "Unprocessable Entity",
                            "code": 422,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"error\": true, \"message\": \"Informe person, email ou cellphone\" }"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Ping",
            "request": {
                "method": "GET",
                "header": [
                    {
                        "key": "x-guper-authorization",
                        "value": "{{x-guper-authorization}}",
                        "type": "text",
                        "description": "User token issued by Guper."
                    },
                    {
                        "key": "Content-Type",
                        "value": "{{Content-Type}}",
                        "type": "text",
                        "description": "Always `application/json` for endpoints that accept a JSON body."
                    }
                ],
                "url": {
                    "raw": "https://{{organization}}.myguper.com/api/sender/ping",
                    "protocol": "https",
                    "host": [
                        "{{organization}}",
                        "myguper",
                        "com"
                    ],
                    "path": [
                        "api",
                        "sender",
                        "ping"
                    ]
                },
                "description": "Resource for checking service availability"
            },
            "response": [
                {
                    "name": "Success",
                    "originalRequest": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/ping",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "ping"
                            ]
                        },
                        "description": "Resource for checking service availability"
                    },
                    "status": "OK",
                    "code": 200,
                    "_postman_previewlanguage": "json",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "body": ""
                }
            ]
        },
        {
            "name": "Provider type",
            "item": [
                {
                    "name": "Provider type: Create",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/provider-type",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "provider-type"
                            ]
                        },
                        "description": "Registers a new provider type. Internal — usually shipped via migration.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"slug\": \"sms\",\n    \"name\": \"SMS\",\n    \"order\": 2\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-type",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-type"
                                    ]
                                },
                                "description": "Registers a new provider type. Internal — usually shipped via migration.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"slug\": \"sms\",\n    \"name\": \"SMS\",\n    \"order\": 2\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"ok\": true }"
                        }
                    ]
                },
                {
                    "name": "Provider type: Delete",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/provider-type",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "provider-type"
                            ]
                        },
                        "description": "Removes a provider type. Provider Settings already linked to it become unusable.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 2\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-type",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-type"
                                    ]
                                },
                                "description": "Removes a provider type. Provider Settings already linked to it become unusable.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 2\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"ok\": true }"
                        }
                    ]
                },
                {
                    "name": "Provider type: Find",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/provider-type/{{id}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "provider-type",
                                "{{id}}"
                            ]
                        },
                        "description": "Returns a single provider type by id."
                    },
                    "response": [
                        {
                            "name": "Provider type",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-type/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-type",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single provider type by id."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"id\": 2, \"slug\": \"sms\", \"name\": \"SMS\", \"order\": 2 }"
                        },
                        {
                            "name": "Not found",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-type/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-type",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single provider type by id."
                            },
                            "status": "Not Found",
                            "code": 404,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Provider type: List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/provider-type",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "provider-type"
                            ]
                        },
                        "description": "Lists every provider type configured in the platform (`sms`, `email`, `whatsapp`, etc.). Drives the channel picker in the admin."
                    },
                    "response": [
                        {
                            "name": "List of provider types",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-type",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-type"
                                    ]
                                },
                                "description": "Lists every provider type configured in the platform (`sms`, `email`, `whatsapp`, etc.). Drives the channel picker in the admin."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"list\": [\n        { \"id\": 1, \"slug\": \"email\",    \"name\": \"E-mail\",   \"order\": 1 },\n        { \"id\": 2, \"slug\": \"sms\",      \"name\": \"SMS\",      \"order\": 2 },\n        { \"id\": 3, \"slug\": \"whatsapp\", \"name\": \"WhatsApp\", \"order\": 3 }\n    ]\n}"
                        }
                    ]
                },
                {
                    "name": "Provider type: Update",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/provider-type",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "provider-type"
                            ]
                        },
                        "description": "Updates an existing provider type's name or order.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 2,\n    \"slug\": \"sms\",\n    \"name\": \"SMS\",\n    \"order\": 2\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-type",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-type"
                                    ]
                                },
                                "description": "Updates an existing provider type's name or order.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 2,\n    \"slug\": \"sms\",\n    \"name\": \"SMS\",\n    \"order\": 2\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"ok\": true }"
                        }
                    ]
                }
            ]
        },
        {
            "name": "ProviderSettings",
            "item": [
                {
                    "name": "Create Provider Setting",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/provider-settings",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "provider-settings"
                            ]
                        },
                        "description": "Stores the credentials/settings of a messaging provider (SMTP, Twilio SMS/WhatsApp, etc.) for the\norganization. The `provider` field is the numeric id of an entry in `provider_source` and the\n`data` block is provider-specific (see examples).\n\nFor webhook-based external providers use the dedicated\n[External provider · Create](/api-reference/sender/external-provider/setup/create) endpoint instead.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"provider\": 3,\n    \"data\": {\n        \"host\": \"smtp.example.com\",\n        \"port\": \"465\",\n        \"username\": \"sender@example.com\",\n        \"password\": \"********\",\n        \"encryption\": \"ssl\",\n        \"fromEmail\": \"no-reply@example.com\",\n        \"fromName\": \"Loja XYZ\"\n    }\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Provider setting created.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-settings",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-settings"
                                    ]
                                },
                                "description": "Stores the credentials/settings of a messaging provider (SMTP, Twilio SMS/WhatsApp, etc.) for the\norganization. The `provider` field is the numeric id of an entry in `provider_source` and the\n`data` block is provider-specific (see examples).\n\nFor webhook-based external providers use the dedicated\n[External provider · Create](/api-reference/sender/external-provider/setup/create) endpoint instead.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"provider\": 3,\n    \"data\": {\n        \"host\": \"smtp.example.com\",\n        \"port\": \"465\",\n        \"username\": \"sender@example.com\",\n        \"password\": \"********\",\n        \"encryption\": \"ssl\",\n        \"fromEmail\": \"no-reply@example.com\",\n        \"fromName\": \"Loja XYZ\"\n    }\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"id\": 12,\n    \"provider\": 3,\n    \"data\": {\n        \"host\": \"smtp.example.com\",\n        \"port\": \"465\",\n        \"username\": \"sender@example.com\",\n        \"encryption\": \"ssl\",\n        \"fromEmail\": \"no-reply@example.com\",\n        \"fromName\": \"Loja XYZ\"\n    }\n}"
                        }
                    ]
                },
                {
                    "name": "Delete Provider Setting",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/provider-settings",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "provider-settings"
                            ]
                        },
                        "description": "Removes a provider settings entry from the organization. Templates that pointed to this entry will\nfall back to the default of the corresponding provider type — if no default exists, the dispatcher\nwill fail to send.",
                        "body": {
                            "mode": "raw",
                            "raw": "{ \"id\": 12 }",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Provider setting deleted.",
                            "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-settings",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-settings"
                                    ]
                                },
                                "description": "Removes a provider settings entry from the organization. Templates that pointed to this entry will\nfall back to the default of the corresponding provider type — if no default exists, the dispatcher\nwill fail to send.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{ \"id\": 12 }",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"id\": 12, \"deleted\": true }"
                        }
                    ]
                },
                {
                    "name": "Find",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/provider-settings/{{id}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "provider-settings",
                                "{{id}}"
                            ]
                        },
                        "description": "Returns a single provider setting by ID."
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-settings/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-settings",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single provider setting by ID."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"id\": 3,\n    \"provider\": \"twilio\",\n    \"channels\": [\"sms\", \"whatsapp\"],\n    \"active\": true\n}"
                        }
                    ]
                },
                {
                    "name": "List Provider Settings",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/provider-settings",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "provider-settings"
                            ]
                        },
                        "description": "Returns a paginated list of provider settings."
                    },
                    "response": [
                        {
                            "name": "Success",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-settings",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-settings"
                                    ]
                                },
                                "description": "Returns a paginated list of provider settings."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Update Provider Setting",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/provider-settings",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "provider-settings"
                            ]
                        },
                        "description": "Updates an existing provider settings entry. The `id` is required; the remaining fields are\noptional and only the ones present in the body are written.\n\nWhen `default: true` is sent, every other entry of the same provider **type** in the organization\nis automatically un-defaulted, so there is at most one default per type.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 12,\n    \"default\": true,\n    \"data\": {\n        \"host\": \"smtp2.example.com\",\n        \"port\": \"587\",\n        \"username\": \"sender@example.com\",\n        \"password\": \"********\",\n        \"encryption\": \"tls\"\n    }\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Provider setting updated.",
                            "originalRequest": {
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/provider-settings",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "provider-settings"
                                    ]
                                },
                                "description": "Updates an existing provider settings entry. The `id` is required; the remaining fields are\noptional and only the ones present in the body are written.\n\nWhen `default: true` is sent, every other entry of the same provider **type** in the organization\nis automatically un-defaulted, so there is at most one default per type.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 12,\n    \"default\": true,\n    \"data\": {\n        \"host\": \"smtp2.example.com\",\n        \"port\": \"587\",\n        \"username\": \"sender@example.com\",\n        \"password\": \"********\",\n        \"encryption\": \"tls\"\n    }\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"id\": 12, \"updated\": true }"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Pulse",
            "item": [
                {
                    "name": "Pulse: Sample",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/pulse/sample",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "pulse",
                                "sample"
                            ]
                        },
                        "description": "Returns per-minute counts of `message.sent` and `message.failed`\ngrouped by organization, sampled from `message_dispatcher_queue`.\nInternal observability endpoint consumed by the Guper Dashboards\nservice.\n\nAuth: origin signature only."
                    },
                    "response": [
                        {
                            "name": "Counts",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/pulse/sample",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "pulse",
                                        "sample"
                                    ]
                                },
                                "description": "Returns per-minute counts of `message.sent` and `message.failed`\ngrouped by organization, sampled from `message_dispatcher_queue`.\nInternal observability endpoint consumed by the Guper Dashboards\nservice.\n\nAuth: origin signature only."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"service\": \"sender\",\n    \"minute\":  \"2026-05-08 11:59:00\",\n    \"metrics\": [\n        { \"metric\": \"message.sent\",   \"organization\": \"acme\", \"value\": 142 },\n        { \"metric\": \"message.failed\", \"organization\": \"acme\", \"value\": 3 }\n    ]\n}"
                        },
                        {
                            "name": "invalid minute (use Y-m-d H:i)",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/pulse/sample",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "pulse",
                                        "sample"
                                    ]
                                },
                                "description": "Returns per-minute counts of `message.sent` and `message.failed`\ngrouped by organization, sampled from `message_dispatcher_queue`.\nInternal observability endpoint consumed by the Guper Dashboards\nservice.\n\nAuth: origin signature only."
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Queue",
            "item": [
                {
                    "name": "Find",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/queue/{{id}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "queue",
                                "{{id}}"
                            ]
                        },
                        "description": "Returns a single queue entry by ID — useful to inspect the status of an outgoing message."
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/queue/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "queue",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single queue entry by ID — useful to inspect the status of an outgoing message."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"id\": 9876,\n    \"to\": \"+5519954264546\",\n    \"channel\": \"whatsapp\",\n    \"template\": \"order-confirmation\",\n    \"status\": \"sent\",\n    \"queuedAt\": \"2026-05-01T11:00:00-03:00\",\n    \"sentAt\": \"2026-05-01T11:00:03-03:00\"\n}"
                        }
                    ]
                },
                {
                    "name": "List Send Queue",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/queue",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "queue"
                            ]
                        },
                        "description": "Returns a paginated list of queue entries."
                    },
                    "response": [
                        {
                            "name": "Success",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/queue",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "queue"
                                    ]
                                },
                                "description": "Returns a paginated list of queue entries."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Reports",
            "item": [
                {
                    "name": "Delivery & Open Rate by Period",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/report/delivery/{{start}}/{{end}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "report",
                                "delivery",
                                "{{start}}",
                                "{{end}}"
                            ]
                        },
                        "description": "Aggregated delivery and open/read stats over a **date window** — for the whole\norganization or for a list of campaigns. It is the period version of\n*Delivery & Open Rate by Campaign*: same numbers, same reading, but answering\n\"how did our messaging do in September\" instead of \"how did this campaign do\".\n\n`start` and `end` are `YYYY-MM-DD` and **both inclusive**. The window runs on\n`insertedAt` — when the message entered the queue, which is what ties it to the\ncampaign that fired it, not when the provider answered.\n\nPer channel and in total it returns `opened`, `delivered`, `accepted`,\n`failed`, `queued`, `unconfirmed`, `attempted`, `sent`, plus `deliveryRate`\n(delivered / attempted) and `openRate` (opened / delivered).\n\nTwo things worth knowing before you read the rates:\n\n- **`delivered` already includes what was opened.** `delivery_status` keeps the\n  most advanced state reached, so the counts are disjoint: a message that was\n  read is in `read`, not in `delivered`. This endpoint rolls it up for you —\n  `delivered` here means delivered *or better*. Adding up the raw statuses\n  yourself halves the rate.\n- **A provider that never confirms delivery stops at `sent`.** That is not\n  \"undelivered\", it is delivery without confirmation, so it goes to\n  `unconfirmed` and stays **out of `attempted` and out of both rates**. Today\n  only WhatsApp and email confirm delivery by webhook. `sent` is the grand\n  total that left the queue: `attempted + unconfirmed`.\n\nWith `groupBy=sequence` you also get `bySequence`, one row per campaign sorted\nby volume, each with the same totals plus its own `byChannel`. Messages sent\noutside a campaign (direct/hub dispatches) come back as a row with\n`sequence: null`.\n\nNote: the count is **per sequence**. Two campaigns that share the same\n`messageSequence` add up here."
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/report/delivery/{{start}}/{{end}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "report",
                                        "delivery",
                                        "{{start}}",
                                        "{{end}}"
                                    ]
                                },
                                "description": "Aggregated delivery and open/read stats over a **date window** — for the whole\norganization or for a list of campaigns. It is the period version of\n*Delivery & Open Rate by Campaign*: same numbers, same reading, but answering\n\"how did our messaging do in September\" instead of \"how did this campaign do\".\n\n`start` and `end` are `YYYY-MM-DD` and **both inclusive**. The window runs on\n`insertedAt` — when the message entered the queue, which is what ties it to the\ncampaign that fired it, not when the provider answered.\n\nPer channel and in total it returns `opened`, `delivered`, `accepted`,\n`failed`, `queued`, `unconfirmed`, `attempted`, `sent`, plus `deliveryRate`\n(delivered / attempted) and `openRate` (opened / delivered).\n\nTwo things worth knowing before you read the rates:\n\n- **`delivered` already includes what was opened.** `delivery_status` keeps the\n  most advanced state reached, so the counts are disjoint: a message that was\n  read is in `read`, not in `delivered`. This endpoint rolls it up for you —\n  `delivered` here means delivered *or better*. Adding up the raw statuses\n  yourself halves the rate.\n- **A provider that never confirms delivery stops at `sent`.** That is not\n  \"undelivered\", it is delivery without confirmation, so it goes to\n  `unconfirmed` and stays **out of `attempted` and out of both rates**. Today\n  only WhatsApp and email confirm delivery by webhook. `sent` is the grand\n  total that left the queue: `attempted + unconfirmed`.\n\nWith `groupBy=sequence` you also get `bySequence`, one row per campaign sorted\nby volume, each with the same totals plus its own `byChannel`. Messages sent\noutside a campaign (direct/hub dispatches) come back as a row with\n`sequence: null`.\n\nNote: the count is **per sequence**. Two campaigns that share the same\n`messageSequence` add up here."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        },
                        {
                            "name": "Malformed dates, `end` before `start`, window over 366 days, or invalid `tz`.",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/report/delivery/{{start}}/{{end}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "report",
                                        "delivery",
                                        "{{start}}",
                                        "{{end}}"
                                    ]
                                },
                                "description": "Aggregated delivery and open/read stats over a **date window** — for the whole\norganization or for a list of campaigns. It is the period version of\n*Delivery & Open Rate by Campaign*: same numbers, same reading, but answering\n\"how did our messaging do in September\" instead of \"how did this campaign do\".\n\n`start` and `end` are `YYYY-MM-DD` and **both inclusive**. The window runs on\n`insertedAt` — when the message entered the queue, which is what ties it to the\ncampaign that fired it, not when the provider answered.\n\nPer channel and in total it returns `opened`, `delivered`, `accepted`,\n`failed`, `queued`, `unconfirmed`, `attempted`, `sent`, plus `deliveryRate`\n(delivered / attempted) and `openRate` (opened / delivered).\n\nTwo things worth knowing before you read the rates:\n\n- **`delivered` already includes what was opened.** `delivery_status` keeps the\n  most advanced state reached, so the counts are disjoint: a message that was\n  read is in `read`, not in `delivered`. This endpoint rolls it up for you —\n  `delivered` here means delivered *or better*. Adding up the raw statuses\n  yourself halves the rate.\n- **A provider that never confirms delivery stops at `sent`.** That is not\n  \"undelivered\", it is delivery without confirmation, so it goes to\n  `unconfirmed` and stays **out of `attempted` and out of both rates**. Today\n  only WhatsApp and email confirm delivery by webhook. `sent` is the grand\n  total that left the queue: `attempted + unconfirmed`.\n\nWith `groupBy=sequence` you also get `bySequence`, one row per campaign sorted\nby volume, each with the same totals plus its own `byChannel`. Messages sent\noutside a campaign (direct/hub dispatches) come back as a row with\n`sequence: null`.\n\nNote: the count is **per sequence**. Two campaigns that share the same\n`messageSequence` add up here."
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        },
                        {
                            "name": "None of the sequences passed in `sequence` exist for this organization.",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/report/delivery/{{start}}/{{end}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "report",
                                        "delivery",
                                        "{{start}}",
                                        "{{end}}"
                                    ]
                                },
                                "description": "Aggregated delivery and open/read stats over a **date window** — for the whole\norganization or for a list of campaigns. It is the period version of\n*Delivery & Open Rate by Campaign*: same numbers, same reading, but answering\n\"how did our messaging do in September\" instead of \"how did this campaign do\".\n\n`start` and `end` are `YYYY-MM-DD` and **both inclusive**. The window runs on\n`insertedAt` — when the message entered the queue, which is what ties it to the\ncampaign that fired it, not when the provider answered.\n\nPer channel and in total it returns `opened`, `delivered`, `accepted`,\n`failed`, `queued`, `unconfirmed`, `attempted`, `sent`, plus `deliveryRate`\n(delivered / attempted) and `openRate` (opened / delivered).\n\nTwo things worth knowing before you read the rates:\n\n- **`delivered` already includes what was opened.** `delivery_status` keeps the\n  most advanced state reached, so the counts are disjoint: a message that was\n  read is in `read`, not in `delivered`. This endpoint rolls it up for you —\n  `delivered` here means delivered *or better*. Adding up the raw statuses\n  yourself halves the rate.\n- **A provider that never confirms delivery stops at `sent`.** That is not\n  \"undelivered\", it is delivery without confirmation, so it goes to\n  `unconfirmed` and stays **out of `attempted` and out of both rates**. Today\n  only WhatsApp and email confirm delivery by webhook. `sent` is the grand\n  total that left the queue: `attempted + unconfirmed`.\n\nWith `groupBy=sequence` you also get `bySequence`, one row per campaign sorted\nby volume, each with the same totals plus its own `byChannel`. Messages sent\noutside a campaign (direct/hub dispatches) come back as a row with\n`sequence: null`.\n\nNote: the count is **per sequence**. Two campaigns that share the same\n`messageSequence` add up here."
                            },
                            "status": "Not Found",
                            "code": 404,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Delivery & Open Rate by Campaign",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/report/sequence-delivery/{{sequence}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "report",
                                "sequence-delivery",
                                "{{sequence}}"
                            ]
                        },
                        "description": "Aggregated delivery and open/read stats for one message sequence — the answer\nto \"what was the open rate of this campaign\", \"how many were delivered vs\nfailed\", per channel and total.\n\nKey it by the **`messageSequence`** a loyalty campaign carries (the slug, e.g.\n`e4dc1e58-lojas-expirados-whats`) or the numeric sequence id. It resolves the\nslug for you.\n\nPer channel and in total it returns `opened`, `delivered`, `accepted`,\n`failed`, `attempted`, plus `deliveryRate` (delivered / attempted) and\n`openRate` (opened / delivered). `opened` means the email was opened (Mailgun)\nor the WhatsApp was read.\n\nA provider that never confirms delivery stops at `sent`. That is not\n\"undelivered\", it is delivery without confirmation, so it goes to\n`unconfirmed` and stays out of `attempted` and out of both rates. Today only\nWhatsApp and email confirm delivery by webhook.\n\nNote: the count is **per sequence**. Two campaigns that share the same\n`messageSequence` add up here — see the campaign's Audience Progress caveat."
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/report/sequence-delivery/{{sequence}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "report",
                                        "sequence-delivery",
                                        "{{sequence}}"
                                    ]
                                },
                                "description": "Aggregated delivery and open/read stats for one message sequence — the answer\nto \"what was the open rate of this campaign\", \"how many were delivered vs\nfailed\", per channel and total.\n\nKey it by the **`messageSequence`** a loyalty campaign carries (the slug, e.g.\n`e4dc1e58-lojas-expirados-whats`) or the numeric sequence id. It resolves the\nslug for you.\n\nPer channel and in total it returns `opened`, `delivered`, `accepted`,\n`failed`, `attempted`, plus `deliveryRate` (delivered / attempted) and\n`openRate` (opened / delivered). `opened` means the email was opened (Mailgun)\nor the WhatsApp was read.\n\nA provider that never confirms delivery stops at `sent`. That is not\n\"undelivered\", it is delivery without confirmation, so it goes to\n`unconfirmed` and stays out of `attempted` and out of both rates. Today only\nWhatsApp and email confirm delivery by webhook.\n\nNote: the count is **per sequence**. Two campaigns that share the same\n`messageSequence` add up here — see the campaign's Audience Progress caveat."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        },
                        {
                            "name": "Sequence not found for this organization.",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/report/sequence-delivery/{{sequence}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "report",
                                        "sequence-delivery",
                                        "{{sequence}}"
                                    ]
                                },
                                "description": "Aggregated delivery and open/read stats for one message sequence — the answer\nto \"what was the open rate of this campaign\", \"how many were delivered vs\nfailed\", per channel and total.\n\nKey it by the **`messageSequence`** a loyalty campaign carries (the slug, e.g.\n`e4dc1e58-lojas-expirados-whats`) or the numeric sequence id. It resolves the\nslug for you.\n\nPer channel and in total it returns `opened`, `delivered`, `accepted`,\n`failed`, `attempted`, plus `deliveryRate` (delivered / attempted) and\n`openRate` (opened / delivered). `opened` means the email was opened (Mailgun)\nor the WhatsApp was read.\n\nA provider that never confirms delivery stops at `sent`. That is not\n\"undelivered\", it is delivery without confirmation, so it goes to\n`unconfirmed` and stays out of `attempted` and out of both rates. Today only\nWhatsApp and email confirm delivery by webhook.\n\nNote: the count is **per sequence**. Two campaigns that share the same\n`messageSequence` add up here — see the campaign's Audience Progress caveat."
                            },
                            "status": "Not Found",
                            "code": 404,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Sequence",
            "item": [
                {
                    "name": "Sequence: Create",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "sequence"
                            ]
                        },
                        "description": "Creates a new sequence with a stable slug and a display name.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"slug\": \"welcome-flow\",\n    \"name\": \"Welcome flow\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence"
                                    ]
                                },
                                "description": "Creates a new sequence with a stable slug and a display name.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"slug\": \"welcome-flow\",\n    \"name\": \"Welcome flow\"\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"ok\": true }"
                        }
                    ]
                },
                {
                    "name": "Sequence: Delete",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "sequence"
                            ]
                        },
                        "description": "Removes a sequence. Templates remain registered but lose this sequence binding.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 12\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence"
                                    ]
                                },
                                "description": "Removes a sequence. Templates remain registered but lose this sequence binding.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 12\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"ok\": true }"
                        }
                    ]
                },
                {
                    "name": "Sequence: Find",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "sequence",
                                "{{id}}"
                            ]
                        },
                        "description": "Returns a single sequence by id."
                    },
                    "response": [
                        {
                            "name": "Sequence",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single sequence by id."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        },
                        {
                            "name": "Not found",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single sequence by id."
                            },
                            "status": "Not Found",
                            "code": 404,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Sequence: List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "sequence"
                            ]
                        },
                        "description": "Lists every message sequence registered by the organization. A\n*sequence* is a named collection of templates that fire together as a\ntransactional flow (e.g. `welcome-flow`, `cart-recovery`). Templates\nare attached to a sequence via the\n[Sequence templates](/docs/{lang}/api-reference/sender/sequence/templates/list)\nhub."
                    },
                    "response": [
                        {
                            "name": "List of sequences",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence"
                                    ]
                                },
                                "description": "Lists every message sequence registered by the organization. A\n*sequence* is a named collection of templates that fire together as a\ntransactional flow (e.g. `welcome-flow`, `cart-recovery`). Templates\nare attached to a sequence via the\n[Sequence templates](/docs/{lang}/api-reference/sender/sequence/templates/list)\nhub."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"list\": [ { \"id\": 12, \"slug\": \"welcome-flow\", \"name\": \"Welcome flow\" } ] }"
                        }
                    ]
                },
                {
                    "name": "Sequence ↔ Template",
                    "item": [
                        {
                            "name": "Sequence-Templates: Link",
                            "request": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}/templates",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence",
                                        "{{id}}",
                                        "templates"
                                    ]
                                },
                                "description": "Links a template to a sequence. The server resolves the template's\n`trigger_slug` and `provider_type` automatically — the body only\ncarries the template id and the initial active flag.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"template\": 44,\n    \"active\": true\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "response": [
                                {
                                    "name": "Linked",
                                    "originalRequest": {
                                        "method": "POST",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}/templates",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "sequence",
                                                "{{id}}",
                                                "templates"
                                            ]
                                        },
                                        "description": "Links a template to a sequence. The server resolves the template's\n`trigger_slug` and `provider_type` automatically — the body only\ncarries the template id and the initial active flag.",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"template\": 44,\n    \"active\": true\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "OK",
                                    "code": 200,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{ \"sequence\": 12, \"template\": 44, \"active\": true }"
                                },
                                {
                                    "name": "Template not found",
                                    "originalRequest": {
                                        "method": "POST",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}/templates",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "sequence",
                                                "{{id}}",
                                                "templates"
                                            ]
                                        },
                                        "description": "Links a template to a sequence. The server resolves the template's\n`trigger_slug` and `provider_type` automatically — the body only\ncarries the template id and the initial active flag.",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"template\": 44,\n    \"active\": true\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "Not Found",
                                    "code": 404,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": ""
                                }
                            ]
                        },
                        {
                            "name": "Sequence-Templates: List by sequence",
                            "request": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}/templates",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence",
                                        "{{id}}",
                                        "templates"
                                    ]
                                },
                                "description": "Returns the templates linked to a given sequence id."
                            },
                            "response": [
                                {
                                    "name": "Templates linked to the sequence",
                                    "originalRequest": {
                                        "method": "GET",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}/templates",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "sequence",
                                                "{{id}}",
                                                "templates"
                                            ]
                                        },
                                        "description": "Returns the templates linked to a given sequence id."
                                    },
                                    "status": "OK",
                                    "code": 200,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{\n    \"list\": [\n        { \"sequence\": 12, \"template\": 44, \"trigger_slug\": \"order.confirmed\", \"provider_type\": 1, \"active\": 1 }\n    ]\n}"
                                }
                            ]
                        },
                        {
                            "name": "Sequence-Templates: List all",
                            "request": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence-templates",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence-templates"
                                    ]
                                },
                                "description": "Lists every sequence↔template association registered by the\norganization. Supports the standard q/o/e/p list grammar; common\nfilter is `q[sequence][IN][]=...`."
                            },
                            "response": [
                                {
                                    "name": "OK",
                                    "originalRequest": {
                                        "method": "GET",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence-templates",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "sequence-templates"
                                            ]
                                        },
                                        "description": "Lists every sequence↔template association registered by the\norganization. Supports the standard q/o/e/p list grammar; common\nfilter is `q[sequence][IN][]=...`."
                                    },
                                    "status": "OK",
                                    "code": 200,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{\n    \"list\": [\n        { \"sequence\": 12, \"template\": 44, \"trigger_slug\": \"order.confirmed\", \"provider_type\": 1, \"active\": 1 }\n    ]\n}"
                                }
                            ]
                        },
                        {
                            "name": "Sequence-Templates: Set active",
                            "request": {
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}/templates/{{templateId}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence",
                                        "{{id}}",
                                        "templates",
                                        "{{templateId}}"
                                    ]
                                },
                                "description": "Toggles the active flag on a sequence↔template link without unlinking.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"active\": false\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "response": [
                                {
                                    "name": "Updated",
                                    "originalRequest": {
                                        "method": "PUT",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}/templates/{{templateId}}",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "sequence",
                                                "{{id}}",
                                                "templates",
                                                "{{templateId}}"
                                            ]
                                        },
                                        "description": "Toggles the active flag on a sequence↔template link without unlinking.",
                                        "body": {
                                            "mode": "raw",
                                            "raw": "{\n    \"active\": false\n}",
                                            "options": {
                                                "raw": {
                                                    "language": "json"
                                                }
                                            }
                                        }
                                    },
                                    "status": "OK",
                                    "code": 200,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{ \"sequence\": 12, \"template\": 44, \"active\": false }"
                                }
                            ]
                        },
                        {
                            "name": "Sequence-Templates: Unlink",
                            "request": {
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}/templates/{{templateId}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence",
                                        "{{id}}",
                                        "templates",
                                        "{{templateId}}"
                                    ]
                                },
                                "description": "Removes the sequence↔template association. Both rows remain registered; only the link row is deleted."
                            },
                            "response": [
                                {
                                    "name": "Unlinked",
                                    "originalRequest": {
                                        "method": "DELETE",
                                        "header": [
                                            {
                                                "key": "x-guper-authorization",
                                                "value": "{{x-guper-authorization}}",
                                                "type": "text",
                                                "description": "User token issued by Guper."
                                            },
                                            {
                                                "key": "Content-Type",
                                                "value": "{{Content-Type}}",
                                                "type": "text",
                                                "description": "Always `application/json` for endpoints that accept a JSON body."
                                            }
                                        ],
                                        "url": {
                                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence/{{id}}/templates/{{templateId}}",
                                            "protocol": "https",
                                            "host": [
                                                "{{organization}}",
                                                "myguper",
                                                "com"
                                            ],
                                            "path": [
                                                "api",
                                                "sender",
                                                "sequence",
                                                "{{id}}",
                                                "templates",
                                                "{{templateId}}"
                                            ]
                                        },
                                        "description": "Removes the sequence↔template association. Both rows remain registered; only the link row is deleted."
                                    },
                                    "status": "OK",
                                    "code": 200,
                                    "_postman_previewlanguage": "json",
                                    "header": [
                                        {
                                            "key": "Content-Type",
                                            "value": "application/json"
                                        }
                                    ],
                                    "body": "{ \"sequence\": 12, \"template\": 44, \"unlinked\": true }"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Sequence: Update",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/sequence",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "sequence"
                            ]
                        },
                        "description": "Updates a sequence's slug or display name.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 12,\n    \"slug\": \"welcome-flow\",\n    \"name\": \"Welcome flow\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/sequence",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "sequence"
                                    ]
                                },
                                "description": "Updates a sequence's slug or display name.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 12,\n    \"slug\": \"welcome-flow\",\n    \"name\": \"Welcome flow\"\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"ok\": true }"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Template v2",
            "item": [
                {
                    "name": "Template v2: Create",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-v2",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-v2"
                            ]
                        },
                        "description": "Creates a new Communication Hub template. The body shape mirrors\n`Models\\\\Template::$visibleFields`. On save, the\n`ApplyOnSave` service can flip review state back to pending when\nrelevant fields change.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"provider\": 5,\n    \"name\": \"Order confirmed — pt-BR\",\n    \"key\": \"order-confirmed-ptbr\",\n    \"subject\": \"<subject>\",\n    \"body\": \"<body>\",\n    \"text\": \"<text>\",\n    \"extend\": \"<extend>\",\n    \"trigger_slug\": \"order.confirmed\",\n    \"language\": \"pt-BR\",\n    \"variables\": \"<variables>\",\n    \"meta\": \"<meta>\",\n    \"badges\": \"<badges>\",\n    \"tier\": 0,\n    \"is_active\": true\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Template created",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-v2",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-v2"
                                    ]
                                },
                                "description": "Creates a new Communication Hub template. The body shape mirrors\n`Models\\\\Template::$visibleFields`. On save, the\n`ApplyOnSave` service can flip review state back to pending when\nrelevant fields change.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"provider\": 5,\n    \"name\": \"Order confirmed — pt-BR\",\n    \"key\": \"order-confirmed-ptbr\",\n    \"subject\": \"<subject>\",\n    \"body\": \"<body>\",\n    \"text\": \"<text>\",\n    \"extend\": \"<extend>\",\n    \"trigger_slug\": \"order.confirmed\",\n    \"language\": \"pt-BR\",\n    \"variables\": \"<variables>\",\n    \"meta\": \"<meta>\",\n    \"badges\": \"<badges>\",\n    \"tier\": 0,\n    \"is_active\": true\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        },
                        {
                            "name": "Missing required fields",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-v2",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-v2"
                                    ]
                                },
                                "description": "Creates a new Communication Hub template. The body shape mirrors\n`Models\\\\Template::$visibleFields`. On save, the\n`ApplyOnSave` service can flip review state back to pending when\nrelevant fields change.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"provider\": 5,\n    \"name\": \"Order confirmed — pt-BR\",\n    \"key\": \"order-confirmed-ptbr\",\n    \"subject\": \"<subject>\",\n    \"body\": \"<body>\",\n    \"text\": \"<text>\",\n    \"extend\": \"<extend>\",\n    \"trigger_slug\": \"order.confirmed\",\n    \"language\": \"pt-BR\",\n    \"variables\": \"<variables>\",\n    \"meta\": \"<meta>\",\n    \"badges\": \"<badges>\",\n    \"tier\": 0,\n    \"is_active\": true\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Template v2: Delete",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-v2",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-v2"
                            ]
                        },
                        "description": "Removes a Communication Hub template. Sequence links that referenced it become dangling — clean them via /sequence/{id}/templates/{templateId} first.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 44\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Deleted",
                            "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-v2",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-v2"
                                    ]
                                },
                                "description": "Removes a Communication Hub template. Sequence links that referenced it become dangling — clean them via /sequence/{id}/templates/{templateId} first.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 44\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Template v2: Find",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-v2/{{id}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-v2",
                                "{{id}}"
                            ]
                        },
                        "description": "Returns a single template by id, with review state and provider settings binding."
                    },
                    "response": [
                        {
                            "name": "Template",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-v2/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-v2",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single template by id, with review state and provider settings binding."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        },
                        {
                            "name": "Not found",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-v2/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-v2",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single template by id, with review state and provider settings binding."
                            },
                            "status": "Not Found",
                            "code": 404,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Template v2: List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-v2",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-v2"
                            ]
                        },
                        "description": "Lists every template registered through the Communication Hub\neditor (`template` table). Each row carries provider, channel\nmetadata, language, the rendered subject/body/text triplet, the\ndeclared `variables` and the review state (`review`, `reviewedAt`,\n`rejectionReason`)."
                    },
                    "response": [
                        {
                            "name": "List of templates",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-v2",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-v2"
                                    ]
                                },
                                "description": "Lists every template registered through the Communication Hub\neditor (`template` table). Each row carries provider, channel\nmetadata, language, the rendered subject/body/text triplet, the\ndeclared `variables` and the review state (`review`, `reviewedAt`,\n`rejectionReason`)."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Template v2: Send test",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-v2/{{id}}/send-test",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-v2",
                                "{{id}}",
                                "send-test"
                            ]
                        },
                        "description": "Renders the template against the message type's mockup payload and\nsends it to the given `person` through the template's bound provider.\nUseful to validate end-to-end delivery before activating a template\nin production.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"person\": 47\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Test enqueued",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-v2/{{id}}/send-test",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-v2",
                                        "{{id}}",
                                        "send-test"
                                    ]
                                },
                                "description": "Renders the template against the message type's mockup payload and\nsends it to the given `person` through the template's bound provider.\nUseful to validate end-to-end delivery before activating a template\nin production.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"person\": 47\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"ok\": true }"
                        },
                        {
                            "name": "Missing person",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-v2/{{id}}/send-test",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-v2",
                                        "{{id}}",
                                        "send-test"
                                    ]
                                },
                                "description": "Renders the template against the message type's mockup payload and\nsends it to the given `person` through the template's bound provider.\nUseful to validate end-to-end delivery before activating a template\nin production.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"person\": 47\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        },
                        {
                            "name": "Template / provider not found",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-v2/{{id}}/send-test",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-v2",
                                        "{{id}}",
                                        "send-test"
                                    ]
                                },
                                "description": "Renders the template against the message type's mockup payload and\nsends it to the given `person` through the template's bound provider.\nUseful to validate end-to-end delivery before activating a template\nin production.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"person\": 47\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Not Found",
                            "code": 404,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Template v2: Update",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-v2",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-v2"
                            ]
                        },
                        "description": "Updates an existing template. Same schema as create plus a required `id`.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 44,\n    \"provider\": 5,\n    \"name\": \"Order confirmed — pt-BR\",\n    \"key\": \"order-confirmed-ptbr\",\n    \"subject\": \"<subject>\",\n    \"body\": \"<body>\",\n    \"text\": \"<text>\",\n    \"extend\": \"<extend>\",\n    \"trigger_slug\": \"order.confirmed\",\n    \"language\": \"pt-BR\",\n    \"variables\": \"<variables>\",\n    \"meta\": \"<meta>\",\n    \"badges\": \"<badges>\",\n    \"tier\": 0,\n    \"is_active\": true\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Updated",
                            "originalRequest": {
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-v2",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-v2"
                                    ]
                                },
                                "description": "Updates an existing template. Same schema as create plus a required `id`.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 44,\n    \"provider\": 5,\n    \"name\": \"Order confirmed — pt-BR\",\n    \"key\": \"order-confirmed-ptbr\",\n    \"subject\": \"<subject>\",\n    \"body\": \"<body>\",\n    \"text\": \"<text>\",\n    \"extend\": \"<extend>\",\n    \"trigger_slug\": \"order.confirmed\",\n    \"language\": \"pt-BR\",\n    \"variables\": \"<variables>\",\n    \"meta\": \"<meta>\",\n    \"badges\": \"<badges>\",\n    \"tier\": 0,\n    \"is_active\": true\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "TemplateOrganizationConfig",
            "item": [
                {
                    "name": "Create Template Org Config",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-organization-config",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-organization-config"
                            ]
                        },
                        "description": "Wires a template (`slug`) to a specific provider for the organization. When a template is rendered\nand no per-message provider is supplied, the dispatcher uses the entry registered here to decide\nwhich `provider_settings` row should send it.\n\nUse this endpoint when you want a template to use a non-default provider — otherwise the default of\nthe corresponding provider type is used automatically.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"slug\": \"welcome_email\",\n    \"type\": \"smtp\",\n    \"provider\": 12,\n    \"active\": true\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Mapping created.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-organization-config",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-organization-config"
                                    ]
                                },
                                "description": "Wires a template (`slug`) to a specific provider for the organization. When a template is rendered\nand no per-message provider is supplied, the dispatcher uses the entry registered here to decide\nwhich `provider_settings` row should send it.\n\nUse this endpoint when you want a template to use a non-default provider — otherwise the default of\nthe corresponding provider type is used automatically.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"slug\": \"welcome_email\",\n    \"type\": \"smtp\",\n    \"provider\": 12,\n    \"active\": true\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"id\": 5,\n    \"slug\": \"welcome_email\",\n    \"type\": \"smtp\",\n    \"provider\": 12,\n    \"active\": true\n}"
                        }
                    ]
                },
                {
                    "name": "Delete Template Org Config",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-organization-config",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-organization-config"
                            ]
                        },
                        "description": "Removes the template-to-provider mapping. After delete, the template falls back to the default\nprovider settings of its channel (`type`).",
                        "body": {
                            "mode": "raw",
                            "raw": "{ \"id\": 5 }",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Mapping removed.",
                            "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-organization-config",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-organization-config"
                                    ]
                                },
                                "description": "Removes the template-to-provider mapping. After delete, the template falls back to the default\nprovider settings of its channel (`type`).",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{ \"id\": 5 }",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"id\": 5, \"deleted\": true }"
                        }
                    ]
                },
                {
                    "name": "Find",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-organization-config/{{id}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-organization-config",
                                "{{id}}"
                            ]
                        },
                        "description": "Returns a single template-organization configuration by ID."
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-organization-config/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-organization-config",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single template-organization configuration by ID."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"id\": 1,\n    \"templateSlug\": \"order-confirmation\",\n    \"channels\": { \"whatsapp\": true, \"sms\": false, \"email\": true },\n    \"providerSettingId\": 3\n}"
                        }
                    ]
                },
                {
                    "name": "List Template Org Configs",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-organization-config",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-organization-config"
                            ]
                        },
                        "description": "Returns a paginated list of template configs."
                    },
                    "response": [
                        {
                            "name": "Success",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-organization-config",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-organization-config"
                                    ]
                                },
                                "description": "Returns a paginated list of template configs."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Update Template Org Config",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-organization-config",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-organization-config"
                            ]
                        },
                        "description": "Updates an existing template-to-provider mapping. The `id` is required; remaining fields are\noptional and only the ones present in the body are written.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 5,\n    \"provider\": 14,\n    \"active\": true\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Mapping updated.",
                            "originalRequest": {
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-organization-config",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-organization-config"
                                    ]
                                },
                                "description": "Updates an existing template-to-provider mapping. The `id` is required; remaining fields are\noptional and only the ones present in the body are written.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 5,\n    \"provider\": 14,\n    \"active\": true\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"id\": 5, \"updated\": true }"
                        }
                    ]
                }
            ]
        },
        {
            "name": "TemplatesCustom",
            "item": [
                {
                    "name": "Create Custom Template",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-custom",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-custom"
                            ]
                        },
                        "description": "Stores an organization-specific override of a template. The base template (`slug`) is shared across\norganizations; this endpoint lets a single org provide its own subject/body for one of the supported\nchannels (`smtp`, `whatsapp`, `sms`).\n\nVariables follow the same Twig-style placeholders as the default templates (e.g. `{{ name }}`).",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"slug\": \"welcome_email\",\n    \"type\": \"smtp\",\n    \"subject\": \"Bem-vindo, {{ name }}!\",\n    \"text\": \"Olá {{ name }}, seu cadastro foi confirmado.\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Custom template created.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-custom",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-custom"
                                    ]
                                },
                                "description": "Stores an organization-specific override of a template. The base template (`slug`) is shared across\norganizations; this endpoint lets a single org provide its own subject/body for one of the supported\nchannels (`smtp`, `whatsapp`, `sms`).\n\nVariables follow the same Twig-style placeholders as the default templates (e.g. `{{ name }}`).",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"slug\": \"welcome_email\",\n    \"type\": \"smtp\",\n    \"subject\": \"Bem-vindo, {{ name }}!\",\n    \"text\": \"Olá {{ name }}, seu cadastro foi confirmado.\"\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"id\": 7,\n    \"slug\": \"welcome_email\",\n    \"type\": \"smtp\",\n    \"subject\": \"Bem-vindo, {{ name }}!\",\n    \"text\": \"Olá {{ name }}, seu cadastro foi confirmado.\"\n}"
                        }
                    ]
                },
                {
                    "name": "Delete Custom Template",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-custom",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-custom"
                            ]
                        },
                        "description": "Removes a custom template override. After delete, the organization falls back to the default\ntemplate registered globally for the same `slug` and channel.",
                        "body": {
                            "mode": "raw",
                            "raw": "{ \"id\": 7 }",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Custom template removed.",
                            "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-custom",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-custom"
                                    ]
                                },
                                "description": "Removes a custom template override. After delete, the organization falls back to the default\ntemplate registered globally for the same `slug` and channel.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{ \"id\": 7 }",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"id\": 7, \"deleted\": true }"
                        }
                    ]
                },
                {
                    "name": "Find",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-custom/{{id}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-custom",
                                "{{id}}"
                            ]
                        },
                        "description": "Returns a single custom message template by ID."
                    },
                    "response": [
                        {
                            "name": "OK",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-custom/{{id}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-custom",
                                        "{{id}}"
                                    ]
                                },
                                "description": "Returns a single custom message template by ID."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n    \"id\": 12,\n    \"slug\": \"order-confirmation\",\n    \"channel\": \"whatsapp\",\n    \"language\": \"pt-BR\",\n    \"body\": \"Olá {{name}}! Seu pedido {{orderId}} foi confirmado.\"\n}"
                        }
                    ]
                },
                {
                    "name": "List Custom Templates",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": ""
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-custom",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-custom"
                            ]
                        },
                        "description": "Returns a paginated list of templates."
                    },
                    "response": [
                        {
                            "name": "Success",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": ""
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-custom",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-custom"
                                    ]
                                },
                                "description": "Returns a paginated list of templates."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Update Custom Template",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/template-custom",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "template-custom"
                            ]
                        },
                        "description": "Updates an existing custom template override. The `id` is required; remaining fields are optional\nand only the ones present in the body are written.",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"id\": 7,\n    \"subject\": \"Bem-vindo à Loja XYZ, {{ name }}!\",\n    \"text\": \"Olá {{ name }}, seu cadastro foi confirmado. Aproveite seu cashback de {{ reward.value }} centavos.\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "response": [
                        {
                            "name": "Custom template updated.",
                            "originalRequest": {
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/template-custom",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "template-custom"
                                    ]
                                },
                                "description": "Updates an existing custom template override. The `id` is required; remaining fields are optional\nand only the ones present in the body are written.",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"id\": 7,\n    \"subject\": \"Bem-vindo à Loja XYZ, {{ name }}!\",\n    \"text\": \"Olá {{ name }}, seu cadastro foi confirmado. Aproveite seu cashback de {{ reward.value }} centavos.\"\n}",
                                    "options": {
                                        "raw": {
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{ \"id\": 7, \"updated\": true }"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Variable set",
            "item": [
                {
                    "name": "Variable set: Find by trigger",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/variable-set/{{slug}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "variable-set",
                                "{{slug}}"
                            ]
                        },
                        "description": "Returns the variable set declared for a given trigger slug."
                    },
                    "response": [
                        {
                            "name": "Variable set",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/variable-set/{{slug}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "variable-set",
                                        "{{slug}}"
                                    ]
                                },
                                "description": "Returns the variable set declared for a given trigger slug."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Variable set: List",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/variable-set",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "variable-set"
                            ]
                        },
                        "description": "Lists every variable set declared by the platform. A *variable set*\nis the bag of variables a given trigger (`order.confirmed`,\n`welcome`, etc.) makes available to templates.\n\nFilter via `?category=campaign` to scope the list to a specific\ngrouping."
                    },
                    "response": [
                        {
                            "name": "List of triggers and their variables",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/variable-set",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "variable-set"
                                    ]
                                },
                                "description": "Lists every variable set declared by the platform. A *variable set*\nis the bag of variables a given trigger (`order.confirmed`,\n`welcome`, etc.) makes available to templates.\n\nFilter via `?category=campaign` to scope the list to a specific\ngrouping."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Variable set: List (expanded)",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/variable-set/expand/{{expand}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "variable-set",
                                "expand",
                                "{{expand}}"
                            ]
                        },
                        "description": "Same as List but with each variable inlined — useful when the admin\nneeds to render the variable picker without a second round-trip."
                    },
                    "response": [
                        {
                            "name": "Expanded list",
                            "originalRequest": {
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "x-guper-authorization",
                                        "value": "{{x-guper-authorization}}",
                                        "type": "text",
                                        "description": "User token issued by Guper."
                                    },
                                    {
                                        "key": "Content-Type",
                                        "value": "{{Content-Type}}",
                                        "type": "text",
                                        "description": "Always `application/json` for endpoints that accept a JSON body."
                                    }
                                ],
                                "url": {
                                    "raw": "https://{{organization}}.myguper.com/api/sender/variable-set/expand/{{expand}}",
                                    "protocol": "https",
                                    "host": [
                                        "{{organization}}",
                                        "myguper",
                                        "com"
                                    ],
                                    "path": [
                                        "api",
                                        "sender",
                                        "variable-set",
                                        "expand",
                                        "{{expand}}"
                                    ]
                                },
                                "description": "Same as List but with each variable inlined — useful when the admin\nneeds to render the variable picker without a second round-trip."
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Webhook (inbound from provider)",
            "request": {
                "method": "POST",
                "header": [
                    {
                        "key": "Content-Type",
                        "value": "{{Content-Type}}",
                        "type": "text",
                        "description": "Always `application/json` for endpoints that accept a JSON body."
                    }
                ],
                "url": {
                    "raw": "https://{{organization}}.myguper.com/api/sender/webhook/{{token}}",
                    "protocol": "https",
                    "host": [
                        "{{organization}}",
                        "myguper",
                        "com"
                    ],
                    "path": [
                        "api",
                        "sender",
                        "webhook",
                        "{{token}}"
                    ]
                },
                "description": "Inbound webhook endpoint that providers (Twilio, SendGrid,\nWhatsApp Business, etc.) post delivery/status callbacks to. The\n`token` in the URL is a Guper-issued JWT that carries\n`{ o: organization, d: dispatcher_id }` — it authenticates the\ncaller without an `x-guper-authorization` header (providers can't\nsign requests on our behalf).\n\nThe handler validates the JWT, checks that the organization in the\ntoken matches the subdomain, enqueues the raw payload in\n`webhook_queue` for asynchronous processing, and returns 200\nimmediately. Actual status-event handling happens out-of-band in a\nworker."
            },
            "response": [
                {
                    "name": "Enqueued",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/webhook/{{token}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "webhook",
                                "{{token}}"
                            ]
                        },
                        "description": "Inbound webhook endpoint that providers (Twilio, SendGrid,\nWhatsApp Business, etc.) post delivery/status callbacks to. The\n`token` in the URL is a Guper-issued JWT that carries\n`{ o: organization, d: dispatcher_id }` — it authenticates the\ncaller without an `x-guper-authorization` header (providers can't\nsign requests on our behalf).\n\nThe handler validates the JWT, checks that the organization in the\ntoken matches the subdomain, enqueues the raw payload in\n`webhook_queue` for asynchronous processing, and returns 200\nimmediately. Actual status-event handling happens out-of-band in a\nworker."
                    },
                    "status": "OK",
                    "code": 200,
                    "_postman_previewlanguage": "json",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "body": "{ \"ok\": true }"
                },
                {
                    "name": "Token required / invalid token payload",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/webhook/{{token}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "webhook",
                                "{{token}}"
                            ]
                        },
                        "description": "Inbound webhook endpoint that providers (Twilio, SendGrid,\nWhatsApp Business, etc.) post delivery/status callbacks to. The\n`token` in the URL is a Guper-issued JWT that carries\n`{ o: organization, d: dispatcher_id }` — it authenticates the\ncaller without an `x-guper-authorization` header (providers can't\nsign requests on our behalf).\n\nThe handler validates the JWT, checks that the organization in the\ntoken matches the subdomain, enqueues the raw payload in\n`webhook_queue` for asynchronous processing, and returns 200\nimmediately. Actual status-event handling happens out-of-band in a\nworker."
                    },
                    "status": "Bad Request",
                    "code": 400,
                    "_postman_previewlanguage": "json",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "body": ""
                },
                {
                    "name": "Invalid token",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/webhook/{{token}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "webhook",
                                "{{token}}"
                            ]
                        },
                        "description": "Inbound webhook endpoint that providers (Twilio, SendGrid,\nWhatsApp Business, etc.) post delivery/status callbacks to. The\n`token` in the URL is a Guper-issued JWT that carries\n`{ o: organization, d: dispatcher_id }` — it authenticates the\ncaller without an `x-guper-authorization` header (providers can't\nsign requests on our behalf).\n\nThe handler validates the JWT, checks that the organization in the\ntoken matches the subdomain, enqueues the raw payload in\n`webhook_queue` for asynchronous processing, and returns 200\nimmediately. Actual status-event handling happens out-of-band in a\nworker."
                    },
                    "status": "Unauthorized",
                    "code": 401,
                    "_postman_previewlanguage": "json",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "body": ""
                },
                {
                    "name": "Organization mismatch",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/webhook/{{token}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "webhook",
                                "{{token}}"
                            ]
                        },
                        "description": "Inbound webhook endpoint that providers (Twilio, SendGrid,\nWhatsApp Business, etc.) post delivery/status callbacks to. The\n`token` in the URL is a Guper-issued JWT that carries\n`{ o: organization, d: dispatcher_id }` — it authenticates the\ncaller without an `x-guper-authorization` header (providers can't\nsign requests on our behalf).\n\nThe handler validates the JWT, checks that the organization in the\ntoken matches the subdomain, enqueues the raw payload in\n`webhook_queue` for asynchronous processing, and returns 200\nimmediately. Actual status-event handling happens out-of-band in a\nworker."
                    },
                    "status": "Forbidden",
                    "code": 403,
                    "_postman_previewlanguage": "json",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "body": ""
                }
            ]
        },
        {
            "name": "Send PIN (WhatsApp)",
            "request": {
                "method": "POST",
                "header": [
                    {
                        "key": "x-guper-authorization",
                        "value": "{{x-guper-authorization}}",
                        "type": "text",
                        "description": "User token issued by Guper."
                    },
                    {
                        "key": "Content-Type",
                        "value": "{{Content-Type}}",
                        "type": "text",
                        "description": "Always `application/json` for endpoints that accept a JSON body."
                    }
                ],
                "url": {
                    "raw": "https://{{organization}}.myguper.com/api/sender/whatsapppin/{{pin}}",
                    "protocol": "https",
                    "host": [
                        "{{organization}}",
                        "myguper",
                        "com"
                    ],
                    "path": [
                        "api",
                        "sender",
                        "whatsapppin",
                        "{{pin}}"
                    ]
                },
                "description": "Sends a one-time numeric PIN over WhatsApp — counterpart of\n[Send PIN SMS](/docs/{lang}/api-reference/sender/smspin-sms). Routes\nthe message through the organization's WhatsApp provider settings\nand the WhatsApp PIN template.\n\nThe `pin` itself travels in the URL path so it never lands in the\nrequest body (helps with logging hygiene).",
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"cellphone\": \"5511987654321\"\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                }
            },
            "response": [
                {
                    "name": "Queued",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-guper-authorization",
                                "value": "{{x-guper-authorization}}",
                                "type": "text",
                                "description": "User token issued by Guper."
                            },
                            {
                                "key": "Content-Type",
                                "value": "{{Content-Type}}",
                                "type": "text",
                                "description": "Always `application/json` for endpoints that accept a JSON body."
                            }
                        ],
                        "url": {
                            "raw": "https://{{organization}}.myguper.com/api/sender/whatsapppin/{{pin}}",
                            "protocol": "https",
                            "host": [
                                "{{organization}}",
                                "myguper",
                                "com"
                            ],
                            "path": [
                                "api",
                                "sender",
                                "whatsapppin",
                                "{{pin}}"
                            ]
                        },
                        "description": "Sends a one-time numeric PIN over WhatsApp — counterpart of\n[Send PIN SMS](/docs/{lang}/api-reference/sender/smspin-sms). Routes\nthe message through the organization's WhatsApp provider settings\nand the WhatsApp PIN template.\n\nThe `pin` itself travels in the URL path so it never lands in the\nrequest body (helps with logging hygiene).",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"cellphone\": \"5511987654321\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    },
                    "status": "OK",
                    "code": 200,
                    "_postman_previewlanguage": "json",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "body": "{ \"id\": \"msg_01HXYZ\", \"channel\": \"whatsapp\", \"status\": \"queued\" }"
                }
            ]
        }
    ],
    "variable": [
        {
            "key": "scheme",
            "value": "https",
            "type": "string"
        },
        {
            "key": "organization",
            "value": "acme",
            "type": "string"
        },
        {
            "key": "TID",
            "value": "tx_demo_a1b2c3d4",
            "type": "string"
        },
        {
            "key": "confirmToken",
            "value": "54eb6281f4e3e13671a5e4c95609f4a69247a5f38d01bef99768399bb6645c49",
            "type": "string"
        },
        {
            "key": "hash",
            "value": "h_demo_abc123def456",
            "type": "string"
        },
        {
            "key": "id",
            "value": "42",
            "type": "string"
        },
        {
            "key": "personId",
            "value": "1234",
            "type": "string"
        },
        {
            "key": "couponCode",
            "value": "DEMO20",
            "type": "string"
        },
        {
            "key": "transactionId",
            "value": "tx_demo_a1b2c3d4",
            "type": "string"
        },
        {
            "key": "dateStart",
            "value": "2024-04-01",
            "type": "string"
        },
        {
            "key": "dateEnd",
            "value": "2024-04-30",
            "type": "string"
        },
        {
            "key": "x-guper-authorization",
            "value": "48c70a3d6bc1d15104abfaee80c6010f348713f5315bfd12028c2455667685a2",
            "type": "string"
        },
        {
            "key": "Content-Type",
            "value": "application/json",
            "type": "string"
        },
        {
            "key": "User-Agent",
            "value": "guper-docs/2.x",
            "type": "string"
        },
        {
            "key": "environment",
            "value": "",
            "type": "string"
        }
    ]
}