Endpoint: POST /webhooks

Body:

Response:

The webhook object

Example request

curl <https://api.height.app/webhooks> \\\\
  -H "Authorization: api-key secret_1234" \\
	-H "Content-Type: application/json" \\
	-d '{"url": "<https://example.com>", "events": ["task.created", "task.updated", "task.deleted"], "include": ["redacted"]}'

Example response

{
	id: "6c4140d7-6ff0-4cf3-bc57-15ef370aa21d",
  model: "webhook",
  url: "<https://example.com>",
  events: ["task.created", "task.updated", "task.deleted"],
}