{
  "info": {
    "_postman_id": "0ec9a623-be17-5c48-a3e9-28a27e935434",
    "name": "Motorical Public API",
    "description": "Transactional email HTTP API and analytics for Motorical Sending SMTP — same job class as SendGrid/Postmark-style send APIs. One Motor Block per project: an isolated sending stream with its own domain, auth, keys, SMTP credentials, rates, logs, webhooks, and automation. Developer sandbox: unpaid agent onboarding uses a Motorical-owned `.sandbox` domain (instant, no DNS) or a sandbox Motor Block on your own fully verified domain (on a Free account, created automatically once DKIM and SPF pass when automatic provisioning is enabled; otherwise call the provision route), with outbound locked to an allowlist until convert + Motorical Plan. Onboarding auth: register → verify-code (returns a single-use setupToken) → set-password {email, password, setupToken} → dashboard JWT (~15m) + refreshToken (7d). Agents store refreshToken and POST /api/auth/refresh with JSON body (cookies optional). After domain ownership verify, call POST /api/public/v1/domains/{id}/check-dns (or re-call verify) to flip dkim_configured/spf_configured before /v1/send. Domains are account-wide, not Motor-Block-scoped (a Motor Block is created from a verified domain, not the reverse) — GET/POST /api/public/v1/domains* need no motorBlockId. Public API covers email sending, analytics, logs, configuration, domain management, domain health, webhooks, and exports. SMTP submission is an out-of-band protocol on mail.motorical.com:2587 (STARTTLS) or :2465 (implicit TLS) using password, OAuth 2.0 access token as SMTP password (or XOAUTH2), or mTLS + password — see https://docs.motorical.com/smtp-integration/authentication-methods. Do not use OAuth access tokens or Bearer tokens on POST /v1/send (Motor Block ApiKey mk_live_ only).\n\nGenerated from https://docs.motorical.com/openapi.json — do not hand-edit; regenerate via `npm run snapshot:api-docs`.\n\nAuth tips:\n- `mkApiKey` (`mk_live_...`) → POST /v1/send\n- `akApiKey` (`ak_live_...`) → mint `bearerToken` via /api/public/token/account-key\n- `bearerToken` → /api/public/v1/* and Communications (plus X-Tenant-Id)\n- OAuth SMTP tokens are out-of-band; see https://docs.motorical.com/smtp-integration/authentication-methods\n\nOpenAPI version: 1.4.1",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "apiBaseUrl",
      "value": "https://api.motorical.com"
    },
    {
      "key": "dashboardBaseUrl",
      "value": "https://motorical.com"
    },
    {
      "key": "mkApiKey",
      "value": "mk_live_YOUR_PREFIX_YOUR_SECRET"
    },
    {
      "key": "akApiKey",
      "value": "ak_live_YOUR_PREFIX_YOUR_SECRET"
    },
    {
      "key": "bearerToken",
      "value": ""
    },
    {
      "key": "motorBlockId",
      "value": ""
    },
    {
      "key": "tenantId",
      "value": ""
    },
    {
      "key": "messageId",
      "value": ""
    },
    {
      "key": "webhookId",
      "value": ""
    },
    {
      "key": "jobId",
      "value": ""
    },
    {
      "key": "smtpMessageId",
      "value": ""
    },
    {
      "key": "oauthClientId",
      "value": ""
    },
    {
      "key": "oauthClientSecret",
      "value": ""
    },
    {
      "key": "oauthAuthorizationCode",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "00 — Quick start",
      "description": "Typical agent/developer path: mint public token, dry-run send, inspect message events.",
      "item": [
        {
          "name": "Mint a Public Analytics API token with an Account API Key",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/token/account-key",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "token",
                "account-key"
              ]
            },
            "description": "Use an Account API Key (`ak_live_...`) to create a short-lived bearer token for `/api/public/v1` endpoints. The key can be supplied as `Authorization: ApiKey ak_live_...` or `X-Api-Key: ak_live_...`.\n\nOpenAPI: `POST /api/public/token/account-key`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "Authorization",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "ApiKey {{akApiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"motorBlockId\": \"{{motorBlockId}}\",\n  \"scopes\": [\n    \"logs.read\",\n    \"analytics.read\",\n    \"webhooks.manage\"\n  ],\n  \"ttlSeconds\": 900\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Send or validate an email",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/v1/send",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "v1",
                "send"
              ]
            },
            "description": "Queue an email for immediate delivery, or validate the payload only when `dryRun: true`. `dryRun` defaults to false on this route: the email is sent unless you pass `dryRun: true`, so always set it explicitly. Authenticated via Motor Block API key (`Authorization: ApiKey mk_live_...` or `X-Api-Key: mk_live_...`).\n\n**Dry run:** `dryRun: true` performs the same authentication, domain, DNS, recipient, subject, and body-size checks but does not insert an email log or push delivery work to Redis.\n\n**Idempotency:** Include an `Idempotency-Key` header to prevent duplicate sends on retries (24h window).\n\n**Webhook verification:** Delivery events are posted to your webhook endpoints with an `X-Motorical-Signature` header containing an HMAC-SHA256 hex digest computed over the JSON body using the webhook secret you received at creation time. Verify with: `crypto.createHmac(\"sha256\", secret).update(body).digest(\"hex\")`.\n\nOpenAPI: `POST /v1/send`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "Authorization",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "ApiKey {{mkApiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"from\": \"sender@yourdomain.com\",\n  \"fromName\": \"Acme Billing\",\n  \"replyTo\": \"sender@yourdomain.com\",\n  \"subject\": \"string\",\n  \"text\": \"string\",\n  \"html\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get message event timeline",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/messages/{{messageId}}/events",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "messages",
                "{{messageId}}",
                "events"
              ],
              "query": [
                {
                  "key": "includePII",
                  "value": "",
                  "description": "Requires logs.pii scope",
                  "disabled": true
                }
              ]
            },
            "description": "Canonical lifecycle events from email_events.\n\nOpenAPI: `GET /api/public/v1/messages/{id}/events`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Account Free Recipients",
      "item": [
        {
          "name": "Ask a recipient to allow test email (OAuth/Public API bearer)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/free-recipients",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "free-recipients"
              ]
            },
            "description": "REQUESTS confirmation only: emails the address a link, and the recipient must open it and click the button. This route can never confirm or stop an address on anyone's behalf. The response is identical whether the email was sent or withheld (for example because the address chose to stop), so it cannot be used to enumerate recipients. The account email is taken from the account, never from the request. The success body includes `data.recipient = { email, status }` (status `pending`, or `confirmed` when the address is already confirmed); a stopped address reports the same shape and status as a fresh request. `pending` means a person must still click the emailed link.\n\nOpenAPI: `POST /api/public/v1/account/free-recipients`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"sender@yourdomain.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "List Free-account recipients (OAuth/Public API bearer)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/free-recipients",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "free-recipients"
              ]
            },
            "description": "Addresses this account has asked to allow test email, with their status (pending, confirmed, stopped), plus the recipient limit and current usage (`usage` is null when it cannot be read). `limitsNote` says the hourly, daily and monthly numbers are the Free-plan caps for non-sandbox Motor Blocks (a sandbox block is governed by the sandbox caps in the sandbox status). Requires `recipients.manage` (MCP `manage:recipients`).\n\nOpenAPI: `GET /api/public/v1/account/free-recipients`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Remove a Free-account recipient (OAuth/Public API bearer)",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/free-recipients/{{id}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "free-recipients",
                "{{id}}"
              ]
            },
            "description": "Remove a Free-account recipient (OAuth/Public API bearer)\n\nOpenAPI: `DELETE /api/public/v1/account/free-recipients/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Account Motor Blocks",
      "item": [
        {
          "name": "Assign a verified domain to a Motor Block",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/motor-blocks/{{motorBlockId}}/assign-domain",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "motor-blocks",
                "{{motorBlockId}}",
                "assign-domain"
              ]
            },
            "description": "Requires `confirm: true`. The target must be a verified, non-sandbox domain owned by the account.\n\nOpenAPI: `POST /api/public/v1/account/motor-blocks/{id}/assign-domain`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"domainId\": \"{{motorBlockId}}\",\n  \"confirm\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create a production Motor Block (OAuth/Public API bearer)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/motor-blocks",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "motor-blocks"
              ]
            },
            "description": "Creates a `transactional` or `general_purpose` Motor Block on a verified, non-sandbox domain the account owns, subject to the plan's Motor Block limit. Requires an `Idempotency-Key` header (UUID v4): a replay with the same key and input returns the same block, one database row, and never a credential. The new block is appended to the calling grant in the same transaction, so it is usable by explicit `motorBlockId` immediately, WITHOUT a token refresh or re-authorization (`authorizationUpdated`). Hosted responses never contain a password, API-key secret or certificate — `credentialsAvailable: false` and `credentialsLocation` point to the dashboard. `nextAction` suggests a `dryRun` send from the new block.\n\nOpenAPI: `POST /api/public/v1/account/motor-blocks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"string\",\n  \"domainId\": \"{{motorBlockId}}\",\n  \"type\": \"general_purpose\",\n  \"description\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Deactivate (pause) a Motor Block — reversible",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/motor-blocks/{{motorBlockId}}/deactivate",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "motor-blocks",
                "{{motorBlockId}}",
                "deactivate"
              ]
            },
            "description": "Requires `confirm: true`. Sends from the block are refused until it is reactivated. This is NOT deletion: nothing is removed. The response includes `nextAction` pointing at reactivate. A block must be inactive before it can be permanently deleted.\n\nOpenAPI: `POST /api/public/v1/account/motor-blocks/{id}/deactivate`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"confirm\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "List the account's production Motor Blocks (OAuth/Public API bearer)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/motor-blocks",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "motor-blocks"
              ]
            },
            "description": "Account-scoped inventory of `transactional` and `general_purpose` Motor Blocks covered by the CURRENT authorization grant (read live from the backend, never from a token claim), including inactive blocks. Developer-sandbox and companion blocks are excluded. Each row carries `activeAuthMethod` (read-only) and `credentialsAvailable: false` with a `credentialsLocation` dashboard link — no credential is ever returned.\n\nOpenAPI: `GET /api/public/v1/account/motor-blocks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Live grant-coverage check for one Motor Block (infrastructure)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/authorization/motor-blocks/{{motorBlockId}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "authorization",
                "motor-blocks",
                "{{motorBlockId}}"
              ]
            },
            "description": "Used by the hosted MCP server to obtain a live authorization decision before serving task or resource state for an explicitly named block. Returns `authorized: true` only when the CURRENT grant covers the block and the caller owns it; otherwise 403. It is not a customer workflow and no tool is exposed for it.\n\nOpenAPI: `GET /api/public/v1/account/authorization/motor-blocks/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Permanently delete a Motor Block — asynchronous and irrecoverable",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/motor-blocks/{{motorBlockId}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "motor-blocks",
                "{{motorBlockId}}"
              ]
            },
            "description": "Requires `confirm: true` AND an explicit boolean `deleteHistory` (true also deletes the block's message logs and events; false is refused with 409 motor_block_history_present if any exist). The block must already be deactivated. Deletion is queued: the response is 202 with a `jobId`; poll GET /account/motor-block-deletions/{jobId}. Only `transactional` and `general_purpose` blocks can be deleted here (409 motor_block_type_not_supported otherwise). Deletion never affects other blocks sharing the same domain.\n\nOpenAPI: `DELETE /api/public/v1/account/motor-blocks/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"confirm\": true,\n  \"deleteHistory\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Poll a permanent-deletion job",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/motor-block-deletions/{{jobId}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "motor-block-deletions",
                "{{jobId}}"
              ]
            },
            "description": "Status remains queryable by the authenticated account after the block row is gone. Scoped to the job owner.\n\nOpenAPI: `GET /api/public/v1/account/motor-block-deletions/{jobId}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Reactivate a deactivated Motor Block",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/motor-blocks/{{motorBlockId}}/reactivate",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "motor-blocks",
                "{{motorBlockId}}",
                "reactivate"
              ]
            },
            "description": "No confirmation needed (restores service). Refused with 409 motor_block_domain_required if the block has no verified production domain, or motor_block_delete_in_progress if deletion was already queued.\n\nOpenAPI: `POST /api/public/v1/account/motor-blocks/{id}/reactivate`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Rename a Motor Block (display name only)",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/motor-blocks/{{motorBlockId}}/name",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "motor-blocks",
                "{{motorBlockId}}",
                "name"
              ]
            },
            "description": "Changes the display name. Rename NEVER changes the SMTP username or any credential; an SMTP username changes only at the sandbox-to-production conversion boundary.\n\nOpenAPI: `PATCH /api/public/v1/account/motor-blocks/{id}/name`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Switch a Motor Block between transactional and general_purpose",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/motor-blocks/{{motorBlockId}}/type",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "motor-blocks",
                "{{motorBlockId}}",
                "type"
              ]
            },
            "description": "Requires `confirm: true` (else 400 confirmation_required). Only `transactional` and `general_purpose` are accepted; marketing, portal and sandbox blocks fail closed. Auth method is read-only and never changed by this route.\n\nOpenAPI: `PATCH /api/public/v1/account/motor-blocks/{id}/type`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"transactional\",\n  \"confirm\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Account Sandbox",
      "item": [
        {
          "name": "Convert account sandbox to a verified production domain (OAuth/Public API bearer)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/sandbox/convert",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "sandbox",
                "convert"
              ]
            },
            "description": "Account-scoped counterpart to POST /api/developer/sandbox/convert — same pure service function, so behavior cannot drift between a dashboard session and an OAuth-delegated agent. Requires an active Motorical subscription and a domain already added + verified. The response always includes `activeAuthMethod` (the converted Motor Block's configured auth method — Password, API Key, OAuth 2.0, or mTLS; read-only). When authenticated via an OAuth/Delegation grant it additionally includes `credentialsLocation`, a dashboard URL where the actual credential value can be viewed or regenerated — this endpoint never returns the raw credential itself. Conversion is a one-way production identity transition: the block keeps its id, password, API keys, auth method and grant coverage, but takes the chosen (or a deterministic fallback) production `name` and `type`, and its SMTP username is REPLACED with a production-derived one. Existing SMTP clients must switch to the new username; the response states the change in `previousSmtpUsername`, `smtpUsername`, `credentialChanges` and `integrationActionRequired`.\n\nOpenAPI: `POST /api/public/v1/account/sandbox/convert`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"domainId\": \"{{motorBlockId}}\",\n  \"name\": \"string\",\n  \"type\": \"transactional\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get account sandbox status (OAuth/Public API bearer)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/sandbox",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "sandbox"
              ]
            },
            "description": "Account-scoped counterpart to GET /api/developer/sandbox — same underlying service, reachable with an OAuth Delegation header or Public API bearer token instead of a dashboard session. The allowlist is the effective list (sandbox recipients, link-confirmed recipients, the account address and the test sink, minus any address that clicked stop); domain.sandbox true means the Motorical-owned sandbox domain, false means your own domain.\n\nOpenAPI: `GET /api/public/v1/account/sandbox`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Provision account sandbox (OAuth/Public API bearer)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/sandbox/provision",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "sandbox",
                "provision"
              ]
            },
            "description": "Account-scoped counterpart to POST /api/developer/sandbox/provision — creates `<handle>.sandbox.motorical.com` (a Motorical-owned `.sandbox` domain, instant, no DNS) and a locked, outbound-allowlisted Motor Block. A Free account that adds and fully verifies its own domain gets a sandbox Motor Block on that domain automatically, with no provisioning call, when automatic provisioning is enabled; otherwise call this route. Idempotent per account. Credentials are returned inline in the 201 body only for a plain Public API bearer token with no OAuth/Delegation grant attached (unlike the dashboard-JWT-only /api/developer/sandbox/provision above, which always returns them). When the caller is authenticated via an OAuth-delegated grant (MCP client or a Delegation header), the response instead returns `credentialsAvailable: false` plus a `credentialsNote`, and the raw credential is never included — retrieve it later via the `credentialsLocation` dashboard link returned by POST /account/sandbox/convert.\n\nOpenAPI: `POST /api/public/v1/account/sandbox/provision`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"handle\": \"string\",\n  \"channel\": \"cli\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Analytics",
      "item": [
        {
          "name": "Account identity, plan and grant",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/whoami",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "whoami"
              ]
            },
            "description": "Who the credential acts for, account-wide (no motorBlockId needed): the account id, owner email and name, the plan name and status, and, for an OAuth grant, the client, the scopes it holds, the Motor Blocks it covers, when it was granted, canAdd (permissions it could still be given, available:false where the plan does not allow it) and addInDashboard. grant is null when the call is not made over an OAuth grant. account.billing carries the plan price (amount in minor units, currency, interval), trial end, current period end and next renewal date, whether it cancels at period end and when it ends, this month's sends against the plan cap (the dashboard figure), and whether the payment method is ok or failing. It is returned to every connection that can call whoami, needs no extra scope, and never includes invoices, receipts, card details or tax ids. A field that cannot be resolved is null with its reason under billing.unavailable.\n\nOpenAPI: `GET /api/public/v1/account/whoami`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Account-wide rate limits",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/rate-limits",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "rate-limits"
              ]
            },
            "description": "Account-wide send-quota usage vs the hourly and daily account cap, aggregated across all of the account's motor blocks.\n\nOpenAPI: `GET /api/public/v1/account/rate-limits`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Anomaly detection (bounce spikes)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/anomalies",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "anomalies"
              ]
            },
            "description": "Anomaly detection (bounce spikes)\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/anomalies`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Composed account state",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/account/state",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "account",
                "state"
              ]
            },
            "description": "One composed answer for \"where does this account stand\": domain verification, DNS readiness, Motor Block existence, and sandbox status in a single call, account-wide (no motorBlockId needed, works before any Motor Block exists).\n\nOpenAPI: `GET /api/public/v1/account/state`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Daily summary",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/daily-summary",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "daily-summary"
              ],
              "query": [
                {
                  "key": "days",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "Daily rollups for a recent window (sent, delivered, bounced, complained, plus rates).\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/daily-summary`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Deliverability by recipient domain",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/deliverability?limit=50",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "deliverability"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "description": "",
                  "disabled": false
                }
              ]
            },
            "description": "Deliverability by recipient domain\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/deliverability`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delivery reputation score",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/reputation",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "reputation"
              ]
            },
            "description": "The delivery reputation score (0-100), computed on request from this Motor Block delivery outcomes over the token retention window. It is not the dashboard Health score (a different formula over the dashboard timeframe), not the internal score behind automatic throttling, and not domain health (SPF, DKIM, DMARC), so those numbers differ by design; the response labels itself with kind, basis, formula and notTheSameAs. The overview reputation block is the same payload.\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/reputation`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "DNS records to publish for one domain",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/domains/{{id}}/dns-records",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "domains",
                "{{id}}",
                "dns-records"
              ],
              "query": [
                {
                  "key": "lookup",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "The DNS records to publish for the domain and what each is for. Add lookup=true to also check what DNS currently answers (slower, live lookups).\n\nOpenAPI: `GET /api/public/v1/domains/{id}/dns-records`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Email-authentication health of one domain",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/domains/{{id}}/health",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "domains",
                "{{id}}",
                "health"
              ],
              "query": [
                {
                  "key": "refresh",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "SPF, DKIM, DMARC, status and issues for one domain by id, cache-first with a source field. Works for a domain that has no Motor Block yet. Add refresh=true for a live DNS check.\n\nOpenAPI: `GET /api/public/v1/domains/{id}/health`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Event stream (SSE)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/events/stream",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "events",
                "stream"
              ]
            },
            "description": "Event stream (SSE)\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/events/stream`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Metrics series and totals",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/metrics",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "metrics"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "interval",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "Aggregated metrics (sent, delivered, bounced, complained) over hour/day buckets.\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/metrics`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Motor Block overview",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/overview",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "overview"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "One-call overview including totals, rates, reputation, rate limits, anomalies, and top domains.\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/overview`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Motor Block rate limits",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/rate-limits",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "rate-limits"
              ]
            },
            "description": "Current usage vs burst, hourly, and daily rate limits.\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/rate-limits`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "One sending domain",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/domains/{{id}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "domains",
                "{{id}}"
              ]
            },
            "description": "One domain of the account by id: verified, DNS authentication flags, DKIM mode, created. Read-only, no keys or tokens. 404 when the id is not one of your domains.\n\nOpenAPI: `GET /api/public/v1/domains/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Provider breakdown (gmail, outlook, yahoo, other)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/providers?limit=50",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "providers"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "description": "",
                  "disabled": false
                }
              ]
            },
            "description": "Provider breakdown (gmail, outlook, yahoo, other)\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/providers`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "SMTP error code diagnostics",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/error-codes?limit=50",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "error-codes"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "description": "",
                  "disabled": false
                }
              ]
            },
            "description": "The SMTP codes recorded for this Motor Block in the window, most frequent first, each with a specific diagnosis. Counts are recipient outcomes: the same rows GET /motor-blocks/{id}/logs?smtpCode=<code> returns. The stored code is basic (550), enhanced (5.7.1) or a bucket (200 delivered to a Motorical-hosted mailbox; 400 and 500 when the exact code was not recorded).\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/error-codes`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Communications",
      "item": [
        {
          "name": "Add a suppression",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/suppressions",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "suppressions"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Account-wide: the address is suppressed for every workspace of the account. reason defaults to manual; the recipient-initiated reason is unsubscribe (older records may read unsubscribed, which is treated the same).\n\nOpenAPI: `POST /comm-api/api/suppressions`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Add contacts to a list",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/contacts",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "contacts"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/lists/{id}/contacts`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Add up to 1001 contacts as JSON, with a dry run and a result for every row",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/contacts/bulk",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "contacts",
                "bulk"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Adds up to 1001 contacts as JSON: { contacts: [{ email, name?, identity_name?, phone? }], dry_run?, on_existing: keep (default) or update, source_label?, consent_given? }. Every row gets its own result and the summary adds up to the number received. Row outcomes: created, added_existing, already_in_list, invalid, duplicate_in_request, rejected_unsafe, skipped_unsubscribed, skipped_bounced, skipped_inactive, skipped_suppressed. People who unsubscribed, bounced or are suppressed are never re-added. With dry_run true nothing is written and the result shows what WOULD change (would_change). Use the CSV import for larger files. Import notes are added to the list card.\n\nOpenAPI: `POST /comm-api/api/lists/{id}/contacts/bulk`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"contacts\": [\n    {\n      \"email\": \"string\",\n      \"name\": \"string\",\n      \"phone\": \"string\",\n      \"identity_type\": \"string\",\n      \"identity_name\": \"string\"\n    }\n  ],\n  \"dry_run\": true,\n  \"on_existing\": \"keep\",\n  \"source_label\": \"string\",\n  \"consent_given\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Apply the safe fixes to a template in memory",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/fix",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "fix"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Applies only the safe, deterministic fixes (an unsubscribe link, a generated text version, a fallback on a bare name tag, removal of scripts, event handlers and javascript: addresses) IN MEMORY and returns result { subject, body_html, body_text }, changes[] and the re-lint (lint_after). Pass types[] to apply only some. It never saves anything (applied is false): to keep the result, PATCH the template with result. Anything that needs a human (alt text, link destinations, wording, http links) stays a suggestion.\n\nOpenAPI: `POST /comm-api/api/templates/fix`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Archive a list (hidden from the default list view, refused by campaigns)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/archive",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "archive"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/lists/{id}/archive`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Bulk delete contact lists",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Lists in use are refused and named in failed[] with reason LIST_IN_USE (same rule as the single delete); the rest are deleted. Takes the same contacts (keep or delete_orphans) and dry_run fields as the single delete. If every list is in use the answer is 409 LIST_IN_USE.\n\nOpenAPI: `DELETE /comm-api/api/lists`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Bulk delete recipients",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/bulk-delete",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "bulk-delete"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/recipients/bulk-delete`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Bulk delete recipients matching a filter",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/bulk-delete-by-filter",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "bulk-delete-by-filter"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/recipients/bulk-delete-by-filter`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Bulk delete templates",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Deletes several templates: body { \"ids\": [...] }, at most 100 (400 IDS_REQUIRED, 400 TOO_MANY_IDS). Every id gets its own result: deleted[] lists the ones deleted; failed[] lists the rest with a reason: INVALID_ID, NOT_FOUND (never reported as deleted) or TEMPLATE_IN_USE (with used_by and used_by_count). When nothing was deleted the status is 409 (in use), 404 (all not found) or 400.\n\nOpenAPI: `DELETE /comm-api/api/templates`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Bulk import suppressions",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/suppressions/bulk",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "suppressions",
                "bulk"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/suppressions/bulk`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Bulk move recipients",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/bulk-move",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "bulk-move"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/recipients/bulk-move`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cancel a draft, scheduled or sending campaign (final)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/cancel",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "cancel"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Allowed for draft, scheduled and sending campaigns. Cancelled is final: a cancelled or completed campaign answers 409 INVALID_STATE. Duplicate a cancelled campaign to send it again. Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `POST /comm-api/api/campaigns/{id}/cancel`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Check a template against the rulebook",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/lint",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "lint"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Checks a saved template (template_id) or a draft against the rulebook. Findings come from a closed vocabulary; each has id, type, severity, blocks_scheduling, location { field, line, selector, excerpt }, why, and where one exists fix { summary, before, after, auto_applicable }. Also returns summary counts, blocks_scheduling and fixable (the types fixTemplate can repair). Read-only.\n\nOpenAPI: `POST /comm-api/api/templates/lint`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Check every link of a template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/check-links",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "check-links"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Every link in the HTML with its kind (link, mailto, tel, unsubscribe, consent), tracked (and the reason when not), and problems[] from: merge_variable_in_url, relative_link, non_web_link_scheme, http_not_https, url_shortener, link_text_domain_mismatch. Returns totals (total, tracked, with_problems). Read-only.\n\nOpenAPI: `POST /comm-api/api/templates/check-links`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cleanup deleted campaigns",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/cleanup",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "cleanup"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `DELETE /comm-api/api/campaigns/cleanup`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Cleanup deleted recipients",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/cleanup",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "cleanup"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `DELETE /comm-api/api/recipients/cleanup`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Communications API health",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/health",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "health"
              ]
            },
            "description": "Communications Block endpoint.\n\nOpenAPI: `GET /comm-api/api/health`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Compare two lists: who is only in one, who is in both",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/compare?a={{a}}&b={{b}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "compare"
              ],
              "query": [
                {
                  "key": "a",
                  "value": "{{a}}",
                  "description": "",
                  "disabled": false
                },
                {
                  "key": "b",
                  "value": "{{b}}",
                  "description": "",
                  "disabled": false
                }
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Query: a and b (two different list ids). Returns only_a, only_b, both and union (people), and the same four counts for the ELIGIBLE people (eligible), so the overlap between two lists is a number instead of a guess.\n\nOpenAPI: `GET /comm-api/api/lists/compare`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Counts for the whole audience or a filter: by status, consent, engagement, domain and list; no addresses",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/summary",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "summary"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Counts only, for the whole audience or a filter. Body: { filter?, top? (1 to 20, default 10) }. Filter keys (all optional, combined with AND, unknown keys are refused with 400 UNKNOWN_FILTER_KEY): status[] (new, sent, delivered, engaged, bounced, unsubscribed, complained), engagement[] (none, low, medium, high), consent_kind (explicit, inferred, none), suppressed (boolean), list_id[], list_id_not[] (on none of these lists), no_list (boolean), campaign_id[], batch_id (an import batch), email_domain (exactly the part after the at sign, for example example.com), search, date_from, date_to (when the person was added), last_activity_from, last_activity_to, never_active (boolean). Returns { total, filter, by_status, by_consent, by_engagement, top_domains[], top_lists[], on_no_list }. No addresses. Read-only.\n\nOpenAPI: `POST /comm-api/api/recipients/summary`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create a campaign",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Optional: description (max 1000; what this campaign is and why) and exclude_list_ids (up to 50 lists whose ACTIVE members are never sent to, even if they are on a list in list_ids). Exclusions are fixed at creation, must be lists of this workspace, cannot be built-in system views, and cannot also be in list_ids (400 EXCLUDE_OVERLAPS_LISTS). Other codes: TOO_MANY_EXCLUDE_LISTS, LIST_NOT_FOUND, SYSTEM_LIST_NOT_ALLOWED. An excluded list can never be deleted while a campaign excludes it. Creates a draft. Required: name (max 200 characters), template_id, list_ids (1 to 50), motor_block_id (a marketing Motor Block assigned to the workspace). Optional: from_address (must be an address at the Motor Block's own domain, default noreply@<domain>; otherwise 400 FROM_DOMAIN_MISMATCH), from_name (cleaned, not rejected: control characters, quotes, < > and @ are removed; at most 100 characters; when empty, recipients see the workspace name as the From name), reply_to (one email address on any domain, replies go there; 400 INVALID_REPLY_TO; without it replies go to the From address), google_analytics, consent_request. The template and every list must belong to this workspace (404 TEMPLATE_NOT_FOUND / LIST_NOT_FOUND). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `POST /comm-api/api/campaigns`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create a Communications workspace",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `POST /comm-api/api/workspaces`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create a contact list",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). A list explains itself. Card fields: description (what it is for, max 1000, no counts), kind (one of subscribers, customers, leads, event, test, reengagement, derived, system_view, other) and source_label (where the contacts came from, max 200). The API only warns about a thin description (description_check); the MCP and the dashboard insist on a good one. Send X-Motorical-Actor: agent, dashboard or api to record who made it (informational, never a permission).\n\nOpenAPI: `POST /comm-api/api/lists`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create a smart list from filters",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/from-filter",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "from-filter"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Copies the matching contacts into a new list ONCE (max 10000): a snapshot, which does not follow the filter later. The card says so (snapshot: true) and records the filter. Accepts the same card fields as POST /lists.\n\nOpenAPI: `POST /comm-api/api/lists/from-filter`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create a template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Card fields: description (max 1000; what it is for and when to use it), kind (one of newsletter, promotion, announcement, welcome, reengagement, event, notice, test, other) and derived_from (the id of a template of this workspace it was copied from). The response carries description_check (warnings only). Creates a template after the same validation as templates/validate; any error is refused (422 TEMPLATE_INVALID, with the full validation result in validation). Warnings do not block saving a draft template, but those marked blocksScheduling: true will block scheduling. Name at most 200 characters. type is html or text and cannot be changed later.\n\nOpenAPI: `POST /comm-api/api/templates`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create a template from a starter and the brand kit",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/from-starter",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "from-starter"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Builds the email from a starter, slots and the workspace brand kit (an inline brand overrides it field by field) and SAVES it as a normal html template. Body: starter, name (required), slots, subject? (defaults to the headline), description?, kind? (defaults to the starter kind), brand?. Returns template, lint, kit_source (stored, inline or stored+inline) and starter. Later edits are normal edits; nothing stays linked to the starter. Same named refusals as the render (BRAND_KIT_INCOMPLETE and the slot codes), plus MISSING_NAME and INVALID_KIND; nothing is written when it refuses.\n\nOpenAPI: `POST /comm-api/api/templates/from-starter`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create a workspace webhook",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/webhooks",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "webhooks"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Creates a webhook for this workspace; X-Tenant-Id must equal the workspace id in the path (otherwise 404 WORKSPACE_NOT_FOUND). Body: url (https, a public address) and events (a non-empty list of campaign.completed, message.delivered, message.bounced, message.complained, contact.unsubscribed, contact.consent_given). The 201 response returns the signing secret once; it is never shown again. Each delivery is a POST of a JSON body signed with HMAC-SHA256 in X-Motorical-Signature, with the event name in X-Motorical-Event. 400 INVALID_EVENTS, 400 WEBHOOK_URL_UNSAFE, 409 WEBHOOK_LIMIT (10 webhooks per workspace).\n\nOpenAPI: `POST /comm-api/api/workspaces/{id}/webhooks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Create or update a contact",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/contacts/upsert",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "contacts",
                "upsert"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/contacts/upsert`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete a campaign",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Moves the campaign to the recycle bin. A scheduled campaign is cancelled in the same step so it cannot send from the bin; a campaign that is sending cannot be deleted (409). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `DELETE /comm-api/api/campaigns/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete a Communications workspace and everything in it (irreversible)",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`. Permanently deletes the workspace and everything in it: its people, lists, templates, campaigns and webhooks. This cannot be undone. Call it first with { \"dryRun\": true } to get the counts that would go (willDelete: people, lists, templates, campaigns) and nothing is deleted. The real call must repeat the workspace name exactly: { \"confirmName\": \"<name>\" } (400 CONFIRM_NAME_MISMATCH). Refused with 409 WORKSPACE_IS_DEFAULT for the default workspace (make another workspace the default first) and with 409 WORKSPACE_HAS_ACTIVE_CAMPAIGNS, listing the campaigns, while any campaign is scheduled or sending. Account suppressions are shared by every workspace and are not touched, and the sending Motor Block stays in your account. Another account's workspace answers 404. This is a dashboard-grade action: an MCP assistant can never delete a workspace.\n\nOpenAPI: `DELETE /comm-api/api/workspaces/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete a contact",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/contacts/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "contacts",
                "{{id}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `DELETE /comm-api/api/contacts/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete a contact list",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). A list that a draft, scheduled or sending campaign sends to, or that ANY campaign excludes (finished or not), cannot be deleted: 409 LIST_IN_USE names the campaigns (used_by with role include or exclude, used_by_count). Deleting it would silently change who those campaigns reach. Query or body field contacts: keep (default) leaves the people in the workspace; delete_orphans also erases the people who are on no other list. People who unsubscribed, bounced, complained or are suppressed are always kept. dry_run=true returns the numbers (candidates, would_delete, kept) and changes nothing. The answer carries contacts: { mode, candidates, deleted, kept }.\n\nOpenAPI: `DELETE /comm-api/api/lists/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete a template",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "{{id}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Deletes a template that no campaign uses. A campaign keeps its template until the campaign is permanently deleted, so finished campaigns and campaigns in the recycle bin also block it: the answer is 409 TEMPLATE_IN_USE with used_by (id, name, status, in_recycle_bin) and used_by_count naming them. 404 when there is no such template in this workspace. Add ?dry_run=true to delete nothing and get { dry_run: true, would_delete, template, used_by_count, used_by }: what would be deleted and which campaigns use it.\n\nOpenAPI: `DELETE /comm-api/api/templates/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete a workspace webhook",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/webhooks/{{webhookId}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "webhooks",
                "{{webhookId}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Deletes the webhook together with its undelivered events. 404 WEBHOOK_NOT_FOUND.\n\nOpenAPI: `DELETE /comm-api/api/workspaces/{id}/webhooks/{webhookId}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Delete contacts that are on no list, with a dry run",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/contacts/cleanup-orphans",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "contacts",
                "cleanup-orphans"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/contacts/cleanup-orphans`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Discover or provision Communications workspaces",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/comm/tenant",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "comm",
                "tenant"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `GET /api/comm/tenant`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Duplicate a campaign into a new draft",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/duplicate",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "duplicate"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Works on a campaign in any status. Creates a new draft named \"<name> (copy)\" with the same template, lists, Motor Block, From address and name, Reply-To, consent flag, tracking settings, timezone and pacing. The schedule, compile and all results are not copied. The Motor Block, template and lists are re-checked; lists deleted since are dropped, and if none are left the answer is 409 SOURCE_LISTS_GONE. A From address on a domain the Motor Block no longer uses falls back to noreply@<block domain>. Returns the new campaign with list_ids and copied_from. Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `POST /comm-api/api/campaigns/{id}/duplicate`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Duplicate a template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/{{id}}/duplicate",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "{{id}}",
                "duplicate"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Copies the template (bodies, kind, description) into a new one named \"<name> (copy)\" with derived_from set to the original. The original is never touched.\n\nOpenAPI: `POST /comm-api/api/templates/{id}/duplicate`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Email a contact their GDPR data export",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/gdpr/export",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "gdpr",
                "export"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Sends the export for the address in the body (email, format json or csv) to that address. This sends mail, which is why POST is the supported method. 400 INVALID_EMAIL / INVALID_FORMAT, 404 when the contact does not exist in this workspace.\n\nOpenAPI: `POST /comm-api/api/gdpr/export`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Email a contact their GDPR data export (deprecated: use POST)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/gdpr/export",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "gdpr",
                "export"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Deprecated: it sends mail, so a prefetch or a stray link can trigger it. Use POST.\n\nOpenAPI: `GET /comm-api/api/gdpr/export`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Export list contacts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/contacts/export",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "contacts",
                "export"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/lists/{id}/contacts/export`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Export recipients",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/export",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "export"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/recipients/export`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Export tracking events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/tracking/export",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "tracking",
                "export"
              ],
              "query": [
                {
                  "key": "event_type",
                  "value": "",
                  "description": "Comma-separated event types, such as opened,clicked.",
                  "disabled": true
                },
                {
                  "key": "campaign_id",
                  "value": "",
                  "description": "Comma-separated campaign UUIDs.",
                  "disabled": true
                },
                {
                  "key": "contact_email",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "date_from",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "date_to",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "view",
                  "value": "",
                  "description": "Defaults to chronological (the raw per-event timeline, unchanged). recipient collapses each campaign recipient to one row at their furthest send-funnel stage (queued, sent, delivered-or-bounced, opened, clicked). complained and unsubscribed are reported as independent flags rather than funnel stages, since a recipient can carry either at any stage -- they never compete with or hide the funnel stage they occurred at. In recipient view, event_type filters on the winning stage (or the flag) rather than on raw per-event rows.",
                  "disabled": true
                }
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Tracking events, summary counts, and CSV export share these filters and hide queued lifecycle rows superseded by a later outcome.\n\nOpenAPI: `GET /comm-api/api/tracking/export`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Filter recipients",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/filter",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "filter"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/recipients/filter`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get a template",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "{{id}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). One template with its bodies, updated_at, used_by (the most recent campaigns that use it: id, name, status, in_recycle_bin) and used_by_count (the total).\n\nOpenAPI: `GET /comm-api/api/templates/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get campaign analytics",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/analytics",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "analytics"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns/{id}/analytics`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get campaign details",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Also returns description, list_ids and exclude_list_ids. One campaign with its latest artifact and audience snapshot, and pacing {state, reason, resumes_at}: state is not_started, running, waiting_for_cap, done or stopped; a waiting_for_cap campaign continues by itself at resumes_at. Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get campaign recipient consent status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/recipient-consent",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "recipient-consent"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns/{id}/recipient-consent`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get campaign stats",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/stats",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "stats"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Counts come from the same per-recipient report as /report and /analytics: sent, delivered, bounced, opened, clicked, unique_opened (security scanners excluded), unique_clicked, the three rates, unsubscribed, and the full report. Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns/{id}/stats`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get click breakdown",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/click-breakdown",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "click-breakdown"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns/{id}/click-breakdown`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get Communications analytics overview",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/analytics/overview",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "analytics",
                "overview"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Ranks every campaign active in the window and reads the same per-recipient report as the campaign endpoints, so the numbers agree.\n\nOpenAPI: `GET /comm-api/api/analytics/overview`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get consent-event analytics",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/consent-events/analytics",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "consent-events",
                "analytics"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/consent-events/analytics`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get current workspace consent settings",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/settings/consent",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "settings",
                "consent"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/settings/consent`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get current workspace open-tracking settings",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/settings/open-tracking",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "settings",
                "open-tracking"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/settings/open-tracking`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get one contact list as a card",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). One list as a card. Written by you: name, description, kind, source_label. Recorded: provenance (created_by, origin, sources, excludes, filter, snapshot_at and dated notes). Computed on every read, never stored: member_count, eligible_count (active, not deleted, not suppressed), unsubscribed_count, bounced_count, other_inactive_count, suppressed_count; used_by and used_by_count (campaigns that send to OR exclude it, each with role include or exclude, recycle bin included); snapshot (true when the membership was copied once and will not follow its source); description_check (warnings only).\n\nOpenAPI: `GET /comm-api/api/lists/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get one template starter",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/starters/{{key}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "starters",
                "{{key}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). One starter with its slots and the order of its blocks.\n\nOpenAPI: `GET /comm-api/api/templates/starters/{key}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get suppression stats",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/suppressions/stats",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "suppressions",
                "stats"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/suppressions/stats`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get the current workspace unsubscribe landing page",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/settings/unsubscribe",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "settings",
                "unsubscribe"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/settings/unsubscribe`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get the per-recipient delivery report for a campaign",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/report",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "report"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Also carries sync { synced, ... }: delivery outcomes arrive from the mail servers with a delay, so a zero in accepted or delivered while synced is false means not known yet, not failed. The single source of campaign results: one row per recipient reduced to the furthest stage reached. Returns funnel (handed_off, accepted, delivered, opened, clicked), outcomes (bounced, failed, complained), engagement, rates, and a basis sentence that says how each number is counted. Apple Mail Privacy Protection and image-proxy opens cannot be told from real opens and are included. Also returns pacing {state, reason, resumes_at, sent, remaining}: state is not_started, running, waiting_for_cap, done or stopped; while waiting_for_cap, reason (burst, hourly, daily, acct_hourly or acct_daily) names the sending limit that was reached and resumes_at says when the campaign continues by itself. A waiting campaign is not stuck. Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns/{id}/report`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get the workspace brand kit",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/settings/brand-kit",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "settings",
                "brand-kit"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). The workspace brand kit: brand_kit as stored, missing (what a starter still needs: sender_name, postal_address), ready_for_starters and effective (the kit with the design defaults a starter would use). Fields: sender_name, postal_address, logo_url (https), colors { text, background, card, primary } as #rrggbb, font (system_sans, arial_sans, verdana_sans, trebuchet_sans, georgia_serif, courier_mono), button_radius (0 to 24), footer_text, reply_to, tone_notes, language, description.\n\nOpenAPI: `GET /comm-api/api/settings/brand-kit`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get tracking stats",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/tracking/stats",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "tracking",
                "stats"
              ],
              "query": [
                {
                  "key": "event_type",
                  "value": "",
                  "description": "Comma-separated event types, such as opened,clicked.",
                  "disabled": true
                },
                {
                  "key": "campaign_id",
                  "value": "",
                  "description": "Comma-separated campaign UUIDs.",
                  "disabled": true
                },
                {
                  "key": "contact_email",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "date_from",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "date_to",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "view",
                  "value": "",
                  "description": "Defaults to chronological (the raw per-event timeline, unchanged). recipient collapses each campaign recipient to one row at their furthest send-funnel stage (queued, sent, delivered-or-bounced, opened, clicked). complained and unsubscribed are reported as independent flags rather than funnel stages, since a recipient can carry either at any stage -- they never compete with or hide the funnel stage they occurred at. In recipient view, event_type filters on the winning stage (or the flag) rather than on raw per-event rows.",
                  "disabled": true
                },
                {
                  "key": "days",
                  "value": "",
                  "description": "Optional rolling-day window. When omitted with no date_from, the summary covers all visible events.",
                  "disabled": true
                }
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Tracking events, summary counts, and CSV export share these filters and hide queued lifecycle rows superseded by a later outcome. The total and by_type values describe the same visible population returned by the tracking events endpoint. In recipient view, the response instead carries by_status (the non-overlapping funnel breakdown, one recipient per stage), plus separate complained and unsubscribed counts.\n\nOpenAPI: `GET /comm-api/api/tracking/stats`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get unsubscribe analytics",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/unsubscribe-analytics",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "unsubscribe-analytics"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/unsubscribe-analytics`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get unsubscribe trends",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/unsubscribe-trends",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "unsubscribe-trends"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/unsubscribe-trends`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get workspace consent settings",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/settings/consent",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "settings",
                "consent"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `GET /comm-api/api/workspaces/{id}/settings/consent`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get workspace open-tracking settings",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/settings/open-tracking",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "settings",
                "open-tracking"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `GET /comm-api/api/workspaces/{id}/settings/open-tracking`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get workspace unsubscribe landing page",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/settings/unsubscribe",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "settings",
                "unsubscribe"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `GET /comm-api/api/workspaces/{id}/settings/unsubscribe`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Import bounces into suppressions",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/suppressions/import-bounces",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "suppressions",
                "import-bounces"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/suppressions/import-bounces`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Import list contacts from CSV",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/contacts/import",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "contacts",
                "import"
              ],
              "query": [
                {
                  "key": "dryRun",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "consentGiven",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Imports a CSV file (multipart field file, at most 10 MB). Query or form fields: dryRun=true validates without writing; consentGiven=true is the list owner's own statement that these people agreed to receive marketing email. Tolerates a UTF-8 BOM, a semicolon delimiter, a title row above the header and common header aliases (for example Email Address). An unsubscribed or bounced contact is never re-activated or given consent. A name or company value that looks like a spreadsheet formula rejects the whole file (400, with the rows named); the JSON route rejects only that row. At most 10 uploads per 15 minutes per workspace. For up to 1001 rows prefer the JSON route (per-row results).\n\nOpenAPI: `POST /comm-api/api/lists/{id}/contacts/import`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Is one address suppressed: the reason, the source and since when (account-wide)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/suppressions/lookup?email={{email}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "suppressions",
                "lookup"
              ],
              "query": [
                {
                  "key": "email",
                  "value": "{{email}}",
                  "description": "",
                  "disabled": false
                }
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Query: email (the full address). Returns { suppressed: false } or { suppressed: true, reason, source, since }. Suppressions are account-wide. Read-only.\n\nOpenAPI: `GET /comm-api/api/suppressions/lookup`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List campaign clicks",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/clicks",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "clicks"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns/{id}/clicks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List campaign events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/events",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "events"
              ],
              "query": [
                {
                  "key": "status",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "redact",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Paged (page, pageSize up to 200). status filters by event type. redact=true removes the recipient IP address and user agent from each event. Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns/{id}/events`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List campaign recipients",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/recipients",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "recipients"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns/{id}/recipients`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List campaigns",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Lists the workspace campaigns. Each carries pacing {state, reason, resumes_at}: state is not_started, running, waiting_for_cap, done or stopped; while waiting_for_cap, reason names the sending limit reached and resumes_at says when it continues. compact=true omits compiled bodies. Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List Communications workspaces",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `GET /comm-api/api/workspaces`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List consent events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/consent-events",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "consent-events"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/consent-events`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List contact lists",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Each list is returned as a card: description, kind, source_label, provenance, snapshot and computed counts (see GET /lists/{id}), plus description_check.\n\nOpenAPI: `GET /comm-api/api/lists`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List contacts in a list",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/contacts",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "contacts"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/lists/{id}/contacts`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List deleted campaigns",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/deleted",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "deleted"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `GET /comm-api/api/campaigns/deleted`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List deleted recipients",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/deleted",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "deleted"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/recipients/deleted`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List marketing Motor Blocks assigned to the workspace",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/current/motor-blocks",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "current",
                "motor-blocks"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/workspaces/current/motor-blocks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List Motor Blocks assigned to a workspace",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/motor-blocks",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "motor-blocks"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `GET /comm-api/api/workspaces/{id}/motor-blocks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List recipient campaign groupings",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/campaigns",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "campaigns"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/recipients/campaigns`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List recipient filter facets",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/facets",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "facets"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/recipients/facets`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List suppressions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/suppressions",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "suppressions"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/suppressions`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List templates",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Each template also carries description, kind, derived_from and description_check. Lists the workspace templates (no bodies). Each carries used_by_count: how many campaigns use it, including finished campaigns and campaigns in the recycle bin.\n\nOpenAPI: `GET /comm-api/api/templates`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List the template starters",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/starters",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "starters"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). The seven starter skeletons: newsletter, promotion, announcement, welcome, reengagement, event, notice. Each lists its slots (key, type text, paragraph or url, required, max length). Starters produce table-based, inline-CSS email with a hidden preheader, a greeting with a fallback, a footer with the sender and postal address and an unsubscribe link, and a plain-text twin.\n\nOpenAPI: `GET /comm-api/api/templates/starters`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List the webhooks of a workspace",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/webhooks",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "webhooks"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Lists the workspace webhooks with url, events, enabled, failure_count (consecutive failed attempts) and last_delivery_status. The secret is never returned.\n\nOpenAPI: `GET /comm-api/api/workspaces/{id}/webhooks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List unsubscribe events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/unsubscribe-events",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "unsubscribe-events"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/unsubscribe-events`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Make a new list from other lists (union, intersection or difference) or from an audience filter (operation filter)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/derive",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "derive"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Makes a new list from other lists, or from an audience filter, and records how. Body: { name, operation: union | intersection | difference | filter, filter (only for operation filter, with at least one key; the same keys as POST /recipients/search; give no source or exclude lists then), source_list_ids (1 to 10; an intersection needs two), exclude_list_ids (only for a difference), description?, kind? (default derived), source_label?, dry_run? }. The result is a snapshot (members copied once, max 10000; later changes to the sources do not flow in). Members are active contacts; suppressed ones are copied but stay ineligible and are counted separately. The card records the sources and exclusions, and they are readable with GET /lists/{id}/relations. dry_run true returns the counts without creating anything.\n\nOpenAPI: `POST /comm-api/api/lists/derive`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Permanently delete a campaign",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/permanent",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "permanent"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `DELETE /comm-api/api/campaigns/{id}/permanent`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Permanently delete a recipient",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/{{id}}/permanent",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "{{id}}",
                "permanent"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `DELETE /comm-api/api/recipients/{id}/permanent`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Permanently delete several deleted recipients at once",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/bulk-permanent-delete",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "bulk-permanent-delete"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Permanently deletes several contacts that are already in the recycle bin, in one request. Body: { \"recipient_ids\": [\"...\"] } (or \"ids\"). Only this workspace's deleted contacts are touched; anything else in the list is ignored. Irreversible: the contacts, their list memberships and their event history are removed. Returns { deleted_count }; 400 when the id list is missing or empty.\n\nOpenAPI: `POST /comm-api/api/recipients/bulk-permanent-delete`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Preview-compile a draft campaign (optional: scheduling compiles by itself)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/compile",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "compile"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). The response carries audience: why the audience is the size it is. lists[] (member_count, eligible_count each), list_members_total, unique_contacts, overlap_removed, included (= the recipient count), and excluded { unsubscribed, bounced, other_inactive, suppressed, excluded_by_list, consent_not_eligible }; adds_up is true when included plus excluded equals unique_contacts. A person excluded for several reasons counts once, under the first reason in that order. Optional preview of the compiled message (sanitised HTML, tracked links, audience snapshot) for a draft or scheduled campaign. Scheduling always compiles by itself, so this is never a required step. 400 SECURITY_VALIDATION_FAILED when the content fails the security check; a sending, completed or cancelled campaign answers 409 INVALID_STATE. Also returns totalRecipients and a forecast (same shape as in schedule: how long the campaign takes under the Motor Block and account sending limits, with enforced telling whether they apply to campaigns yet; null when it cannot be known) and warnings, so call it before schedule. It never refuses on the forecast. Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `POST /comm-api/api/campaigns/{id}/compile`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Queue a test event for a workspace webhook",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/webhooks/{{webhookId}}/test",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "webhooks",
                "{{webhookId}}",
                "test"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Queues one event named test for this webhook; it is sent like any other delivery. 202 when queued; 404 WEBHOOK_NOT_FOUND.\n\nOpenAPI: `POST /comm-api/api/workspaces/{id}/webhooks/{webhookId}/test`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Remove a contact from a list",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/contacts/{{contactId}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "contacts",
                "{{contactId}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `DELETE /comm-api/api/lists/{id}/contacts/{contactId}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Remove a suppression (a spam-complaint one needs acknowledge_complaint=true)",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/suppressions/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "suppressions",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "acknowledge_complaint",
                  "value": "",
                  "description": "Must be true to remove a spam-complaint suppression.",
                  "disabled": true
                }
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Suppressions are account-wide, shared by every workspace of the account. A suppression whose reason is a spam complaint is removed only on purpose: without acknowledge_complaint=true the answer is 409 COMPLAINT_ACKNOWLEDGEMENT_REQUIRED.\n\nOpenAPI: `DELETE /comm-api/api/suppressions/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Render a starter with a brand kit, without saving",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/starters/{{key}}/render",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "starters",
                "{{key}}",
                "render"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Dry run: the finished email for the stored brand kit (a brand object in the body overrides it field by field) and slots, plus its lint. Nothing is saved. Refusals are named: BRAND_KIT_INCOMPLETE (missing[] lists sender_name and/or postal_address: ask the person, never invent them), MISSING_SLOT and UNKNOWN_SLOT (slots[]), SLOT_TOO_LONG, INVALID_SLOT_URL (links must be full https addresses without merge tags), STARTER_NOT_FOUND.\n\nOpenAPI: `POST /comm-api/api/templates/starters/{key}/render`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Render a template for a contact or a sample",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/preview",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "preview"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). What a recipient will see, rendered by the same renderer the sender uses. Body: template_id OR an unsaved draft (subject with body_html and/or body_text), and optionally contact_id (a real contact of this workspace) or sample { name, email, identity_name }. Returns renders[]: with_name, and without_name when the template uses a name variable (so the fallback text is visible), each with subject, body_html and body_text; text_source (template when it has its own text, generated otherwise); a links table (tracked or not, and why); and notes. Unsubscribe and consent links are example addresses. Read-only; sends nothing.\n\nOpenAPI: `POST /comm-api/api/templates/preview`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Replace workspace Motor Block assignments",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/motor-blocks",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "motor-blocks"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `PUT /comm-api/api/workspaces/{id}/motor-blocks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Resolve a sending domain to a companion marketing Motor Block",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{motorBlockId}}/motor-blocks/from-domain",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{motorBlockId}}",
                "motor-blocks",
                "from-domain"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `POST /comm-api/api/workspaces/{id}/motor-blocks/from-domain`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Restore a campaign",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/restore",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "restore"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `PATCH /comm-api/api/campaigns/{id}/restore`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Restore a recipient",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/{{id}}/restore",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "{{id}}",
                "restore"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `PATCH /comm-api/api/recipients/{id}/restore`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Restore an archived list",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/unarchive",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "unarchive"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/lists/{id}/unarchive`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Restore recipients",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/restore",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "restore"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/recipients/restore`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Resubscribe a contact",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/contacts/{{id}}/resubscribe",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "contacts",
                "{{id}}",
                "resubscribe"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `PUT /comm-api/api/contacts/{id}/resubscribe`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Schedule a draft campaign: compiles it, then sends now or at scheduled_at",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/schedule",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "schedule"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). The response carries the same audience breakdown. A campaign with nobody left to send to is refused with 400 EMPTY_AUDIENCE and the breakdown shows why. Only a draft (or an already scheduled campaign, to reschedule) can be scheduled. In one step it re-checks the Motor Block, template, lists and From address, compiles the campaign (sanitising the HTML and freezing the audience), and moves it to scheduled. With no scheduled_at it sends as soon as the sender picks it up (send_immediately: true). Refused with 400 EMPTY_AUDIENCE when no recipient is eligible, 400 MISSING_CONSENT_URL for a consent-request campaign whose template lacks {{consent_url}}, 400 UNSUBSCRIBE_LINK_MISSING when neither the template html nor its text contains {{unsubscribe_url}}, 400 UNKNOWN_MERGE_VARIABLE when the subject or a body uses a {{tag}} outside the available set (the response lists the offending tags in variables[]; validate the template first), 400 SCHEDULED_AT_IN_PAST, 409 INVALID_STATE for a sending, completed or cancelled campaign. The response carries total_recipients, artifact_version, from_address, forecast and warnings. forecast {estimated_completion_at, estimated_duration_seconds, limiting_cap, caps, assumes_no_other_traffic, enforced} says how long the campaign takes under the Motor Block and account sending limits (limiting_cap: chunk_pacing, burst, hourly, daily, acct_hourly or acct_daily); enforced false means the limits are not applied to campaigns yet. warnings[].type is will_take_hours or will_span_multiple_days (only when enforced). 400 CAMPAIGN_CANNOT_COMPLETE (reason too_long when it would take longer than 7 days, or cap_zero) when the limits are enforced and the campaign could never be sent; nothing is scheduled. forecast is null when it cannot be known; that never blocks scheduling. 400 MERGE_VARIABLE_IN_URL when a link or image address in the template contains a merge variable (it cannot be filled there; urls[] lists each link; only {{unsubscribe_url}} and {{consent_url}} as the whole address are allowed). Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `POST /comm-api/api/campaigns/{id}/schedule`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Search recipients",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/recipients`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Search the whole audience with a structured filter (domain, status, campaign, import batch, dates, on no list, not on these lists); returns each person with the lists they are on",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/recipients/search",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "recipients",
                "search"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Searches EVERY contact in the workspace (the recycle bin is left out). Body: { filter?, limit? (1 to 100, default 25), offset?, sort? (recent, email, activity) }. Filter keys (all optional, combined with AND, unknown keys are refused with 400 UNKNOWN_FILTER_KEY): status[] (new, sent, delivered, engaged, bounced, unsubscribed, complained), engagement[] (none, low, medium, high), consent_kind (explicit, inferred, none), suppressed (boolean), list_id[], list_id_not[] (on none of these lists), no_list (boolean), campaign_id[], batch_id (an import batch), email_domain (exactly the part after the at sign, for example example.com), search, date_from, date_to (when the person was added), last_activity_from, last_activity_to, never_active (boolean). Returns { total, limit, offset, has_more, filter, rows[] } where each row has id, email, name, status, engagement, created_at, last_activity, suppression_reason, list_count and lists[] ({ id, name }, up to 5). Real addresses are returned to the caller; the MCP masks them. Read-only.\n\nOpenAPI: `POST /comm-api/api/recipients/search`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Search tracking events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/tracking/events",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "tracking",
                "events"
              ],
              "query": [
                {
                  "key": "event_type",
                  "value": "",
                  "description": "Comma-separated event types, such as opened,clicked.",
                  "disabled": true
                },
                {
                  "key": "campaign_id",
                  "value": "",
                  "description": "Comma-separated campaign UUIDs.",
                  "disabled": true
                },
                {
                  "key": "contact_email",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "date_from",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "date_to",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "view",
                  "value": "",
                  "description": "Defaults to chronological (the raw per-event timeline, unchanged). recipient collapses each campaign recipient to one row at their furthest send-funnel stage (queued, sent, delivered-or-bounced, opened, clicked). complained and unsubscribed are reported as independent flags rather than funnel stages, since a recipient can carry either at any stage -- they never compete with or hide the funnel stage they occurred at. In recipient view, event_type filters on the winning stage (or the flag) rather than on raw per-event rows.",
                  "disabled": true
                }
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Tracking events, summary counts, and CSV export share these filters and hide queued lifecycle rows superseded by a later outcome.\n\nOpenAPI: `GET /comm-api/api/tracking/events`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Send a template as a test to the account owner only, without a campaign",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/{{id}}/test-send",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "{{id}}",
                "test-send"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Sends one copy of the template, with sample merge values, to the account owner only, without needing a campaign: the recipient is always the owner's verified email and cannot be chosen (409 TEST_RECIPIENT_UNAVAILABLE when the owner has none, or is suspended). Body: { \"motor_block_id\": \"<a marketing Motor Block of this workspace>\" (required; it decides the From domain and DKIM), \"sample\": { \"name\": \"...\", \"identity_name\": \"...\" } (optional) }. The message is marked [TEST], links are placeholders pointing to https://motorical.com/ (links.note says so), and there is no tracking pixel and no List-Unsubscribe header. It writes no events. Limits are the same as a campaign test send (429 TEST_SEND_LIMIT). The response is { sent_to, from, subject, warnings[], links: { placeholder_url, note } }.\n\nOpenAPI: `POST /comm-api/api/templates/{id}/test-send`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Send the campaign as a test to the account owner only",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/test-send",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "test-send"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Sends the campaign, as it would be sent, to the account owner only: the recipient is always the owner's verified email and cannot be chosen (409 TEST_RECIPIENT_UNAVAILABLE when the owner has none, or is suspended). It uses the current template (a template edited after scheduling is not what a scheduled campaign sends) and the real sending path, so the From domain, DKIM and gateway rules are the real ones. The message is marked [TEST], links are placeholders, and there is no tracking pixel and no List-Unsubscribe header. It writes no campaign events, statistics or webhooks. Works in any campaign status. Optional body: { \"sample\": { \"name\": \"...\", \"identity_name\": \"...\" } } supplies the merge values (defaults \"Test Recipient\" and \"Example Co\"). Limits: 5 per campaign per hour and 20 per account per day (429 TEST_SEND_LIMIT, with retryAfter in seconds). The response is { sent_to, subject, warnings[], links: { placeholder_url, note } }: links says that the links in the copy are placeholders pointing to https://motorical.com/ (expected, not a fault); unknown merge variables do not block a test, they are listed in warnings. Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `POST /comm-api/api/campaigns/{id}/test-send`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Set or clear the current workspace unsubscribe landing page",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/settings/unsubscribe",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "settings",
                "unsubscribe"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Sets or clears the page recipients are sent to after they confirm an unsubscribe. Body: { \"unsubscribe_landing_url\": \"https://...\" }, or null to use the default Motorical page. The URL must be https, at most 2048 characters, without credentials, on a domain verified in your account or a subdomain of one (400 LANDING_URL_INVALID, 400 LANDING_DOMAIN_NOT_VERIFIED). It is checked again each time a recipient is redirected; if it no longer qualifies, the default page is shown. Only the confirmation page redirects (303); the one-click unsubscribe from a mail client never does, and the List-Unsubscribe header always points at Motorical.\n\nOpenAPI: `PATCH /comm-api/api/settings/unsubscribe`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "The import batches of a list",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/imports",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "imports"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `GET /comm-api/api/lists/{id}/imports`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "The template rulebook",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/rules",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "rules"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). The template rulebook, generated from the same constants the validator and the lint use: limits, merge variables (and the fallback syntax), what is removed at compile, what is kept but risky, which links are tracked, the text-version rule, and the closed list of finding types with their severity (blocks_scheduling, altered, risk, tip). Read it before drafting or repairing a template.\n\nOpenAPI: `GET /comm-api/api/templates/rules`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "The workspace at a glance: lists, campaigns, templates and how they connect",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/map",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "map"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). The workspace in one call: lists (as short cards), the 50 most recent campaigns (with list_ids, exclude_list_ids and pacing), templates (with used_by_count) and edges between them: sends_to, excludes and uses (campaign to list or template), derived_from and excludes (list to list). truncated tells whether lists or campaigns were cut off.\n\nOpenAPI: `GET /comm-api/api/map`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Undo one import batch, with a dry run",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/imports/{{batchId}}/undo",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "imports",
                "{{batchId}}",
                "undo"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/lists/{id}/imports/{batchId}/undo`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Unsubscribe a contact",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/contacts/{{id}}/unsubscribe",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "contacts",
                "{{id}}",
                "unsubscribe"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `POST /comm-api/api/contacts/{id}/unsubscribe`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update a Communications workspace",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `PATCH /comm-api/api/workspaces/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update a contact list",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). This is a partial update: only the fields you send change (name, description, kind, source_label); null clears one. The card keeps its provenance (who made the list, how, when, with dated notes). Warnings about a thin description come back in description_check, never as a refusal.\n\nOpenAPI: `PATCH /comm-api/api/lists/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update a template",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/{{id}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "{{id}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). The card (description, kind) is saved on its own: a card-only change never re-validates or touches the body, so an older template can still be described. Sending a body field validates the merged result as before. Updates a template. The merged result (your changes on top of the stored template) is validated as a whole, so a partial update cannot leave an invalid template (422 TEMPLATE_INVALID, with validation). type cannot be changed (400 TYPE_IMMUTABLE): create a new template instead. The response includes updated_at. A campaign that is already scheduled keeps the compiled copy it was scheduled with.\n\nOpenAPI: `PATCH /comm-api/api/templates/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update a workspace webhook",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/webhooks/{{webhookId}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "webhooks",
                "{{webhookId}}"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Changes url, events and/or enabled. Setting enabled to true resets the failure count; a webhook the system disabled after repeated failures stays off until you do this. A new url is checked like a new webhook (400 WEBHOOK_URL_UNSAFE). 404 WEBHOOK_NOT_FOUND.\n\nOpenAPI: `PATCH /comm-api/api/workspaces/{id}/webhooks/{webhookId}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update campaign settings (what can change depends on the status)",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/campaigns/{{id}}/settings",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "campaigns",
                "{{id}}",
                "settings"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). description (null clears it) can be changed in any status except completed and cancelled. Editable fields by status. draft: from_address, from_name, reply_to (null clears it), timezone, scheduled_at (null clears it), chunk_size (1-1000), delay_seconds_between_chunks (1-86400). scheduled: when it goes (scheduled_at, timezone) and the pacing. sending: pacing only. completed and cancelled: nothing (409 INVALID_STATE). scheduled_at must be in the future (400 SCHEDULED_AT_IN_PAST). reply_to and from_name can only change while the campaign is a draft (409 INVALID_STATE otherwise); an invalid reply_to is 400 INVALID_REPLY_TO. The template, lists and Motor Block of a campaign cannot be changed: duplicate it instead. Errors are `{ success:false, error, code }`; a malformed id in the path is `400 INVALID_ID`.\n\nOpenAPI: `PATCH /comm-api/api/campaigns/{id}/settings`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update current workspace consent settings",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/settings/consent",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "settings",
                "consent"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `PATCH /comm-api/api/settings/consent`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update current workspace open-tracking settings",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/settings/open-tracking",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "settings",
                "open-tracking"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`).\n\nOpenAPI: `PATCH /comm-api/api/settings/open-tracking`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update the workspace brand kit",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/settings/brand-kit",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "settings",
                "brand-kit"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Partial: only the fields you send change; null clears a field (null clears a colour back to its default); colours merge one by one. An invalid value is 400 INVALID_BRAND_KIT with the field named. Legal identity (sender_name, postal_address) is never filled in on the person's behalf.\n\nOpenAPI: `PATCH /comm-api/api/settings/brand-kit`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update workspace consent settings",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/settings/consent",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "settings",
                "consent"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `PATCH /comm-api/api/workspaces/{id}/settings/consent`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update workspace open-tracking settings",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/settings/open-tracking",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "settings",
                "open-tracking"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`.\n\nOpenAPI: `PATCH /comm-api/api/workspaces/{id}/settings/open-tracking`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update workspace unsubscribe landing page",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/workspaces/{{id}}/settings/unsubscribe",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "workspaces",
                "{{id}}",
                "settings",
                "unsubscribe"
              ]
            },
            "description": "Account-scoped Communications Block endpoint. Requires caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...`. Does not require `X-Tenant-Id`. The same setting as PATCH /settings/unsubscribe, for any workspace of your account without switching X-Tenant-Id. Another account's workspace answers 404 before anything is checked or saved. Body: { \"unsubscribe_landing_url\": \"https://...\" }, or null to use the default Motorical page. The URL must be https, at most 2048 characters, without credentials, on a domain verified in your account or a subdomain of one (400 LANDING_URL_INVALID, 400 LANDING_DOMAIN_NOT_VERIFIED).\n\nOpenAPI: `PATCH /comm-api/api/workspaces/{id}/settings/unsubscribe`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Validate a template without saving",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/templates/validate",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "templates",
                "validate"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). validate checks the rules a template must meet to be saved and scheduled; lint (POST /templates/lint) additionally explains and fixes. Both read the same rulebook. Checks a template without saving it. Returns valid, errors[], warnings[], metrics and a preview rendered by the same renderer the sender uses (so {{name|there}} previews exactly as it will be sent). A warning with blocksScheduling: true means scheduling a campaign that uses this template will be refused: missing_unsubscribe_url (no {{unsubscribe_url}} in either body) and unknown_merge_variable (a tag outside the available set; the warning names it and lists the available variables). Other warnings: missing_text_fallback, unsubscribe_url_missing_in_body (the HTML or text version alone has no link), merge_variable_without_fallback (a hint: add {{name|there}}), missing_consent_url. Errors: missing_name, missing_subject, missing_type, invalid_type, invalid_field_type, name_too_long, subject_too_long, missing_body_html, missing_body_text, fallback_not_allowed, fallback_too_long, html_size_exceeded. Merge variables: name, first_name (derived from name; skips Mr, Mrs, Ms, Miss, Mx, Dr, Prof), email, identity_name, plus the system links unsubscribe_url and consent_url. A fallback is written {{name|there}} (at most 100 characters, not allowed on system links). Link findings: merge_variable_in_url (a merge variable inside a link or image address; blocksScheduling: true; url and variables name it) and non_web_link_scheme (sms:, whatsapp: and similar; not click-tracked; does not block). Only web links are click-tracked; mailto, tel, relative, anchor, unsubscribe and consent links are left as written. The text version: the template's own body_text is sent exactly as written; only a template with no body_text gets one generated from the HTML (paragraphs, bullets, every web link as text (url)).\n\nOpenAPI: `POST /comm-api/api/templates/validate`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "What erasing a contact would remove (lists, campaign statistics, consent records), before you confirm",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/contacts/{{id}}/erase-impact",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "contacts",
                "{{id}}",
                "erase-impact"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). What DELETE /contacts/{id} would remove, without removing anything: the contact (email, whether it has a name, status), lists[] it is on, campaign_events_unlinked, consent_records_deleted, and whether a suppression exists (it stays). Read-only.\n\nOpenAPI: `GET /comm-api/api/contacts/{id}/erase-impact`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "What is still missing before a campaign can be sent",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/readiness",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "readiness"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). What stands between this workspace and a sent campaign, in a fixed order: plan, workspace, domain, marketing_block, list, template. Returns ready, next (the FIRST missing step with a message and a fix hint, or null), steps[] with ok and detail, and the sending limits (hourly, daily) of the workspace campaign Motor Blocks. Read-only. The plan step only says the account is admitted to this API; plans and prices are in the main API.\n\nOpenAPI: `GET /comm-api/api/readiness`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Where a list came from and what was made from it",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Tenant-Id",
                "value": "{{tenantId}}"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/comm-api/api/lists/{{id}}/relations",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "comm-api",
                "api",
                "lists",
                "{{id}}",
                "relations"
              ]
            },
            "description": "Communications Block endpoint. Requires `X-Tenant-Id` (workspace id) plus caller auth: `Authorization: Bearer <dashboard JWT>` or `Authorization: ApiKey ak_live_...` (must own the workspace). Discover default workspace via `GET /api/comm/tenant` (returns `tenantId` + `workspaces[]`). Where a list came from and what depends on it: derived_from (its sources), excludes, children (lists made from it), excluded_by, and graph { nodes, edges } for the connected lists (up to 50). Use it before deleting or changing a list.\n\nOpenAPI: `GET /comm-api/api/lists/{id}/relations`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Config",
      "item": [
        {
          "name": "Domain health (SPF/DKIM/DMARC): a set-up status, not a score",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/domain-health",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "domain-health"
              ],
              "query": [
                {
                  "key": "refresh",
                  "value": "",
                  "description": "If true, attempt a synchronous live DNS refresh before responding",
                  "disabled": true
                }
              ]
            },
            "description": "Cache-first: returns DB auth flags immediately (sub-second). Stale/cold checks schedule an async DNS refresh. Pass refresh=true to wait for a live re-check (capped; may still return prior cache on timeout).\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/domain-health`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Motor Block config snapshot",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/config",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "config"
              ]
            },
            "description": "Read-only, non-sensitive configuration snapshot and domain status.\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/config`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Developer Sandbox",
      "item": [
        {
          "name": "Convert sandbox Motor Block to a verified production domain",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/developer/sandbox/convert",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "developer",
                "sandbox",
                "convert"
              ]
            },
            "description": "Requires an active Motorical subscription (CSV plans via sync-plans-from-csv.py). Re-points the sandbox Motor Block to a customer-owned verified domain, clears sandbox flags, applies plan limits, and reaps sandbox DNS.\n\nOpenAPI: `POST /api/developer/sandbox/convert`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"domainId\": \"{{motorBlockId}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Get developer sandbox status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/developer/sandbox",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "developer",
                "sandbox"
              ]
            },
            "description": "Returns sandbox domain, Motor Block, outbound lock, allowlist, and caps. The allowlist is the effective list: sandbox recipients, link-confirmed recipients, the account address and the test sink, minus any address that clicked stop. domain.sandbox true means the Motorical-owned sandbox domain; false means your own domain. Requires a verified dashboard JWT (the same dashboard session obtained from login or set-password).\n\nOpenAPI: `GET /api/developer/sandbox`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Provision unpaid developer sandbox",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/developer/sandbox/provision",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "developer",
                "sandbox",
                "provision"
              ]
            },
            "description": "Creates `<handle>.sandbox.motorical.com` (a Motorical-owned `.sandbox` domain, instant, no DNS for you to publish; a Free account that adds and fully verifies its own domain can instead get its sandbox Motor Block on that domain automatically when automatic provisioning is enabled), a transactional Motor Block with `product_allocation.developer_sandbox`, mints `mk_live_` once, and locks outbound to the account allowlist. Idempotent per account. Does not require a paid Motorical Plan.\n\nOpenAPI: `POST /api/developer/sandbox/provision`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"handle\": \"string\",\n  \"channel\": \"cli\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Update sandbox outbound lock / allowlist",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/developer/sandbox/outbound",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "developer",
                "sandbox",
                "outbound"
              ]
            },
            "description": "Widen or tighten the recipient allowlist. Never open-world while developer_sandbox is set; convert clears the lock.\n\nOpenAPI: `PATCH /api/developer/sandbox/outbound`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"outboundLocked\": true,\n  \"allowedRecipients\": [\n    \"sender@yourdomain.com\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Domains",
      "item": [
        {
          "name": "Add a customer domain",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/domains",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "domains"
              ]
            },
            "description": "Returns verification DNS instructions. For cname_managed DKIM, publish the CNAME in verification.records.dkim / dnsRecords (not a TXT p= key).\n\nOpenAPI: `POST /api/domains`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"domain\": \"string\",\n  \"verificationMethod\": \"dns\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Add a customer domain (account-wide, OAuth/MCP-capable)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/domains",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "domains"
              ]
            },
            "description": "Same handler as POST /api/domains — identical validation, DKIM/Cloudflare setup, and verification-instruction generation — reached over a Public API bearer or MCP OAuth/Delegation grant instead of a dashboard session. Account-wide: no motorBlockId. Returns verification DNS instructions; for cname_managed DKIM publish the CNAME in verification.records.dkim / dnsRecords (not a TXT p= key).\n\nOpenAPI: `POST /api/public/v1/domains`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"domain\": \"string\",\n  \"verificationMethod\": \"dns\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Check DKIM/SPF/DMARC and persist send-readiness flags",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/domains/{{id}}/check-dns",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "domains",
                "{{id}}",
                "check-dns"
              ]
            },
            "description": "Same email-auth refresh as re-verify. Use when /v1/send returns DOMAIN_DNS_INCOMPLETE despite dig showing correct records. Requires dashboard JWT (not Public API bearer / domain-health token). For a Public API bearer or MCP OAuth/Delegation grant, use POST /api/public/v1/domains/{id}/check-dns instead — same handler, no motorBlockId.\n\nOpenAPI: `POST /api/domains/{id}/check-dns`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"recordType\": \"dkim\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Check DKIM/SPF/DMARC and persist send-readiness flags (account-wide, OAuth/MCP-capable)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/domains/{{id}}/check-dns",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "domains",
                "{{id}}",
                "check-dns"
              ]
            },
            "description": "Same handler as POST /api/domains/{id}/check-dns, reached over a Public API bearer or MCP OAuth/Delegation grant instead of a dashboard session. Account-wide: no motorBlockId. Use when /v1/send returns DOMAIN_DNS_INCOMPLETE despite dig showing correct records.\n\nOpenAPI: `POST /api/public/v1/domains/{id}/check-dns`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"recordType\": \"dkim\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "List domains on the account",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/domains",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "domains"
              ]
            },
            "description": "Account-wide — domains belong to the account (domains.user_id), not to a Motor Block, and no motorBlockId is required or read. A Motor Block is created FROM a verified domain (motor_blocks.domain_id), never the reverse, so this is the entry point for a new account before any Motor Block exists. Symmetric with, and reuses the same handler as, the dashboard's domain list.\n\nOpenAPI: `GET /api/public/v1/domains`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Verify ownership and refresh DKIM/SPF send-readiness",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/domains/{{id}}/verify",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "domains",
                "{{id}}",
                "verify"
              ]
            },
            "description": "First call verifies ownership TXT. Re-calling after verified=true live-checks DKIM/SPF/DMARC and sets dkim_configured/spf_configured (required for /v1/send). Response includes sendReady + summary.\n\nOpenAPI: `POST /api/domains/{id}/verify`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"method\": \"dns\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Verify ownership and refresh DKIM/SPF send-readiness (account-wide, OAuth/MCP-capable)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/domains/{{id}}/verify",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "domains",
                "{{id}}",
                "verify"
              ]
            },
            "description": "Same handler as POST /api/domains/{id}/verify, reached over a Public API bearer or MCP OAuth/Delegation grant instead of a dashboard session. Account-wide: no motorBlockId. First call verifies ownership TXT. Re-calling after verified=true live-checks DKIM/SPF/DMARC and sets dkim_configured/spf_configured (required for /v1/send). Response includes sendReady + summary.\n\nOpenAPI: `POST /api/public/v1/domains/{id}/verify`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"method\": \"dns\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Exports",
      "item": [
        {
          "name": "Create export job",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/exports",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "exports"
              ]
            },
            "description": "Create export job\n\nOpenAPI: `POST /api/public/v1/motor-blocks/{id}/exports`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"jobType\": \"logs\",\n  \"params\": {},\n  \"includePII\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Download export file (signed token, single-use)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/exports/{{jobId}}/download?token={{token}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "exports",
                "{{jobId}}",
                "download"
              ],
              "query": [
                {
                  "key": "token",
                  "value": "{{token}}",
                  "description": "",
                  "disabled": false
                }
              ]
            },
            "description": "The file is deleted on a successful download — exports are not retained. GET the job status again for a fresh token against the same file if the download did not complete. An unretrieved file is deleted automatically 24 hours after the job completes.\n\nOpenAPI: `GET /api/public/v1/exports/{jobId}/download`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get export job status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/exports/{{jobId}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "exports",
                "{{jobId}}"
              ]
            },
            "description": "Get export job status\n\nOpenAPI: `GET /api/public/v1/exports/{jobId}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List recent export jobs",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/exports",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "exports"
              ]
            },
            "description": "List recent export jobs\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/exports`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Preview recent logs (no job creation)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/exports/preview?limit=50",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "exports",
                "preview"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "50",
                  "description": "",
                  "disabled": false
                },
                {
                  "key": "includePII",
                  "value": "",
                  "description": "Requires logs.pii scope",
                  "disabled": true
                }
              ]
            },
            "description": "Preview recent logs (no job creation)\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/exports/preview`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Logs",
      "item": [
        {
          "name": "Get message by send id (UUID)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/messages/{{messageId}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "messages",
                "{{messageId}}"
              ],
              "query": [
                {
                  "key": "includePII",
                  "value": "",
                  "description": "Requires logs.pii scope",
                  "disabled": true
                }
              ]
            },
            "description": "Get message by send id (UUID)\n\nOpenAPI: `GET /api/public/v1/messages/{id}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Get message event timeline",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/messages/{{messageId}}/events",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "messages",
                "{{messageId}}",
                "events"
              ],
              "query": [
                {
                  "key": "includePII",
                  "value": "",
                  "description": "Requires logs.pii scope",
                  "disabled": true
                }
              ]
            },
            "description": "Canonical lifecycle events from email_events.\n\nOpenAPI: `GET /api/public/v1/messages/{id}/events`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Lookup message by RFC Message-ID header",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/messages?smtpMessageId={{smtpMessageId}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "messages"
              ],
              "query": [
                {
                  "key": "smtpMessageId",
                  "value": "{{smtpMessageId}}",
                  "description": "RFC Message-ID value (with or without angle brackets)",
                  "disabled": false
                },
                {
                  "key": "includePII",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "Not a collection/list endpoint. Requires query smtpMessageId (the RFC Message-ID / SMTP message id). For listing recent sends use GET /motor-blocks/{id}/logs. For lookup by send UUID use GET /messages/{id}.\n\nOpenAPI: `GET /api/public/v1/messages`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Per-recipient outcomes for a multi-recipient send",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/messages/{{messageId}}/recipients",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "messages",
                "{{messageId}}",
                "recipients"
              ],
              "query": [
                {
                  "key": "includePII",
                  "value": "",
                  "description": "Requires logs.pii scope",
                  "disabled": true
                }
              ]
            },
            "description": "GET /messages/{id} and GET /messages/{id}/events both collapse to a single email_events row (whichever recipient's log line landed first). This reads postfix_log_events grouped by recipient — the only place a multi-recipient send's individual recipient outcomes are visible.\n\nOpenAPI: `GET /api/public/v1/messages/{id}/recipients`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Search logs with cursor pagination",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/logs?limit=50",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "logs"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "currentOutcome",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "smtpCode",
                  "value": "",
                  "description": "Filter by the SMTP code the receiving server reported. The stored value is either basic (550) or enhanced (5.7.1), so besides an exact code you can pass a class (5xx, 4xx or 5.x.x), a group (5.7.x), or a comma-separated list of up to 10 (for example 5.7.x,4xx). An invalid value is a 400 with error invalid_smtp_code.",
                  "disabled": true
                },
                {
                  "key": "query",
                  "value": "",
                  "description": "Space-separated key:value terms, all of which must match: recipient:<exact address>, domain:<exact domain>, code:<an SMTP code filter, same forms as smtpCode>, id:<message uuid>. Text without a known key is ignored.",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "description": "",
                  "disabled": false
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "includePII",
                  "value": "",
                  "description": "Requires logs.pii scope",
                  "disabled": true
                }
              ]
            },
            "description": "Search logs with cursor pagination\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/logs`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Motor Blocks",
      "item": [
        {
          "name": "List motor blocks bound to the token",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks"
              ]
            },
            "description": "Returns the Motor Block(s) associated with the current public API token.\n\nOpenAPI: `GET /api/public/v1/motor-blocks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Mint a Public Analytics API token with a dashboard JWT",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/token",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "token"
              ]
            },
            "description": "Dashboard and trusted-session flow for creating a short-lived bearer token for `/api/public/v1` endpoints. Server-to-server integrations should prefer `/api/public/token/account-key`.\n\nOpenAPI: `POST /api/public/token`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"motorBlockId\": \"{{motorBlockId}}\",\n  \"scopes\": [\n    \"string\"\n  ],\n  \"ttlSeconds\": 300\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Mint a Public Analytics API token with an Account API Key",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/token/account-key",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "token",
                "account-key"
              ]
            },
            "description": "Use an Account API Key (`ak_live_...`) to create a short-lived bearer token for `/api/public/v1` endpoints. The key can be supplied as `Authorization: ApiKey ak_live_...` or `X-Api-Key: ak_live_...`.\n\nOpenAPI: `POST /api/public/token/account-key`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "Authorization",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "ApiKey {{akApiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"motorBlockId\": \"{{motorBlockId}}\",\n  \"scopes\": [\n    \"logs.read\",\n    \"analytics.read\",\n    \"webhooks.manage\"\n  ],\n  \"ttlSeconds\": 900\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "OAuth",
      "item": [
        {
          "name": "OAuth 2.0 authorization endpoint (consent HTML)",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{dashboardBaseUrl}}/api/oauth2/authorize?client_id={{client_id}}&response_type={{response_type}}&redirect_uri={{redirect_uri}}",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "api",
                "oauth2",
                "authorize"
              ],
              "query": [
                {
                  "key": "client_id",
                  "value": "{{client_id}}",
                  "description": "",
                  "disabled": false
                },
                {
                  "key": "response_type",
                  "value": "{{response_type}}",
                  "description": "",
                  "disabled": false
                },
                {
                  "key": "redirect_uri",
                  "value": "{{redirect_uri}}",
                  "description": "",
                  "disabled": false
                },
                {
                  "key": "scope",
                  "value": "email.send",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "state",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "Starts the authorization-code flow for a Motor Block OAuth app. Returns an HTML consent page. After approve, redirects to redirect_uri with ?code=. Use the access token from /api/oauth2/token as the SMTP password on mail.motorical.com — not on POST /v1/send.\n\nOpenAPI: `GET /api/oauth2/authorize`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "OAuth 2.0 token endpoint",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{dashboardBaseUrl}}/api/oauth2/token",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "api",
                "oauth2",
                "token"
              ]
            },
            "description": "Exchange an authorization code or refresh token for an access token. The access_token JWT is used as the SMTP password (PLAIN/LOGIN) or via XOAUTH2 on mail.motorical.com:2587.\n\nOpenAPI: `POST /api/oauth2/token`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"grant_type\": \"authorization_code\",\n  \"code\": \"{{oauthAuthorizationCode}}\",\n  \"client_id\": \"{{oauthClientId}}\",\n  \"client_secret\": \"{{oauthClientSecret}}\",\n  \"redirect_uri\": \"https://motorical.com/oauth/callback\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Validate an OAuth access token",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{dashboardBaseUrl}}/api/oauth2/validate",
              "host": [
                "{{dashboardBaseUrl}}"
              ],
              "path": [
                "api",
                "oauth2",
                "validate"
              ],
              "query": [
                {
                  "key": "token",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "access_token",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "Optional helper to introspect a Motorical-issued SMTP access token (query or Authorization Bearer).\n\nOpenAPI: `GET /api/oauth2/validate`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Onboarding Auth",
      "item": [
        {
          "name": "Mint a one-time browser handoff URL",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/auth/web-handoff",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "web-handoff"
              ]
            },
            "description": "Requires dashboard Bearer JWT. Returns a ~90s URL `https://motorical.com/auth/cli?code=…`. Open the link right away; if it says expired, ask for a new link or sign in with your password. Browser exchanges the code for a normal web session; if cli_password_pending, forces /auth/set-password.\n\nOpenAPI: `POST /api/auth/web-handoff`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"path\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Password login (returns JWT + refreshToken)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/auth/login",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "login"
              ]
            },
            "description": "Same token shape as set-password. MFA accounts get a challenge instead of tokens until MFA verify succeeds.\n\nOpenAPI: `POST /api/auth/login`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"sender@yourdomain.com\",\n  \"password\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Rotate refresh token; issue new access JWT (non-interactive)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/auth/refresh",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "refresh"
              ]
            },
            "description": "Browser: send `__Host-motorical_refresh` cookie. Agents and scripts: POST JSON `{ \"refreshToken\": \"...\" }` (no cookie required). Response includes new `token` + rotated `refreshToken`. Store the new refreshToken; old one has a short grace window.\n\nOpenAPI: `POST /api/auth/refresh`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"refreshToken\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Set password after email verification (returns JWT + refreshToken)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/auth/set-password",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "set-password"
              ]
            },
            "description": "Access JWT expires ~15m. refreshToken (7d) is returned in JSON for agents and also set as HttpOnly cookie for browsers. Pass channel: cli|agent to keep cli_password_pending so first browser visit forces establish-password.\n\nOpenAPI: `POST /api/auth/set-password`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"sender@yourdomain.com\",\n  \"password\": \"string\",\n  \"setupToken\": \"string\",\n  \"channel\": \"cli\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Start agent signup (email verification code)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/auth/register",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "register"
              ]
            },
            "description": "Sends a 6-digit verification code. Optional onboardingChannel: cli|agent marks the account for sandbox onboarding. Not for production send — after verify + set-password use dashboard JWT for sandbox APIs, then mk_live_ for /v1/send.\n\nOpenAPI: `POST /api/auth/register`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"sender@yourdomain.com\",\n  \"onboardingChannel\": \"cli\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Verify email with 6-digit code",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/auth/verify-code",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "auth",
                "verify-code"
              ]
            },
            "description": "Verify email with 6-digit code\n\nOpenAPI: `POST /api/auth/verify-code`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "noauth"
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"sender@yourdomain.com\",\n  \"code\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Send",
      "item": [
        {
          "name": "Get HTTP Send API service status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/v1/status",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "v1",
                "status"
              ]
            },
            "description": "Get HTTP Send API service status\n\nOpenAPI: `GET /v1/status`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "Authorization",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "ApiKey {{mkApiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Send or validate an email",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/v1/send",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "v1",
                "send"
              ]
            },
            "description": "Queue an email for immediate delivery, or validate the payload only when `dryRun: true`. `dryRun` defaults to false on this route: the email is sent unless you pass `dryRun: true`, so always set it explicitly. Authenticated via Motor Block API key (`Authorization: ApiKey mk_live_...` or `X-Api-Key: mk_live_...`).\n\n**Dry run:** `dryRun: true` performs the same authentication, domain, DNS, recipient, subject, and body-size checks but does not insert an email log or push delivery work to Redis.\n\n**Idempotency:** Include an `Idempotency-Key` header to prevent duplicate sends on retries (24h window).\n\n**Webhook verification:** Delivery events are posted to your webhook endpoints with an `X-Motorical-Signature` header containing an HMAC-SHA256 hex digest computed over the JSON body using the webhook secret you received at creation time. Verify with: `crypto.createHmac(\"sha256\", secret).update(body).digest(\"hex\")`.\n\nOpenAPI: `POST /v1/send`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "Authorization",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "ApiKey {{mkApiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"from\": \"sender@yourdomain.com\",\n  \"fromName\": \"Acme Billing\",\n  \"replyTo\": \"sender@yourdomain.com\",\n  \"subject\": \"string\",\n  \"text\": \"string\",\n  \"html\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Test SMTP setup parameters",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/v1/test-email",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "v1",
                "test-email"
              ]
            },
            "description": "Validate SMTP setup parameters for customer setup flows. Authenticated with a Motor Block API key supplied as `Authorization: ApiKey mk_live_...` or `X-Api-Key: mk_live_...`.\n\nOpenAPI: `POST /v1/test-email`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "Authorization",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "ApiKey {{mkApiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"method\": \"basic_auth\",\n  \"host\": \"string\",\n  \"port\": 0,\n  \"username\": \"string\",\n  \"password\": \"string\",\n  \"to\": \"sender@yourdomain.com\",\n  \"subject\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Webhooks",
      "item": [
        {
          "name": "Create webhook",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/webhooks",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "webhooks"
              ]
            },
            "description": "Create webhook\n\nOpenAPI: `POST /api/public/v1/motor-blocks/{id}/webhooks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"string\",\n  \"events\": [\n    \"message.processed\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Delete webhook",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/webhooks/{{webhookId}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "webhooks",
                "{{webhookId}}"
              ]
            },
            "description": "Delete webhook\n\nOpenAPI: `DELETE /api/public/v1/motor-blocks/{id}/webhooks/{webhookId}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Enqueue a test webhook delivery",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/webhooks/{{webhookId}}/test",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "webhooks",
                "{{webhookId}}",
                "test"
              ]
            },
            "description": "Enqueue a test webhook delivery\n\nOpenAPI: `POST /api/public/v1/motor-blocks/{id}/webhooks/{webhookId}/test`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "List webhooks",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/webhooks",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "webhooks"
              ]
            },
            "description": "List webhooks\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/webhooks`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update webhook",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/webhooks/{{webhookId}}",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "webhooks",
                "{{webhookId}}"
              ]
            },
            "description": "Update webhook\n\nOpenAPI: `PUT /api/public/v1/motor-blocks/{id}/webhooks/{webhookId}`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Webhook delivery history",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/webhooks/{{webhookId}}/deliveries?limit=50",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "webhooks",
                "{{webhookId}}",
                "deliveries"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "50",
                  "description": "",
                  "disabled": false
                }
              ]
            },
            "description": "Webhook delivery history\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/webhooks/{webhookId}/deliveries`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Webhook delivery stats",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{apiBaseUrl}}/api/public/v1/motor-blocks/{{motorBlockId}}/webhooks/{{webhookId}}/stats",
              "host": [
                "{{apiBaseUrl}}"
              ],
              "path": [
                "api",
                "public",
                "v1",
                "motor-blocks",
                "{{motorBlockId}}",
                "webhooks",
                "{{webhookId}}",
                "stats"
              ],
              "query": [
                {
                  "key": "hours",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "Webhook delivery stats\n\nOpenAPI: `GET /api/public/v1/motor-blocks/{id}/webhooks/{webhookId}/stats`\nDocs: https://docs.motorical.com/llms.txt",
            "auth": {
              "type": "bearer",
              "bearer": [
                {
                  "key": "token",
                  "value": "{{bearerToken}}",
                  "type": "string"
                }
              ]
            }
          },
          "response": []
        }
      ]
    }
  ]
}
