Webhook
Create a Webhook subscription
Creates a new Webhook subscription in your organization.
post/webhooks
Request body
Example request
{
"endpoint": "https://example.com:port/my-endpoint",
"description": "Lorem Ipsum",
"sandbox": true,
"workspaces": [
"9a93d3b5-fb3b-4abf-9e70-26315b33506c"
]
}Response
Created
Example response
{
"id": "89120884-d29a-4b1a-ac7b-a9e73a872795",
"endpoint": "https://example.com:port/my-endpoint",
"description": "Lorem Ipsum",
"workspaces": [
"9a93d3b5-fb3b-4abf-9e70-26315b33506c"
],
"created_at": "2024-01-18T22:59:00Z",
"updated_at": "2024-01-18T22:59:00Z"
}