Plane docs
ApiSchemas

HookDelivery

One shape from the contract, as it appears on the wire.

Used by hooks.deliveries, hooks.discard, hooks.redeliver

Referenced from HookDeliveryPage

JSON Schema

{
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/HookDeliveryId"
    },
    "sessionId": {
      "$ref": "#/components/schemas/SessionId"
    },
    "connectionId": {
      "$ref": "#/components/schemas/ConnectionId"
    },
    "connectionName": {
      "type": "string"
    },
    "eventSeq": {
      "$ref": "#/components/schemas/EventSeq"
    },
    "eventType": {
      "type": "string"
    },
    "status": {
      "$ref": "#/components/schemas/HookDeliveryStatus"
    },
    "attempts": {
      "type": "integer",
      "minimum": 0
    },
    "nextAttemptAt": {
      "type": "string"
    },
    "createdAt": {
      "type": "string"
    },
    "deliveredAt": {
      "type": "string"
    },
    "lastError": {
      "type": "string"
    },
    "payload": {}
  },
  "required": [
    "id",
    "sessionId",
    "connectionId",
    "connectionName",
    "eventSeq",
    "eventType",
    "status",
    "attempts",
    "nextAttemptAt",
    "createdAt"
  ],
  "additionalProperties": false
}

On this page