Webhooks
The Webhooks operations of the Hub REST API (4 operations).
bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
List of webhook subscriptions
application/json- response
[index: integer]?curl -X GET 'https://pod.example.com/api/hub/webhooks'[ { "id": "string", "url": "string", "eventTypes": [ "string" ], "active": true, "createdAt": "string", "lastTriggeredAt": "string" }]bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
application/json- body
url*stringurieventTypes*array<string>1 <= itemssecret?stringWebhook subscription created
application/json- response
id*stringurl*stringeventTypes*array<string>secret?stringactive*booleancreatedAt*stringcurl -X POST 'https://pod.example.com/api/hub/webhooks' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com", "eventTypes": [ "string" ]}'{ "id": "string", "url": "string", "eventTypes": [ "string" ], "secret": "string", "active": true, "createdAt": "string"}bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
id*stringSubscription deleted
application/json- response
success*booleancurl -X DELETE 'https://pod.example.com/api/hub/webhooks/string'{ "success": true}bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
id*stringlimit?number1 <= value <= 100Delivery log
application/json- response
[index: integer]?curl -X GET 'https://pod.example.com/api/hub/webhooks/string/deliveries'[ { "property1": null, "property2": null }]