Teams: Add a New Agent
gapify_add_team_agentsAdd specified users to an existing team by submitting their user IDs, so support agents can be grouped for assignment and collaboration.
Instructions
Add agents to a team [Teams]
POST /api/v1/accounts/{account_id}/teams/{team_id}/team_members
Auth: User API key (header api-access-token).
Body fields: 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 |
|---|---|---|---|
| team_id | Yes | The ID of the team to be updated | |
| user_ids | Yes | IDs of users to be added to the team 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). |