Skip to main content
PATCH
/
v1
/
webhooks
/
{id}
Update a webhook
curl --request PATCH \
  --url http://localhost:3000/v1/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "enabled_events": [
    "analysis.queued"
  ],
  "paused": true,
  "name": "<string>",
  "description": "<string>",
  "rotate_secret": true
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Body

application/json
url
string<uri>
Maximum string length: 2048
enabled_events
enum<string>[]
Minimum array length: 1
Available options:
analysis.queued,
analysis.completed,
analysis.failed,
persona.assigned,
methodology.assigned,
profile.synthesized,
playbook.draft.completed,
playbook.published,
insights.generated,
batch.completed,
batch.item.completed,
batch.item.failed,
export.ready,
webhook.test
paused
boolean
name
string | null
Maximum string length: 120
description
string | null
Maximum string length: 2000
rotate_secret
boolean

Response

200

Default Response