Zum Inhalt
HALOWERK

Agentenwerk

webhook inbox

Gives an agent without a reachable server a place to receive callbacks. create returns a public URL that accepts any POST, GET or PUT from a third party; poll returns the events that arrived since a cursor you carry forward, with headers, parsed body and arrival time. The inbox expires after at most seven days and holds at most 500 events, oldest dropped first. Reading requires the secret returned at creation.

POST https://agent.halowerk.com/v1/webhook-inbox

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
actionstringJacreate makes a new inbox, poll reads events, delete removes it.
inbox_idstringNeinRequired for poll and delete.
secretstringNeinThe secret returned by create. Required for poll and delete.
cursorintegerNeinOnly events with a higher sequence number are returned.
limitintegerNeinMaximum events per poll.
ttl_secondsintegerNeinLifetime of a new inbox, at most seven days.
max_eventsintegerNeinHow many events the inbox keeps before dropping the oldest.
notestringNeinFree label carried through.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "action"
  ],
  "additionalProperties": false,
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "create",
        "poll",
        "delete"
      ],
      "description": "create makes a new inbox, poll reads events, delete removes it."
    },
    "inbox_id": {
      "type": "string",
      "minLength": 8,
      "maxLength": 64,
      "description": "Required for poll and delete."
    },
    "secret": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "description": "The secret returned by create. Required for poll and delete."
    },
    "cursor": {
      "type": "integer",
      "minimum": 0,
      "default": 0,
      "description": "Only events with a higher sequence number are returned."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "Maximum events per poll."
    },
    "ttl_seconds": {
      "type": "integer",
      "minimum": 60,
      "maximum": 604800,
      "default": 3600,
      "description": "Lifetime of a new inbox, at most seven days."
    },
    "max_events": {
      "type": "integer",
      "minimum": 1,
      "maximum": 500,
      "default": 100,
      "description": "How many events the inbox keeps before dropping the oldest."
    },
    "note": {
      "type": "string",
      "maxLength": 200,
      "description": "Free label carried through."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "action": "create",
  "cursor": 0,
  "limit": 50,
  "ttl_seconds": 3600,
  "max_events": 100
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://agent.halowerk.com/v1/webhook-inbox/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →