Webhooks
Update endpoint
Change url, format, events, or enabled; enabling again clears the disabled reason.
Authorization
Send Authorization: Bearer gr_... with a key from the Developer access page. The browser session cookie gpu_router_session also works.
Path parameters
idstringrequiredBody
urlstring<uri> | nullminLength: 1
maxLength: 2083
eventsenum<string>[] | nullAvailable options: job.completed job.failed run.completed run.failed benchmark.completed budget.reached webhook.test
minItems: 1
formatenum<string> | nullAvailable options: json slack discord
enabledboolean | nullResponses
200application/jsonSuccessful Response
Show response attributes
idstringrequiredurlstringrequiredeventsenum<string>[]requiredAvailable options: job.completed job.failed run.completed run.failed benchmark.completed budget.reached webhook.test
formatenum<string>requiredAvailable options: json slack discord
enabledbooleanrequireddisabled_reasonstring | nullWhy sending stopped on its own (a 410 Gone answer); cleared when enabled again.
created_atstring<date-time>required401application/jsonUNAUTHENTICATED: missing, invalid, expired, or revoked session or API key.
UNAUTHENTICATED403application/jsonCSRF_ORIGIN_MISMATCH: the Origin header does not match the public URL.
CSRF_ORIGIN_MISMATCH404application/jsonWEBHOOK_NOT_FOUND: no endpoint with this id belongs to the caller.
WEBHOOK_NOT_FOUND409application/jsonWEBHOOK_LIMIT_REACHED: the caller already has 5 endpoints. Nothing is stored.
WEBHOOK_LIMIT_REACHED422application/jsonVALIDATION_ERROR: malformed body, url not https to a public host (a hosted server refuses localhost and hosts that are or resolve to private, loopback, or link-local addresses, or do not resolve; plain http only to localhost on a local server), or events empty or naming an unknown event. Nothing is stored.
VALIDATION_ERROR429application/jsonRATE_LIMITED (retryable): the signed-in user made more than GPU_ROUTER_RATE_PER_MINUTE mutating requests in the last minute. Nothing was changed.
RATE_LIMITED500application/jsonUnexpected failure: INTERNAL_ERROR.
INTERNAL_ERROR502application/jsonAUTH_PROVIDER_REJECTED: the provider refused the request (not retryable).
AUTH_PROVIDER_REJECTED503application/jsonAUTH_NOT_CONFIGURED (not retryable) or AUTH_PROVIDER_UNAVAILABLE (retryable).
AUTH_NOT_CONFIGUREDAUTH_PROVIDER_UNAVAILABLEMCP tool
update_webhook: Change a webhook endpoint's url, events, format or enabled flag; omitted fields stay. Enabling clears disabled_reason. Free.