Skip to main content
PATCH
/
webhooks
/
{webhookId}
Update webhook
curl --request PATCH \
  --url https://api.pokulabs.com/webhooks/{webhookId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "url": "<string>",
  "signingSecret": "<string>",
  "headers": {},
  "isActive": true,
  "eventTypes": [
    "phone.sms.received"
  ],
  "reservedPhoneNumberIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'

Authorizations

Authorization
string
header
required

Authentication header containing your Poku API key. Find it in the Poku dashboard. The format is "Bearer YOUR_API_KEY"

Path Parameters

webhookId
string<uuid>
required

Body

application/json
name
string
url
string<uri>
signingSecret
string
headers
object
isActive
boolean
eventTypes
enum<string>[]
Available options:
phone.sms.received,
phone.call.received
reservedPhoneNumberIds
string<uuid>[]