{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mailfixture-com/json-schema/mailfixture-com-hook-schema.json",
  "title": "Hook",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mailfixture-com-openapi.json#/components/schemas/Hook",
  "properties": {
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "format": "uuid",
      "type": "string"
    },
    "ingest_url": {
      "description": "The public URL to configure in the app under test. Any method; bodies up to 256KB. Successful captures always answer the fixed `200 {\"ok\":true}` — responses are not configurable; over-size bodies answer 413, exhausted quotas 429 with Retry-After, and an unknown token 404.",
      "type": "string"
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "token": {
      "description": "The write capability embedded in the ingest URL. Anyone who knows it can add requests to the bin — treat like a webhook secret. It never grants reads.",
      "type": "string"
    },
    "ttl_expires_at": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "token",
    "ingest_url",
    "label",
    "ttl_expires_at",
    "created_at"
  ],
  "type": "object"
}