Account Users: Create an Account User
gapify_platform_create_account_userCreate an account user under a Gapify account by providing the user ID and role, assigning administrator or agent access.
Instructions
Create an Account User [Account Users]
POST /platform/api/v1/accounts/{account_id}/account_users
Auth: Platform app API key (header api-access-token).
Body fields: user_id (required), role (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>",
"user_id": "<user_id>",
"role": "<role>"
},
"name": "gapify_platform_create_account_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | whether user is an administrator or agent | |
| user_id | Yes | The ID of the user 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). |