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

NameDescriptionTypeMandatory
last_nameThe last name of the user.StringYes
emailThe email address of the userStringYes
profileThe ID of the profile you want to assign to the userStringYes

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"
        }
    ]
}