Get webhook

http
GET /projects/{project_reference}/webhooks/{webhook_id}

Read one webhook by its ID to inspect its target, prompt template, event filter and status; returns the webhook with its public URL and never its secret. Requires project.agents.read.

Parameters

NameInRequiredDescription
project_referencepathYes
webhook_idpathYesThe webhook id (id on the webhook, formerly webhook_definition_id). A missing webhook is not found.

Responses

StatusDescription
200Webhook
400invalid_input: invalid parameters
401unauthenticated
403forbidden: a project member without project.agents.read
404not_found: project or webhook not found or not visible
500internal
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly