Inboxes: Update Agents in Inbox
gapify_update_inbox_agentsReplace the agents assigned to an inbox, adding listed user IDs and removing those not included.
Instructions
Replace the agents of an inbox. Agents not in user_ids are removed from the inbox [Inboxes]
PATCH /api/v1/accounts/{account_id}/inbox_members
Auth: User API key (header api-access-token).
Body fields: inbox_id (required), user_ids (required). 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 |
|---|---|---|---|
| inbox_id | Yes | The ID of the inbox | |
| user_ids | Yes | IDs of users to be added to the inbox Example: [1] | |
| 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). |