{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/argorant-com/json-schema/argorant-com-webhook-delivery-schema.json",
  "title": "WebhookDelivery",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/argorant-com-webhooks-api-openapi.yml#/components/schemas/WebhookDelivery",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Delivery id."
    },
    "event": {
      "type": "string",
      "description": "Event name."
    },
    "status": {
      "type": "string",
      "description": "pending, delivered or failed."
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "200 once your server accepted the call."
    },
    "attempts": {
      "type": "integer",
      "description": "Tries so far."
    },
    "last_error": {
      "type": [
        "string",
        "null"
      ],
      "description": "Why the last try failed."
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the event happened.",
      "format": "date-time"
    },
    "delivered_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When your server accepted it.",
      "format": "date-time"
    },
    "next_attempt_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the next try runs.",
      "format": "date-time"
    }
  }
}