Skip to main content
PUT
/
webhooks
/
{id}
Update webhook
curl --request PUT \
  --url https://api.pocketsflow.com/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "description": "<string>",
  "active": true
}
'

Authorizations

Authorization
string
header
required

Enter your Pocketsflow API key (format: pk_live_... or pk_test_...)

Path Parameters

id
string
required

Webhook ID

Body

application/json
url
string<uri>
events
string[]
description
string
active
boolean

Response

200

Webhook updated successfully