Inboxes: Update Inbox
gapify_update_inboxUpdate an inbox's settings such as name, avatar, and auto-assignment using the Gapify API.
Instructions
Update an inbox's settings, such as name, avatar and auto assignment [Inboxes]
PATCH /api/v1/accounts/{account_id}/inboxes/{id}
Auth: User API key (header api-access-token).
Body fields: name, enable_auto_assignment (required), avatar, channel. 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 |
|---|---|---|---|
| id | Yes | ID of the inbox | |
| name | No | The name of the inbox | |
| avatar | No | Image file for avatar | |
| channel | No | Channel settings object. For a website inbox: {type: "web_widget", website_url, welcome_title, welcome_tagline, agent_away_message, widget_color}. Text values may be Persian. Example: {"website_url":"https://example.com","welcome_title":"string","welcome_tagline":"string","agent_away_message":"string","widget_color":"string"} | |
| 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). | |
| enable_auto_assignment | Yes | Enable Auto Assignment Example: false |