Endpoint: POST /webhooks
Body:
url
stringevents
array of webhook event typesinclude
array of strings (optional) Accepted values:
redacted
If specified, will include all private tasks and activities as redactedResponse:
status
: 200 for successExample 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"],
}