Integrations: Create an integration hook
gapify_create_integration_hookCreate an integration hook for a Gapify account by providing an app ID, optional inbox ID, and settings to connect an app or inbox.
Instructions
Create an integration hook [Integrations]
POST /api/v1/accounts/{account_id}/integrations/hooks
Auth: User API key (header api-access-token).
Body fields: app_id, inbox_id, settings. 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 |
|---|---|---|---|
| app_id | No | The ID of app for which integration hook is being created | |
| inbox_id | No | The inbox ID, if the hook is an inbox hook | |
| settings | No | The settings required by the integration Example: {} | |
| 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). |