Skip to main content
PATCH
/
webhooks
/
{webhook_id}
Update webhook
curl --request PATCH \
  --url https://api.prequel.co/webhooks/{webhook_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "webhook": {
    "name": "<string>",
    "api_version": "2023-10-15",
    "events": [],
    "url": "<string>",
    "api_key": "<string>"
  }
}
'
{
  "status": "<string>",
  "data": {
    "webhook": {
      "id": "<string>",
      "name": "<string>",
      "url": "<string>",
      "api_version": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "events": [
        "<string>"
      ],
      "api_key": "<string>"
    }
  },
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://import-docs.prequel.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

Path Parameters

webhook_id
string
required

Webhook ID.

Body

application/json
webhook
HTTP · object
required

Response

OK

status
string
required
Allowed value: "success"
data
object
required
message
string
required