Add a User
This API allows you to add or invite a new user to your account. In the sample request, you'd have to specify the user's email address and name.
Request Type
- POST
Request URL
https://campaigns.zoho.com/emailapi/v2/settings/users
Content-Type
application/json
List of Request Body Attributes
Parameters | Data Type | Description |
email_id | String | Email address of the user. |
user_name | String | Name of the user. |
List of Response Body Attributes
Parameters | Data Type | Description |
response | JSON Object | Contains the response details of the API. |
code | Integer | Success or failure code. |
message | String | Success or failure message returned by the API. |
errors | JSON Object | Contains the error details of the API such as 'code' and 'message'. |
Possible Errors
Error Code | Description |
400603 | User already exists. |
400604 | User already invited. |
400605 | User limit reached. You can't add users anymore. |
Sample Request Payload
Copied{
"email_id": "siegfried@zylker.com",
"user_name": "Siegfried"
}
Sample Response - Success
Copied{
"response": {
"code": 200607,
"message": "An invitation has been sent to the user"
}
}
Sample Response - Failure
Copied{
"errors": [
{
"code": 500601,
"message": "An error occurred in User Management"
}
]
}