Manage webhook endpoints with the API
You can now create and manage webhook endpoints through the Orb API, so you can set up and maintain webhook delivery as code instead of configuring each endpoint by hand.
- Create an endpoint with
POST /webhook_endpoints, setting itsurl, theenabled_event_typesit receives (all events if omitted), and itspayload_style(standardorexpanded). - List, retrieve, update and delete endpoints, or pause and resume delivery with the
disableandenableendpoints.
Note that the signing secret is returned only when you create an endpoint, so store it then. Each account can have up to 20 webhook endpoints by default.
Learn more about managing webhook endpoints in our docs.