curl --request POST \
--url https://api.dashboard.knotapi.com/webhook-endpoints/{id}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"environment": "development",
"url": "https://example.com/webhooks/knot-v2"
}
'{
"id": "0a8f5c6e-3d2b-4e1a-9f7c-8b6d5e4c3a21",
"url": "https://example.com/webhooks/knot-v2",
"description": "Primary webhook listener",
"environment": "development",
"created_at": "2026-10-01T14:32:08Z"
}Webhook Endpoints
Update Webhook Endpoint
Update a webhook endpoint’s URL or description.
POST
/
webhook-endpoints
/
{id}
/
update
curl --request POST \
--url https://api.dashboard.knotapi.com/webhook-endpoints/{id}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"environment": "development",
"url": "https://example.com/webhooks/knot-v2"
}
'{
"id": "0a8f5c6e-3d2b-4e1a-9f7c-8b6d5e4c3a21",
"url": "https://example.com/webhooks/knot-v2",
"description": "Primary webhook listener",
"environment": "development",
"created_at": "2026-10-01T14:32:08Z"
}Authorizations
Short-lived access token from the device authorization flow. Expires after 15 minutes. Accesses only the environment of the client ID it was issued for.
Path Parameters
Body
application/json
The input parameters required for updating a webhook endpoint. Include at least one of url or description.
Response
Successful request.
Was this page helpful?