Create a User
Purpose
To create a user record. The user will be listed under Invited Users.
Request URL
https://fsm.zoho.com/fsm/v1/users
Request Method
POST
Scope
scope=ZohoFSM.users.CREATE
Input JSON Keys
Name | Description | Type | Mandatory |
last_name | The last name of the user. | String | Yes |
The email address of the user | String | Yes | |
profile | The ID of the profile you want to assign to the user | String | Yes |
Sample Request
Copiedcurl --location --request POST 'https://fsm.zoho.com/fsm/v1/users' \
--header 'Authorization: Zoho-oauthtoken 1000.26xxxxxxxxxx.xxxxxxxxxx0' \
--header 'content-type: application/json' \
-d "@createUser.json"
Sample Input
Copied{
"users": [
{
"last_name": "potter",
"email": "harry@noemail.com",
"profile": "1437000000159442"
}
]
}
Sample Response
Copied{
"users": [
{
"code": "SUCCESS",
"details": {
"id": "2993000000321168"
},
"message": "User added",
"status": "success"
}
]
}