Webhooks: Update a webhook object
gapify_update_webhookUpdate an existing webhook's URL or event subscriptions in Gapify accounts via the API, so assistants can change where notifications are delivered and which events trigger them.
Instructions
Update a webhook object in the account [Webhooks]
PATCH /api/v1/accounts/{account_id}/webhooks/{webhook_id}
Auth: User API key (header api-access-token).
Body fields: url, subscriptions. Extra fields can be passed via extra_body.
Text values may be written in Persian (Farsi) or any other language and are sent unchanged; IDs, numbers and phone numbers may use Persian or Arabic-Indic digits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The url where the events should be sent Example: "https://example.com" | |
| account_id | Yes | The numeric ID of the account | |
| extra_body | No | Additional JSON body fields to merge into the request (for keys not listed above). | |
| webhook_id | Yes | The numeric ID of the webhook | |
| subscriptions | No | The events you want to subscribe to. Example: ["conversation_created"] |