HTTP API
POST
bearerheader
AuthorizationBearer <token>An operator key or the configured token.
application/json- body
url*stringWhere deliveries are POSTed. Checked against every address it resolves to, at subscribe and at every send.
Length
1 <= lengthtypes*array<string>The event types to deliver. model.chunk is not deliverable.
Items
1 <= itemsagents?array<string>Narrow the subscription to these agents. It can never hear more than the creating credential reaches.
Items
1 <= itemscreated; secret is in this response and no other
curl -X POST 'http://localhost:7420/v1/webhooks' \ -H 'Content-Type: application/json' \ -d '{ "url": "string", "types": [ "string" ]}'Example Response
Empty