PinherePinhere issue collaboration API
PATCH/webhooks/{webhookId}
Update webhook
Updates a webhook name, URL, or enabled state using If-Match.
Pinhere APIs for projects, origins, issues, private screenshots, webhooks, PATs, and Chrome-extension OAuth. The fixed PontxSpec covers all 34 Endpoints. Hub provides documentation and a local SDK/CLI only; it proxies no request.
Request
- operationId
updateWebhook- Server
https://pinhere-jasonhzqs-projects.vercel.app/api/v1- Authentication
- pinherePat, websiteSession, extensionOAuth
Request parameters
webhookId
pathstringrequired
Webhook ID.
whk_example
If-Match
headerstringrequired
Must match the ETag derived from the resource version.
1
Idempotency-Key
headerstring
Retained for 24 hours per account and endpoint; reuse with a different request returns 409.
example-idempotency-key
Request body
WebhookUpdateInputrequired
Content-Type: application/json
Properties: nameurlenabled
Responses
200
objectapplication/json
Webhook updated.
Properties: data
412
ErrorResponseapplication/json
If-Match is missing or the version conflicts.
Properties: error
422
ErrorResponseapplication/json
URL failed public HTTPS/SSRF validation.
Properties: error
default
ErrorResponseapplication/json
Standard error response.
Properties: error
{
"data": {
"id": "whk_example",
"projectId": "prj_example",
"name": "Issue automation",
"url": "https://hooks.example.com/pinhere",
"enabled": true,
"createdAt": "2026-08-15T08:00:00.000Z",
"updatedAt": "2026-08-15T08:00:00.000Z",
"version": 1
}
}