{
  "info": {
    "name": "CredCheck API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.sandbox.credcheck.app"
    },
    {
      "key": "apiKey",
      "value": "cc_test_..."
    }
  ],
  "item": [
    {
      "name": "Verification",
      "item": [
        {
          "name": "Verify a product code",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/verify",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "verify"],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Checks a code (or a full QR URL). Always answers 200 with an outcome for well-formed requests — an unknown code is `suspected_counterfeit`, never an error. Safe to retry. `unable_to_verify` and service errors never imply product risk. Public callers can report `channel` as `web`, `mobile_app` or `api`; any other value is recorded as `web` (SMS, USSD and WhatsApp are reserved for CredCheck gateways)."
          }
        },
        {
          "name": "Re-open a verification receipt",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/verify/:ref",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "verify", ":ref"],
              "variable": [
                {
                  "key": "ref",
                  "value": ""
                }
              ]
            },
            "description": "A record of an earlier check (24 hours). It does not check the product in hand."
          }
        },
        {
          "name": "Report a concern about a product",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/reports",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "reports"],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Report a concern about a product"
          }
        }
      ]
    },
    {
      "name": "Products",
      "item": [
        {
          "name": "List products",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/products",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "products"],
              "variable": []
            },
            "description": "List products"
          }
        },
        {
          "name": "Create a product",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/products",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "products"],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Create a product"
          }
        },
        {
          "name": "Export products as CSV",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/products/export.csv",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "products", "export.csv"],
              "variable": []
            },
            "description": "Export products as CSV"
          }
        },
        {
          "name": "Get a product",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/products/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "products", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Get a product"
          }
        },
        {
          "name": "Update a product",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/products/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "products", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Update a product"
          }
        },
        {
          "name": "Delete (discontinue) a product",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/products/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "products", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Delete (discontinue) a product"
          }
        },
        {
          "name": "List a product’s batches",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/products/:id/batches",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "products", ":id", "batches"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "List a product’s batches"
          }
        },
        {
          "name": "Create a batch",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/products/:id/batches",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "products", ":id", "batches"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Create a batch"
          }
        },
        {
          "name": "Get a batch with stats",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/batches/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "batches", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Get a batch with stats"
          }
        }
      ]
    },
    {
      "name": "Recalls",
      "item": [
        {
          "name": "Recall a batch",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/batches/:id/recall",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "batches", ":id", "recall"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Irreversible. Requires the batch number as confirmation. Consumers verifying affected codes are told to stop using the product."
          }
        }
      ]
    },
    {
      "name": "Codes",
      "item": [
        {
          "name": "Generate codes for a batch",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/generate",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes", "generate"],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Starts an asynchronous job. Send an `idempotencyKey` so retries never duplicate a job."
          }
        },
        {
          "name": "List generation jobs",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/jobs",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes", "jobs"],
              "variable": []
            },
            "description": "List generation jobs"
          }
        },
        {
          "name": "Get a generation job",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/jobs/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes", "jobs", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Get a generation job"
          }
        },
        {
          "name": "Download the code deliverable (once)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/jobs/:id/download",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes", "jobs", ":id", "download"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Plaintext serials. Single use and audited; requires the `codes:export` scope."
          }
        },
        {
          "name": "Import existing serials",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/import",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes", "import"],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Import existing serials"
          }
        },
        {
          "name": "Look up a code by serial",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/lookup",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes", "lookup"],
              "variable": []
            },
            "description": "Look up a code by serial"
          }
        },
        {
          "name": "Code totals by status and type",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/stats",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes", "stats"],
              "variable": []
            },
            "description": "Exact totals for the company, a product (`productId`) or a batch (`batchId`), from maintained counters."
          }
        },
        {
          "name": "Change status of many codes",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/bulk-status",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes", "bulk-status"],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Change status of many codes"
          }
        },
        {
          "name": "List codes",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes"],
              "variable": []
            },
            "description": "List codes"
          }
        },
        {
          "name": "Get a code",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Get a code"
          }
        },
        {
          "name": "Suspend, void or reactivate a code",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/codes/:id/status",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "codes", ":id", "status"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Suspend, void or reactivate a code"
          }
        }
      ]
    },
    {
      "name": "Analytics",
      "item": [
        {
          "name": "Verification overview",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/analytics/overview",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "analytics", "overview"],
              "variable": []
            },
            "description": "Verification overview"
          }
        },
        {
          "name": "Verifications over time",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/analytics/timeseries",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "analytics", "timeseries"],
              "variable": []
            },
            "description": "Verifications over time"
          }
        },
        {
          "name": "Verifications by channel",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/analytics/channel-mix",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "analytics", "channel-mix"],
              "variable": []
            },
            "description": "Verifications by channel"
          }
        },
        {
          "name": "Verifications by place",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/analytics/geo",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "analytics", "geo"],
              "variable": []
            },
            "description": "Verifications by place"
          }
        },
        {
          "name": "Authenticity score",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/analytics/authenticity-score",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "analytics", "authenticity-score"],
              "variable": []
            },
            "description": "Authenticity score"
          }
        },
        {
          "name": "Product analytics",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/analytics/products/:productId",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "analytics", "products", ":productId"],
              "variable": [
                {
                  "key": "productId",
                  "value": ""
                }
              ]
            },
            "description": "Product analytics"
          }
        },
        {
          "name": "Batch analytics",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/analytics/batches/:batchId",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "analytics", "batches", ":batchId"],
              "variable": [
                {
                  "key": "batchId",
                  "value": ""
                }
              ]
            },
            "description": "Batch analytics"
          }
        },
        {
          "name": "List verification events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/analytics/events",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "analytics", "events"],
              "variable": []
            },
            "description": "List verification events"
          }
        },
        {
          "name": "Export verification events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/analytics/events/export.csv",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "analytics", "events", "export.csv"],
              "variable": []
            },
            "description": "Streams every event matching the filters as CSV. `cursor` and `limit` are ignored: the export is not paginated."
          }
        },
        {
          "name": "Get a verification event",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/analytics/events/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "analytics", "events", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Get a verification event"
          }
        }
      ]
    },
    {
      "name": "Alerts",
      "item": [
        {
          "name": "List fraud alerts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/fraud/alerts",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "fraud", "alerts"],
              "variable": []
            },
            "description": "List fraud alerts"
          }
        },
        {
          "name": "Get a fraud alert",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/fraud/alerts/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "fraud", "alerts", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Get a fraud alert"
          }
        },
        {
          "name": "Update an alert’s status",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/fraud/alerts/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "fraud", "alerts", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Update an alert’s status"
          }
        }
      ]
    },
    {
      "name": "Consumer reports",
      "item": [
        {
          "name": "List consumer reports",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/reports",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "reports"],
              "variable": []
            },
            "description": "List consumer reports"
          }
        },
        {
          "name": "Report counts by status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/reports/counts",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "reports", "counts"],
              "variable": []
            },
            "description": "Report counts by status"
          }
        },
        {
          "name": "Get a report",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/reports/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "reports", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Get a report"
          }
        },
        {
          "name": "Change a report’s status",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/reports/:id/status",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "reports", ":id", "status"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Change a report’s status"
          }
        },
        {
          "name": "Reply to the consumer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/reports/:id/respond",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "reports", ":id", "respond"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Reply to the consumer"
          }
        }
      ]
    },
    {
      "name": "Webhooks",
      "item": [
        {
          "name": "List webhook endpoints",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "webhooks"],
              "variable": []
            },
            "description": "List webhook endpoints"
          }
        },
        {
          "name": "Create a webhook endpoint",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "webhooks"],
              "variable": []
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Public https URLs only. Deliveries are signed: `X-CredCheck-Signature: t=<unix>,v1=<hex HMAC-SHA256 of \"t.body\">`."
          }
        },
        {
          "name": "Update a webhook endpoint",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "webhooks", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}"
            },
            "description": "Update a webhook endpoint"
          }
        },
        {
          "name": "Delete a webhook endpoint",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "webhooks", ":id"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Delete a webhook endpoint"
          }
        },
        {
          "name": "Rotate the signing secret",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id/rotate-secret",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "webhooks", ":id", "rotate-secret"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Rotate the signing secret"
          }
        },
        {
          "name": "Send a test delivery",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/:id/test",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "webhooks", ":id", "test"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Send a test delivery"
          }
        },
        {
          "name": "List deliveries",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/deliveries",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "webhooks", "deliveries"],
              "variable": []
            },
            "description": "List deliveries"
          }
        },
        {
          "name": "Replay a delivery",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Api-Key",
                "value": "{{apiKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/webhooks/deliveries/:id/replay",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "webhooks", "deliveries", ":id", "replay"],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Replay a delivery"
          }
        }
      ]
    },
    {
      "name": "Platform",
      "item": [
        {
          "name": "Service status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/public/status",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "public", "status"],
              "variable": []
            },
            "description": "Service status"
          }
        },
        {
          "name": "Plans and prices",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/public/plans",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "public", "plans"],
              "variable": []
            },
            "description": "Plans and prices"
          }
        }
      ]
    }
  ]
}
