Creates a new webhook endpoint. Events define which notifications are sent to the URL. Use instance_id to scope to a specific instance.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"https://example.com/webhook"
message.received, message.sent, message.delivered, message.read, message.failed, message.reaction, instance.connected, instance.disconnected, instance.qr, contact.created, group.joined, group.left ["message.received", "message.sent"]HMAC secret for verifying webhook signatures
Scope to a specific instance. NULL = global (all instances).
Custom HTTP headers sent with each delivery
{ "X-Custom": "value" }Webhook endpoint created
Webhook endpoint UUID
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Owner user ID
Destination URL
"https://example.com/webhook"
Subscribed event types
["message.received", "message.sent"]Max retry attempts on failure
3
Request timeout in milliseconds
5000
Whether the endpoint is active
true
Creation timestamp
Last update timestamp
HMAC secret for signature verification
Human-readable description
"Production webhook"
Scoped instance ID (null = all instances)
Custom HTTP headers sent with each delivery