Add User
Use this API to add users to your Zoho Analytics Account (provided you are the Administrator). The users will be added in “Active State” by default and the active user count in your account will be increased accordingly. Incase your account already has exceeded the allowed user count limit, then the newly added users will be set as “Deactive”. An invitation mail will be triggered to the newly added users.
REQUEST URI
https://<ZohoAnalytics_Server_URI>/api/<OwnerEmail>
Post
COMMON PARAMETERS
Parameter | Possible Values | Description |
---|---|---|
ZOHO_ACTION | ADDUSER | This parameter specifies the action to be performed by the API request. Note: Value of ZOHO_ACTION parameter should be in the same case(UPPER CASE) as given in this document. |
ZOHO_OUTPUT_FORMAT | XML/JSON | This parameter specifies the output format for the response. |
ZOHO_ERROR_FORMAT | XML/JSON | Specifies the output format for the response in case an error occurs when trying to process the request. |
ZOHO_API_VERSION | 1.0 | The API version of Zoho Analytics based on which the application(/service) has been written. This parameter allows the Zoho Analytics to handle applications based on the older versions.The current API version is 1.0 |
AUTHORIZATION
To make authenticated API request, append the access token in Authorization request header.
Header Name | Value | Description |
---|---|---|
Authorization | Zoho-oauthtoken<space><access_token> | The Access token provides a secure and temporary access to Zoho Analytics API's. Each access token will be valid only for an hour, and can be used only for the set of operations that is described in the scope. |
ACTION SPECIFIC PARAMETERS
Parameter Name | Possible Values | Description |
---|---|---|
ZOHO_EMAILS | User email ID’s | This parameter holds the email addresses of the users to be added in your (Administrator’s) Zoho Analytics Account. The email addresses should be comma separated. ZOHO_EMAILS=user1@yourdomain.com,user2@yourdomain.com |
ZOHO_DOMAINNAME (Only For White Label Customers) | Domain name | It’s used to add user to the whitelabel domain. |
POSSIBLE ERROR CODES