{
  "auth": {
    "bearer": [
      {
        "key": "token",
        "type": "string",
        "value": "{{sendmux_api_key}}"
      }
    ],
    "type": "bearer"
  },
  "event": [],
  "info": {
    "description": {
      "content": "Programmatic access to your Qubrics email infrastructure.",
      "type": "text/plain"
    },
    "name": "Qubrics Management API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "event": [],
      "item": [
        {
          "event": [],
          "name": "Get current balance",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns the current spendable balance.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get current balance",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "billing",
                "balance"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Current spendable balance",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        },
        {
          "event": [],
          "name": "Get spend summary",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns a spend summary over a configurable lookback period.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get spend summary",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "billing",
                "summary"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "days",
                  "value": "<string>"
                }
              ],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Spend summary",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        },
        {
          "event": [],
          "name": "List transactions",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns paginated credit transaction history with optional type filter. Uses cursor-based pagination ordered by created_at descending — pass `cursor=<next_cursor>` from the previous response to fetch the next page.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "List transactions",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "billing",
                "transactions"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "<integer>"
                },
                {
                  "disabled": true,
                  "key": "type",
                  "value": "<string>"
                }
              ],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Transaction list",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        }
      ],
      "name": "Billing"
    },
    {
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "event": [],
      "item": [
        {
          "event": [],
          "name": "List mailbox domains",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns a cursor-paginated list of sending domains configured for the team, ordered by `created_at` descending. Each entry includes the DNS records the customer must place, the current verification status, and the SES DKIM state. Pass `cursor=<next_cursor>` from the previous response to fetch the next page.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "List mailbox domains",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "domains"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "<integer>"
                }
              ],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain list",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        },
        {
          "event": [],
          "name": "Add a mailbox domain",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"domain\": \"<string>\",\n  \"mode\": \"<string>\"\n}"
            },
            "description": {
              "content": "Creates a new domain and returns the DNS records the customer must place before verification can succeed. `send_only` configures outbound sending without changing MX records. `send_receive` also configures the domain for hosted mailboxes. Provisioning touches our email platform and Amazon SES; on any failure the partial state is automatically rolled back.\n\nSupply an `Idempotency-Key` header (any unique string, max 255 chars) to safely retry on network errors. Replays with the same key return the original response; replays with a different body return `409 idempotency_conflict`.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Add a mailbox domain",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "domains"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 201,
              "cookie": [],
              "header": [
                {
                  "description": "Canonical GET URL for the newly created domain.",
                  "disabled": true,
                  "key": "Location",
                  "value": "/api/v1/domains/mdom_clxxxxxxxxxxxxxxxxxxxxxxxxx"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain created. The response carries a `Location` header pointing at the canonical GET URL for the new domain.",
              "status": "Created"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain already in use, or `Idempotency-Key` was replayed with a different body.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "SES tenant not yet provisioned for this team",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Delete a mailbox domain",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Removes a domain from our mail platform, Amazon SES, and Qubrics. Blocked if any active mailbox still uses the domain — delete those mailboxes first.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "name": "Delete a mailbox domain",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "domains",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Deletion result",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain still has active mailboxes (error code `conflict`).",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 500,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Unexpected server error.",
              "status": "Internal Server Error"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "description": "Seconds to wait before retrying.",
                  "disabled": true,
                  "key": "Retry-After",
                  "value": "30"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Deletion is temporarily unavailable; retry after the indicated delay.",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Get a mailbox domain",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns a single domain including its DNS records and latest verification state. Responses carry a weak `ETag` header — send it back as `If-None-Match` on the next request and the server will return `304 Not Modified` (no body) when the resource has not changed.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-None-Match",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get a mailbox domain",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "domains",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for conditional GETs.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "W/\"a1b2c3d4e5f60718\""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 304,
              "cookie": [],
              "header": [
                {
                  "description": "Current weak ETag (same as request's `If-None-Match`).",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "Not Modified — the client's cached copy (matching `If-None-Match`) is still current.",
              "status": "Not Modified"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain not found",
              "status": "Not Found"
            }
          ]
        },
        {
          "event": [],
          "name": "Update a mailbox domain",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"mode\": \"<string>\"\n}"
            },
            "description": {
              "content": "Upgrades a send-only domain to sending and receiving. Downgrades are rejected. After upgrade, the domain returns to `pending` until the required MX record verifies.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-Match",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PATCH",
            "name": "Update a mailbox domain",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "domains",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for the post-update resource.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Updated domain",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "`If-Match` mismatch, or the domain cannot be upgraded in its current state.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Unsupported update. Only `{ mode: \"send_receive\" }` is accepted.",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            }
          ]
        },
        {
          "event": [],
          "name": "Verify a mailbox domain",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Checks the domain's published DNS records and latest Amazon SES DKIM and MAIL FROM statuses. If every required check passes, the domain is marked verified. A previously failed domain remains failed until a complete check succeeds. Domains automatically re-verify every 6 hours — this endpoint is only needed to trigger a check on demand.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Verify a mailbox domain",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "domains",
                ":public_id",
                "verify"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Verification result",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "The domain changed while verification was running.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 500,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Unexpected server error.",
              "status": "Internal Server Error"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "description": "Seconds to wait before retrying.",
                  "disabled": true,
                  "key": "Retry-After",
                  "value": "30"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Verification is temporarily unavailable; retry after the indicated delay.",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Download a domain as a zone file",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns the domain's DNS records formatted as a BIND-style zone file fragment. Suitable for direct paste into a DNS provider that accepts zone-file imports.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "text/plain"
              }
            ],
            "method": "GET",
            "name": "Download a domain as a zone file",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "domains",
                ":public_id",
                "zone-file"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Attachment filename `<domain>.zone`.",
                  "disabled": true,
                  "key": "Content-Disposition",
                  "value": "attachment; filename=\"mail.acme.com.zone\""
                },
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "Zone file (text/plain)",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain not found",
              "status": "Not Found"
            }
          ]
        }
      ],
      "name": "Domains"
    },
    {
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "event": [],
      "item": [
        {
          "event": [],
          "name": "Get domain-wide sender filters",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns the current sender-filter mode and rule set applied to every mailbox under this domain. Only sending and receiving domains support domain-wide filters. Per-mailbox rules take precedence at match time.\n\nResponses carry a weak `ETag` — send it as `If-None-Match` to skip the body when the filter set has not changed (returns `304 Not Modified`). The same ETag is the value to use in `If-Match` on the corresponding PUT for optimistic concurrency.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-None-Match",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get domain-wide sender filters",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "domains",
                ":public_id",
                "filters"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for conditional GETs and optimistic-concurrency PUTs.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "W/\"a1b2c3d4e5f60718\""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Filter state",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 304,
              "cookie": [],
              "header": [
                {
                  "description": "Current weak ETag.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "Not Modified — the client's cached copy (matching `If-None-Match`) is still current.",
              "status": "Not Modified"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain is send-only and does not support inbound filters.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Filter service temporarily unavailable",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Replace domain-wide sender filters",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"mode\": \"<string>\",\n  \"rules\": [\n    {\n      \"note\": \"<string,null>\",\n      \"pattern\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"
            },
            "description": {
              "content": "Atomically replaces the sender-filter mode and rule set for an entire sending and receiving domain. Applies to every mailbox under the domain unless that mailbox has its own per-mailbox rules (which take precedence). Maximum 1000 rules per request.\n\nFor optimistic concurrency, send `If-Match: <etag>` using the ETag from a prior GET. A mismatched `If-Match` returns `409 conflict` (the server's ETag is echoed back so you can decide whether to re-fetch). Responses carry the new ETag so chained edits can pipeline without a re-GET.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-Match",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "name": "Replace domain-wide sender filters",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "domains",
                ":public_id",
                "filters"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for the post-update resource.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Updated filter state",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "`If-Match` ETag does not match the server's current version, the domain is send-only, or deletion is in progress.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Rule cap exceeded or invalid rule pattern",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Filter service temporarily unavailable",
              "status": "Service Unavailable"
            }
          ]
        }
      ],
      "name": "Domain Filters"
    },
    {
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "event": [],
      "item": [
        {
          "event": [],
          "name": "List delivery logs",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns paginated delivery logs with cursor-based pagination and filters.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "List delivery logs",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "emails",
                "logs"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "<integer>"
                },
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "status",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "from_date",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "to_date",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "provider_id",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "search",
                  "value": "<string>"
                }
              ],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Delivery log list",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        },
        {
          "event": [],
          "name": "Get delivery log",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns a single delivery log by its public ID. Responses carry a weak `ETag` header — send it back as `If-None-Match` on the next request and the server will return `304 Not Modified` (no body) when the log has not changed. Logs in a terminal status (sent/failed/rejected) stop changing, so 304 replay is a real bandwidth win on repeated polls.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-None-Match",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get delivery log",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "emails",
                "logs",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for conditional GETs.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "W/\"a1b2c3d4e5f60718\""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Delivery log detail",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 304,
              "cookie": [],
              "header": [
                {
                  "description": "Current weak ETag (same as request's `If-None-Match`).",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "Not Modified — the client's cached copy (matching `If-None-Match`) is still current.",
              "status": "Not Modified"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Not found",
              "status": "Not Found"
            }
          ]
        },
        {
          "event": [],
          "name": "Get email metrics",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns aggregated email delivery counts with flexible time windowing and comparison period.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get email metrics",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "emails",
                "metrics"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "window",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "from_date",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "to_date",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "granularity",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "provider_id",
                  "value": "<string>"
                }
              ],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Email metrics with comparison",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        }
      ],
      "name": "Emails"
    },
    {
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "event": [],
      "item": [
        {
          "event": [],
          "name": "List incoming logs",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns paginated incoming message logs for billing accountability.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "List incoming logs",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "inboxes",
                "logs"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "<integer>"
                },
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "mailbox_id",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "event_type",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "from_date",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "to_date",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "search",
                  "value": "<string>"
                }
              ],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Incoming log list",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        },
        {
          "event": [],
          "name": "Get incoming log",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns one incoming message log by public ID.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get incoming log",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "inboxes",
                "logs",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Incoming log detail",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Not found",
              "status": "Not Found"
            }
          ]
        }
      ],
      "name": "Inboxes"
    },
    {
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "event": [],
      "item": [
        {
          "event": [],
          "name": "Get a sending policy",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "Return 304 when this ETag still matches.",
                "disabled": true,
                "key": "If-None-Match",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get a sending policy",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailbox-send-policies",
                ":scope",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) Policy level to read or replace.",
                  "disabled": false,
                  "key": "scope",
                  "type": "any",
                  "value": "<string>"
                },
                {
                  "description": "(Required) Public ID of the team, inbox, API key, connected-app grant or agent registration.",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Exact version to use for conditional reads and replacement.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Current sending policy.",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 304,
              "cookie": [],
              "header": [
                {
                  "description": "Current policy version.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "The policy is unchanged.",
              "status": "Not Modified"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 429,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Too Many Requests"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 500,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Internal Server Error"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Replace a sending policy",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"policy\": {\n    \"allowed_from\": {},\n    \"allowed_reply_to\": {},\n    \"recipients\": {}\n  }\n}"
            },
            "description": {
              "content": "Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "(Required) Required exact ETag from the current policy. Wildcards are not accepted.",
                "disabled": false,
                "key": "If-Match",
                "value": "<string>"
              },
              {
                "description": "Reuse with the same policy and ETag to replay a successful replacement.",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "name": "Replace a sending policy",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailbox-send-policies",
                ":scope",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) Policy level to read or replace.",
                  "disabled": false,
                  "key": "scope",
                  "type": "any",
                  "value": "<string>"
                },
                {
                  "description": "(Required) Public ID of the team, inbox, API key, connected-app grant or agent registration.",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Exact version to use for conditional reads and replacement.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Current sending policy.",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 429,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Too Many Requests"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 500,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Internal Server Error"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request failed.",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "List mailboxes",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns a cursor-paginated list of mailboxes configured for the team, ordered by `created_at` descending. Pass `cursor=<next_cursor>` from the previous response to fetch the next page.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "List mailboxes",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "<integer>"
                },
                {
                  "disabled": true,
                  "key": "include_deleted",
                  "value": "<string>"
                }
              ],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox list",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        },
        {
          "event": [],
          "name": "Create a mailbox",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"display_name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"quota_bytes\": \"<integer>\",\n  \"send_scope\": {\n    \"group_public_ids\": [\n      \"<string>\"\n    ],\n    \"provider_public_ids\": [\n      \"<string>\"\n    ],\n    \"type\": \"<string>\"\n  }\n}"
            },
            "description": {
              "content": "Provisions a new mailbox plus an initial bearer token and matching IMAP/SMTP mailbox password. The domain portion of the email must already be verified via POST /domains. If supplied, `quota_bytes` must be one of the current storage tiers: 1073741824 (1 GB), 5368709120 (5 GB), or 53687091200 (50 GB). Creation provisions resources on our mail platform and, for `@myagent.mx` addresses, on Amazon SES — any failure rolls the partial state back automatically.\n\nSupply an `Idempotency-Key` header (any unique string, max 255 chars) to safely retry on network errors. Replays with the same key return the original response; replays with a different body return `409 idempotency_conflict`.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Create a mailbox",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 201,
              "cookie": [],
              "header": [
                {
                  "description": "Canonical GET URL for the newly created mailbox.",
                  "disabled": true,
                  "key": "Location",
                  "value": "/api/v1/mailboxes/mx_clxxxxxxxxxxxxxxxxxxxxxxxxx"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox created. The response carries a `Location` header pointing at the canonical GET URL for the new mailbox.",
              "status": "Created"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Email already in use (error code `conflict`), or `Idempotency-Key` was replayed with a different body (`idempotency_conflict`).",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Domain not yet verified or semantic validation failure",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Team is not yet provisioned for sending",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Delete a mailbox",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Removes a mailbox from our mail platform, Amazon SES (for `@myagent.mx` addresses), and Qubrics. All associated API keys are revoked.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "name": "Delete a mailbox",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Deletion result",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "description": "Seconds before retrying.",
                  "disabled": true,
                  "key": "Retry-After",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Deletion is waiting for final usage. Retry after the interval in Retry-After.",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Get a mailbox",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns a single mailbox, tenant-scoped to the caller's team. Responses carry a weak `ETag` header — send it back as `If-None-Match` on the next request and the server will return `304 Not Modified` (no body) when the resource has not changed. The same ETag is the value to use in `If-Match` on PATCH for optimistic concurrency.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-None-Match",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get a mailbox",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for conditional GETs and optimistic-concurrency PATCHes.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "W/\"a1b2c3d4e5f60718\""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 304,
              "cookie": [],
              "header": [
                {
                  "description": "Current weak ETag (same as request's `If-None-Match`).",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "Not Modified — the client's cached copy (matching `If-None-Match`) is still current.",
              "status": "Not Modified"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox not found",
              "status": "Not Found"
            }
          ]
        },
        {
          "event": [],
          "name": "Update a mailbox",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"display_name\": \"<string,null>\",\n  \"quota_bytes\": \"<integer>\",\n  \"send_scope\": {\n    \"group_public_ids\": [\n      \"<string>\"\n    ],\n    \"provider_public_ids\": [\n      \"<string>\"\n    ],\n    \"type\": \"<string>\"\n  }\n}"
            },
            "description": {
              "content": "Updates any combination of display_name, quota_bytes, and send_scope on a mailbox. The display_name and send_scope changes land in a single transaction; quota_bytes is applied afterwards because it also updates external state on our mail platform. Quota can only be set to 1073741824 (1 GB), 5368709120 (5 GB), or 53687091200 (50 GB), and cannot be shrunk below the mailbox's current usage.\n\nFor optimistic concurrency, send `If-Match: <etag>` using the ETag from a prior GET. A mismatched `If-Match` returns `409 conflict` (the server's ETag is echoed back so you can decide whether to re-fetch). Responses carry the new ETag so chained edits can pipeline without a re-GET.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-Match",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PATCH",
            "name": "Update a mailbox",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for the post-update resource.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Updated mailbox",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "`If-Match` ETag does not match the server's current version.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Validation error — unsupported quota tier, quota below current usage, or cross-tenant send_scope reference",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            }
          ]
        },
        {
          "event": [],
          "name": "Create a mailbox API key",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"app_name\": \"<string>\"\n}"
            },
            "description": {
              "content": "Mints an additional bearer token plus IMAP/SMTP mailbox password for an existing mailbox. The plaintext key and password are shown exactly once — store them immediately.\n\nSupply an `Idempotency-Key` header (any unique string, max 255 chars) to safely retry on network errors. Replays with the same key return the original response; replays with a different body return `409 idempotency_conflict`.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Create a mailbox API key",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                ":public_id",
                "keys"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 201,
              "cookie": [],
              "header": [
                {
                  "description": "Canonical URL for the newly created API key.",
                  "disabled": true,
                  "key": "Location",
                  "value": "/api/v1/mailboxes/mx_clxxxxxxxxxxxxxxxxxxxxxxxxx/keys/smx_clxxxxxxxxxxxxxxxxxxxxxxxxx"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox API key created. The response carries a `Location` header pointing at the canonical URL for the new key.",
              "status": "Created"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Credential limit reached (`limit_exceeded`) or idempotency key conflict (`idempotency_conflict`).",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox is not active",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Credential setup temporarily unavailable",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Revoke a mailbox API key",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Revokes a specific bearer token + matching mailbox password. Idempotent on already-revoked keys.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "name": "Revoke a mailbox API key",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                ":public_id",
                "keys",
                ":key_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                },
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "key_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Deletion result",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox or key not found",
              "status": "Not Found"
            }
          ]
        },
        {
          "event": [],
          "name": "Resume a mailbox",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Restores a suspended mailbox so it can authenticate, receive mail, and send from the mailbox address again. The operation is idempotent and accepts `Idempotency-Key` for safe retries.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Resume a mailbox",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                ":public_id",
                "resume"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Resumed mailbox",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Management API access required",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox is deleted, or `Idempotency-Key` was replayed with a different request body.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox service temporarily unavailable",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Suspend a mailbox",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Suspends a mailbox without deleting messages, credentials, or settings. Suspended mailboxes cannot receive mail, authenticate to mailbox protocols, or send from the mailbox address. The operation is idempotent and accepts `Idempotency-Key` for safe retries.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Suspend a mailbox",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                ":public_id",
                "suspend"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Suspended mailbox",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Management API access required",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox is deleted, or `Idempotency-Key` was replayed with a different request body.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox service temporarily unavailable",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Read mailbox costs",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Read cumulative mailbox costs for a half-open window: start is included and end is excluded. Requires mailbox.admin.read and team-wide mailbox access. Retained usage remains readable after mailbox deletion while the team and credential remain active. Quantities and USD amounts are decimal strings. posted_amount includes only posted charges; incurred and unbillable amounts are reported separately. A pending result can change. Settle a window only when its state is final. This read does not start or complete settlement.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "Return 304 when the authorised response is unchanged.",
                "disabled": true,
                "key": "If-None-Match",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Read mailbox costs",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                ":public_id",
                "usage"
              ],
              "query": [
                {
                  "description": "(Required) Inclusive start. At most millisecond precision.",
                  "disabled": false,
                  "key": "start",
                  "value": "<dateTime>"
                },
                {
                  "description": "(Required) Exclusive end. Must be at or after start and at most 366 days later. At most millisecond precision.",
                  "disabled": false,
                  "key": "end",
                  "value": "<dateTime>"
                }
              ],
              "variable": [
                {
                  "description": "(Required) Mailbox public ID.",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Always no-store.",
                  "disabled": true,
                  "key": "Cache-Control",
                  "value": "string"
                },
                {
                  "description": "Current response validator.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Recorded mailbox costs and settlement state.",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 304,
              "cookie": [],
              "header": [
                {
                  "description": "Always no-store.",
                  "disabled": true,
                  "key": "Cache-Control",
                  "value": "string"
                },
                {
                  "description": "Current response validator.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "Mailbox costs have not changed.",
              "status": "Not Modified"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid or revoked credential.",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Required team-wide access or permission is missing.",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox usage is unavailable to this team.",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid, repeated or unsupported window boundaries.",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 429,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Rate limit exceeded.",
              "status": "Too Many Requests"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "description": "Seconds before retrying.",
                  "disabled": true,
                  "key": "Retry-After",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Usage cannot be read. Retry after the interval in Retry-After.",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Check mailbox address availability",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Checks whether an email address can be reserved for mailbox creation. `@myagent.mx` availability is global across all teams; custom-domain availability is scoped to the caller's team and requires a verified send/receive mailbox domain.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Check mailbox address availability",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                "availability"
              ],
              "query": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "email",
                  "value": "<string>"
                }
              ],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox address availability",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Management API access with mailbox.admin.create is required",
              "status": "Forbidden"
            }
          ]
        }
      ],
      "name": "Mailboxes"
    },
    {
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "event": [],
      "item": [
        {
          "event": [],
          "name": "Get mailbox sender filters",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns the current sender-filter mode and rule set for a mailbox. Mailbox-scoped rules override any domain-wide rules set on the parent domain.\n\nResponses carry a weak `ETag` — send it as `If-None-Match` to skip the body when the filter set has not changed (returns `304 Not Modified`). The same ETag is the value to use in `If-Match` on the corresponding PUT for optimistic concurrency.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-None-Match",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get mailbox sender filters",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                ":public_id",
                "filters"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for conditional GETs and optimistic-concurrency PUTs.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "W/\"a1b2c3d4e5f60718\""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Filter state",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 304,
              "cookie": [],
              "header": [
                {
                  "description": "Current weak ETag.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "Not Modified — the client's cached copy (matching `If-None-Match`) is still current.",
              "status": "Not Modified"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Filter service temporarily unavailable",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Replace mailbox sender filters",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"mode\": \"<string>\",\n  \"rules\": [\n    {\n      \"note\": \"<string,null>\",\n      \"pattern\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"
            },
            "description": {
              "content": "Atomically replaces the sender-filter mode and rule set for a mailbox. The entire rule set is swapped in a single operation — there is no intermediate state where the mailbox has a partial ruleset. A maximum of 1000 rules per request is enforced.\n\nFor optimistic concurrency, send `If-Match: <etag>` using the ETag from a prior GET. A mismatched `If-Match` returns `409 conflict` (the server's ETag is echoed back so you can decide whether to re-fetch). Responses carry the new ETag so chained edits can pipeline without a re-GET.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-Match",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PUT",
            "name": "Replace mailbox sender filters",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "mailboxes",
                ":public_id",
                "filters"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for the post-update resource.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Updated filter state",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Mailbox not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "`If-Match` ETag does not match the server's current version.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Rule cap exceeded or invalid rule pattern",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Filter service temporarily unavailable",
              "status": "Service Unavailable"
            }
          ]
        }
      ],
      "name": "Mailbox Filters"
    },
    {
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "event": [],
      "item": [
        {
          "event": [],
          "name": "Get Management connection",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Validate this credential and return its team, connection label, permissions and authorised mailboxes. No additional read permission or mailbox selection is required. Mailbox storage and sending availability are not checked. No user profile or secrets are returned.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "ETag from a previous response. A match returns 304 with no body after rechecking authentication.",
                "disabled": true,
                "key": "If-None-Match",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get Management connection",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "me"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Always no-store.",
                  "disabled": true,
                  "key": "Cache-Control",
                  "value": "string"
                },
                {
                  "description": "",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "description": "Request identifier.",
                  "disabled": true,
                  "key": "X-Request-Id",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Connection information",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 304,
              "cookie": [],
              "header": [
                {
                  "description": "Always no-store.",
                  "disabled": true,
                  "key": "Cache-Control",
                  "value": "string"
                },
                {
                  "description": "Request identifier.",
                  "disabled": true,
                  "key": "X-Request-Id",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "Connection information is unchanged. Authentication is checked on every request.",
              "status": "Not Modified"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Credential is not authorised for this API",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 429,
              "cookie": [],
              "header": [
                {
                  "description": "",
                  "disabled": true,
                  "key": "Retry-After",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Rate limit exceeded",
              "status": "Too Many Requests"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 500,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Unexpected server error",
              "status": "Internal Server Error"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "description": "",
                  "disabled": true,
                  "key": "Retry-After",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication service temporarily unavailable",
              "status": "Service Unavailable"
            }
          ]
        }
      ],
      "name": "Connection"
    },
    {
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "event": [],
      "item": [
        {
          "event": [],
          "name": "List sending accounts",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns a cursor-paginated list of sending accounts. Credentials are never returned. The shared Amazon SES account is included and marked with `is_shared: true`.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "List sending accounts",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "status",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "type",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "<integer>"
                }
              ],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Sending account list",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        },
        {
          "event": [],
          "name": "Create an SMTP sending account",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"from_email\": \"<string,null-email>\",\n  \"from_name\": \"<string,null>\",\n  \"name\": \"<string>\",\n  \"percentage\": \"<integer>\",\n  \"quotas\": {\n    \"per_day\": \"<integer>\",\n    \"per_hour\": \"<integer>\",\n    \"per_minute\": \"<integer>\",\n    \"per_second\": \"<integer>\"\n  },\n  \"reply_to_email\": \"<string,null-email>\",\n  \"reply_to_name\": \"<string,null>\",\n  \"smtp_host\": \"<string>\",\n  \"smtp_password\": \"<string>\",\n  \"smtp_port\": \"<integer>\",\n  \"smtp_protocol\": \"<string>\",\n  \"smtp_username\": \"<string>\",\n  \"tracking_domain\": \"<string,null>\",\n  \"variables\": {\n    \"key_0\": \"<string>\"\n  }\n}"
            },
            "description": {
              "content": "Creates a custom SMTP sending account. Supply an `Idempotency-Key` header to safely retry on network errors. The SMTP password is stored securely and is never returned.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Create an SMTP sending account",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 201,
              "cookie": [],
              "header": [
                {
                  "description": "Canonical GET URL for the new sending account.",
                  "disabled": true,
                  "key": "Location",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Sending account created",
              "status": "Created"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Limit reached or idempotency conflict",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            }
          ]
        },
        {
          "event": [],
          "name": "Delete a sending account",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Deletes a custom or connected sending account. The shared Amazon SES account cannot be deleted.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "name": "Delete a sending account",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Deletion result",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Sending account not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Shared account cannot be deleted",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            }
          ]
        },
        {
          "event": [],
          "name": "Get a sending account",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns one sending account. Responses include an ETag for conditional GET and optimistic PATCH.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-None-Match",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get a sending account",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "W/\"a1b2c3d4e5f60718\""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Sending account",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 304,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "Not Modified",
              "status": "Not Modified"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Sending account not found",
              "status": "Not Found"
            }
          ]
        },
        {
          "event": [],
          "name": "Update a sending account",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"from_email\": \"<string,null-email>\",\n  \"from_name\": \"<string,null>\",\n  \"name\": \"<string>\",\n  \"percentage\": \"<integer>\",\n  \"quotas\": {\n    \"per_day\": \"<integer>\",\n    \"per_hour\": \"<integer>\",\n    \"per_minute\": \"<integer>\",\n    \"per_second\": \"<integer>\"\n  },\n  \"reply_to_email\": \"<string,null-email>\",\n  \"reply_to_name\": \"<string,null>\",\n  \"smtp_host\": \"<string>\",\n  \"smtp_password\": \"<string>\",\n  \"smtp_port\": \"<integer>\",\n  \"smtp_protocol\": \"<string>\",\n  \"smtp_username\": \"<string>\",\n  \"tracking_domain\": \"<string,null>\",\n  \"variables\": {\n    \"key_0\": \"<string>\"\n  }\n}"
            },
            "description": {
              "content": "Updates a custom sending account or replaces variables on the shared Amazon SES account. Shared-account connection settings cannot be edited; use activate/deactivate and the limit-request endpoint for its other allowed actions.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-Match",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PATCH",
            "name": "Update a sending account",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Updated sending account",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Sending account not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "ETag conflict",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Shared-account lock or unsupported field",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            }
          ]
        },
        {
          "event": [],
          "name": "Activate a sending account",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Enables a sending account. OAuth accounts without an active connection are moved to pending until reconnected in the dashboard. The shared Amazon SES account can be activated.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Activate a sending account",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                ":public_id",
                "activate"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Updated sending account",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Sending account not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Idempotency conflict",
              "status": "Conflict"
            }
          ]
        },
        {
          "event": [],
          "name": "Deactivate a sending account",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Disables a sending account. The shared Amazon SES account can be deactivated.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Deactivate a sending account",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                ":public_id",
                "deactivate"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Updated sending account",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Sending account not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Idempotency conflict",
              "status": "Conflict"
            }
          ]
        },
        {
          "event": [],
          "name": "Test an SMTP sending account",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Runs a connection test for a custom SMTP account. The shared Amazon SES account and OAuth accounts cannot be tested through this endpoint.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Test an SMTP sending account",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                ":public_id",
                "test"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Connection test result",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Sending account not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Account cannot be tested",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Connection testing unavailable",
              "status": "Service Unavailable"
            }
          ]
        },
        {
          "event": [],
          "name": "Get sending account limits",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns custom-account capacity and shared Amazon SES daily sending limit state.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get sending account limits",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                "limits"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Limit state",
              "status": "OK"
            }
          ]
        },
        {
          "event": [],
          "name": "Request a sending account limit increase",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Creates a request to increase the number of custom or connected sending accounts allowed for the team.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Request a sending account limit increase",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                "limits",
                "sending-accounts",
                "request-increase"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request submitted",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Free plan limits are fixed; upgrade to Pro to add more sending accounts",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "A request is already pending",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Increase request is not available yet",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            }
          ]
        },
        {
          "event": [],
          "name": "Get shared Amazon SES limit request state",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns the shared Amazon SES daily limit state and any pending increase request.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get shared Amazon SES limit request state",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                "shared-amazon-ses-limit-request"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Shared Amazon SES limit request state",
              "status": "OK"
            }
          ]
        },
        {
          "event": [],
          "name": "Request a shared Amazon SES daily limit increase",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Creates a review request for the shared Amazon SES daily sending limit. This does not modify the limit directly.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Request a shared Amazon SES daily limit increase",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                "shared-amazon-ses-limit-request"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request submitted",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Free plan limits are fixed; upgrade to Pro to increase the managed sending limit",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Shared Amazon SES account not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "A request is already pending",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Increase request is not available yet",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            }
          ]
        },
        {
          "event": [],
          "name": "Cancel a shared Amazon SES daily limit request",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Cancels a pending shared Amazon SES daily limit increase request for the caller's team. Approved or denied requests cannot be cancelled.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "name": "Cancel a shared Amazon SES daily limit request",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                "shared-amazon-ses-limit-request",
                ":request_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "request_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request cancelled",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request has already been approved or denied",
              "status": "Conflict"
            }
          ]
        },
        {
          "event": [],
          "name": "Get sending account statistics",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns aggregate counts of configured sending accounts with breakdowns by type and status.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get sending account statistics",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                "stats"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Sending account statistics",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        },
        {
          "event": [],
          "name": "Get sending account usage",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns per-account delivery-log counts for today and the trailing 7-day window.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get sending account usage",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "providers",
                "usage"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Usage summary",
              "status": "OK"
            }
          ]
        }
      ],
      "name": "Sending accounts"
    },
    {
      "description": {
        "content": "",
        "type": "text/plain"
      },
      "event": [],
      "item": [
        {
          "event": [],
          "name": "List webhook subscriptions",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns a cursor-paginated list of webhook subscriptions configured for the team, ordered by `created_at` descending. The signing secret is never included. Pass `cursor=<next_cursor>` from the previous response to fetch the next page.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "List webhook subscriptions",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "webhooks"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "<integer>"
                }
              ],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Subscription list",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            }
          ]
        },
        {
          "event": [],
          "name": "Create a webhook subscription",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"enabled\": \"<boolean>\",\n  \"event_types\": [\n    \"<string>\"\n  ],\n  \"filters\": {\n    \"mailbox_ids\": [\n      \"<string>\"\n    ]\n  },\n  \"name\": \"<string>\",\n  \"url\": \"<uri>\"\n}"
            },
            "description": {
              "content": "Creates a new webhook subscription and returns the signing secret ONCE in the response body. Store it securely — it cannot be retrieved later. Use `POST /webhooks/{id}/rotate-secret` to issue a new one.\n\nSupply an `Idempotency-Key` header (any unique string, max 255 chars) to safely retry on network errors. Replays with the same key return the original response; replays with a different body return `409 idempotency_conflict`.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Create a webhook subscription",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "webhooks"
              ],
              "query": [],
              "variable": []
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 201,
              "cookie": [],
              "header": [
                {
                  "description": "Canonical GET URL for the newly created webhook subscription.",
                  "disabled": true,
                  "key": "Location",
                  "value": "/api/v1/webhooks/whk_clxxxxxxxxxxxxxxxxxxxxxxxxx"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Subscription created, including the signing secret. The response carries a `Location` header pointing at the canonical GET URL for the new subscription.",
              "status": "Created"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "`Idempotency-Key` was replayed with a different body (`idempotency_conflict`).",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Validation failed (e.g. non-https URL, unknown event type)",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            }
          ]
        },
        {
          "event": [],
          "name": "Delete a webhook subscription",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Permanently removes the subscription. In-flight retries are dropped.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "DELETE",
            "name": "Delete a webhook subscription",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "webhooks",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Deletion result",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Subscription not found",
              "status": "Not Found"
            }
          ]
        },
        {
          "event": [],
          "name": "Get a webhook subscription",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns a single webhook subscription. The signing secret is never included. Responses carry a weak `ETag` header — send it back as `If-None-Match` on the next request and the server will return `304 Not Modified` (no body) when the resource has not changed. The same ETag is the value to use in `If-Match` on PATCH for optimistic concurrency.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-None-Match",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get a webhook subscription",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "webhooks",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for conditional GETs and optimistic-concurrency PATCHes.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "W/\"a1b2c3d4e5f60718\""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Subscription",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "text",
              "body": "",
              "code": 304,
              "cookie": [],
              "header": [
                {
                  "description": "Current weak ETag (same as request's `If-None-Match`).",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "text/plain"
                }
              ],
              "name": "Not Modified — the client's cached copy (matching `If-None-Match`) is still current.",
              "status": "Not Modified"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Subscription not found",
              "status": "Not Found"
            }
          ]
        },
        {
          "event": [],
          "name": "Update a webhook subscription",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "body": {
              "mode": "raw",
              "options": {
                "raw": {
                  "language": "json"
                }
              },
              "raw": "{\n  \"enabled\": \"<boolean>\",\n  \"event_types\": [\n    \"<string>\"\n  ],\n  \"filters\": {\n    \"mailbox_ids\": [\n      \"<string>\"\n    ]\n  },\n  \"name\": \"<string,null>\",\n  \"url\": \"<uri>\"\n}"
            },
            "description": {
              "content": "Updates the URL, event types, or enabled flag. Any field omitted from the request body is left unchanged. The signing secret is unaffected — use `POST /webhooks/{id}/rotate-secret` to rotate it.\n\nFor optimistic concurrency, send `If-Match: <etag>` using the ETag from a prior GET. A mismatched `If-Match` returns `409 conflict` (the server's ETag is echoed back so you can decide whether to re-fetch). Responses carry the new ETag so chained edits can pipeline without a re-GET.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "If-Match",
                "value": "<string>"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "PATCH",
            "name": "Update a webhook subscription",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "webhooks",
                ":public_id"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "description": "Weak ETag for the post-update resource.",
                  "disabled": true,
                  "key": "ETag",
                  "value": "string"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Updated subscription",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid request body",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Subscription not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "`If-Match` ETag does not match the server's current version.",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 413,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Request body too large",
              "status": "Request Entity Too Large"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 422,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Validation failed (e.g. non-https URL, unknown event type, empty event list)",
              "status": "Unprocessable Entity (WebDAV) (RFC 4918)"
            }
          ]
        },
        {
          "event": [],
          "name": "List webhook delivery attempts",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns recent delivery attempts for one webhook subscription, ordered by `created_at` descending. Delivery metadata is retained for 7 days. Use the payload endpoint while `payload_available` is true to inspect the exact JSON request body that was delivered.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "List webhook delivery attempts",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "webhooks",
                ":public_id",
                "deliveries"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "<integer>"
                },
                {
                  "disabled": true,
                  "key": "event_type",
                  "value": "<string>"
                },
                {
                  "disabled": true,
                  "key": "result",
                  "value": "<string>"
                }
              ],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Delivery-attempt list",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 400,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Invalid query parameter",
              "status": "Bad Request"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Subscription not found",
              "status": "Not Found"
            }
          ]
        },
        {
          "event": [],
          "name": "Get a webhook delivery payload",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Returns the retained JSON request body for one delivery attempt. Payloads are retained for 7 days and may no longer be available after `payload_expires_at`.",
              "type": "text/plain"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "name": "Get a webhook delivery payload",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "webhooks",
                ":public_id",
                "deliveries",
                ":delivery_id",
                "payload"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                },
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "delivery_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Delivery payload",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 401,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Authentication required",
              "status": "Unauthorized"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 403,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Insufficient permissions",
              "status": "Forbidden"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Delivery not found or payload no longer available",
              "status": "Not Found"
            }
          ]
        },
        {
          "event": [],
          "name": "Rotate the signing secret",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Generates a fresh signing secret and returns it ONCE. The old secret is immediately invalidated — the next event delivery is signed with the new secret. Store the new value securely; it cannot be retrieved later.\n\nSupply an `Idempotency-Key` header to safely retry on network errors — replays under the same key return the original rotation response rather than minting a fresh secret. Replays against a different `public_id` under the same key return `409 idempotency_conflict`.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Rotate the signing secret",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "webhooks",
                ":public_id",
                "rotate-secret"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Subscription with new signing secret",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Subscription not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "`Idempotency-Key` was replayed against a different webhook (`idempotency_conflict`).",
              "status": "Conflict"
            }
          ]
        },
        {
          "event": [],
          "name": "Send a synthetic test event",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "description": {
              "content": "Publishes a synthetic `sendmux.test` event to this webhook subscription. The subscription must include `\"sendmux.test\"` in `event_types`, and mailbox filters do not block the test delivery. Returns the generated `event_id` so you can correlate the `X-Qubrics-Event-Id` or `X-Sendmux-Event-Id` header on your endpoint.\n\nSupply an `Idempotency-Key` header to safely retry on network errors — replays under the same key return the original `event_id` rather than publishing a second test event.",
              "type": "text/plain"
            },
            "header": [
              {
                "description": "",
                "disabled": true,
                "key": "Idempotency-Key",
                "value": "<string>"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "POST",
            "name": "Send a synthetic test event",
            "url": {
              "host": [
                "{{management_base_url}}"
              ],
              "path": [
                "webhooks",
                ":public_id",
                "test"
              ],
              "query": [],
              "variable": [
                {
                  "description": "(Required) ",
                  "disabled": false,
                  "key": "public_id",
                  "type": "any",
                  "value": "<string>"
                }
              ]
            }
          },
          "response": [
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 200,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Test event published",
              "status": "OK"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 404,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Subscription not found",
              "status": "Not Found"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 409,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "`Idempotency-Key` was replayed against a different webhook (`idempotency_conflict`) or the webhook is not subscribed to `sendmux.test` (`conflict`).",
              "status": "Conflict"
            },
            {
              "_postman_previewlanguage": "json",
              "body": "",
              "code": 503,
              "cookie": [],
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "name": "Event publish service is unavailable.",
              "status": "Service Unavailable"
            }
          ]
        }
      ],
      "name": "Webhooks"
    }
  ],
  "variable": [
    {
      "key": "sendmux_api_key",
      "type": "string",
      "value": ""
    },
    {
      "key": "management_base_url",
      "type": "string",
      "value": "https://app.qubrics.com/api/v1"
    }
  ]
}
