Skip to main content
PATCH
Update webhook

Authorizations

Authorization
string
header
required

Account token (zpfy_acct_...) — manages instances and webhooks.

Path Parameters

id
string
required

Instance ID.

webhookId
string
required

Webhook ID.

Body

application/json
url
string<uri>
events
enum<string>[]

Event type. MESSAGE_RECEIVED = incoming message; MESSAGE_SENT = message sent by the instance; MESSAGE_STATUS = delivery/read status change; CONNECTION_UPDATE = instance connection change; QRCODE_UPDATED = new QR Code to pair.

Available options:
MESSAGE_RECEIVED,
MESSAGE_SENT,
MESSAGE_STATUS,
CONNECTION_UPDATE,
QRCODE_UPDATED
enabled
boolean

Response

Webhook updated.

data
object