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.
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). |