Skip to main content
PATCH
Update a webhook

Authorizations

apiKey
string
header
required

API key from Settings → API keys.

apiSecret
string
header
required

Secret shown once when the API key is created.

Path Parameters

webhookId
string
required

ID of the webhook. A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

Body

application/json
name
string

A name for the webhook.

Required string length: 1 - 200
description
string

What the webhook is for.

requestUrl
string<uri>

HTTPS URL that receives events.

requestMethod
enum<string>
default:POST

HTTP method used to call your URL. Default POST.

Available options:
POST,
PUT
requestHeaders
object

Extra headers sent with every event.

secret
string

When set, each event carries x-gallabox-signature: base64 HMAC-SHA256 of the raw body using this secret.

events
enum<string>[]

Events to send, for example Message.Received. GET /webhooks/events lists them.

Available options:
Contact.Created,
Contact.Updated,
Contact.Tag.Mapped,
Contact.Tag.Unmapped,
Conversation.Create,
Conversation.Update,
Conversation.Resolve,
Conversation.Followup,
Conversation.UnAttended,
Conversation.Tag.Mapped,
Conversation.Tag.Unmapped,
Conversation.HandoverAgentFallback,
Conversation.InactiveAgentFallback,
Conversation.AI.Analyse,
Conversation.SentimentDrop,
Message.Received,
Message.Send,
Message.Flow.Received,
Message.WA.Cart.Received,
Message.WA.Status.Received,
Message.WA.Status.Failed,
Message.WA.Payment.Status.Received,
Message.WA.Interaction.Received,
Template.Status,
Broadcast.WA.Message.Status.Received,
Broadcast.WA.Message.Status.Failed,
Broadcast.WA.Message.Engaged.Received,
Call.Received,
Call.Initiated,
Call.Connected,
Call.Ended,
Call.Missed,
Call.Rejected,
Call.Failed,
Call.Analysed

Response

The updated webhook.

id
string

A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

accountId
string

A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

name
string
description
string
requestUrl
string<uri>
requestMethod
string
requestHeaders
object
events
string[]
disabled
boolean

Set automatically after 1,000 failed deliveries within 24 hours.

requestFailedCount
integer
createdAt
string<date-time>
updatedAt
string<date-time>