Inboxes: Add a New Agent
gapify_add_inbox_agentsAdd agents to an inbox by providing the account ID, inbox ID, and user IDs; use for assigning support users to Gapify inboxes.
Instructions
Add agents to an inbox [Inboxes]
POST /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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>",
"inbox_id": "<inbox_id>",
"user_ids": "<user_ids>"
},
"name": "gapify_add_inbox_agents"
}
}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). |