cURL
curl --request POST \ --url https://api.usecloudpress.com/v2/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "endpoint": "<string>", "description": "<string>", "events": [ "<string>" ], "connections": [ 123 ], "origin": "<string>" }'
{ "id": 123, "endpoint": "<string>", "description": "<string>", "events": [ "<string>" ], "connections": [ { "id": 123, "name": "<string>" } ] }
Allows you to create a new webhook.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Creates a new webook
Success
Describes a webhook.