GetItDoneGetItDone Docs
API ReferenceWebhook endpoints

Update a webhook endpoint

Partial update of url/event_types/enabled — org-scoped, 404 for a cross-org or unknown id. NEVER rotates the secret (use the `rotate-secret` action). Changing `url` to a different value resets `verified` to false. The (re-validated) URL check can answer 422 `webhook_url_rejected`.

PATCH
/v1/webhook-endpoints/{endpoint_id}

Partial update of url/event_types/enabled — org-scoped, 404 for a cross-org or unknown id. NEVER rotates the secret (use the rotate-secret action). Changing url to a different value resets verified to false. The (re-validated) URL check can answer 422 webhook_url_rejected.

Authorization

bearerAuth
AuthorizationBearer <token>

A gid_ API key (Settings → API keys) or an OAuth 2.1 access token.

In: header

Path Parameters

endpoint_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Partial update — only send the fields you want to change; at least one is required.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/v1/webhook-endpoints/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "url": "string",  "enabled": true,  "event_types": [    "task.created"  ],  "verified": true,  "disabled_reason": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}