POST /user.json
Description: Creates a new user for logging in to your Improvely account. This method is only available to accounts on the Startup or Agency billing plans.
API Endpoint URL: https://api.improvely.com/v1/user.json
| Attribute | Required | Default | Description |
|---|---|---|---|
| key | Your API key | ||
| first_name | The user’s first name. | ||
| last_name | The user’s last name. | ||
| The user’s e-mail address. | |||
| password | The user’s login password. | ||
| timezone | America/New_York | The time zone reports will be displayed in for this user. See supported time zone values. | |
| is_administrator | false | Boolean (“true” or “false”) indicating whether the user is an administrator. An administrator may create and edit all projects and settings. Non-administrative users have read-only access to view projects and their reports. | |
| notify_goal | false | Boolean (“true” or “false”) indicating whether to notify this user by e-mail when a new goal conversion occurs. | |
| notify_fraud | false | Boolean (“true” or “false”) indicating whether to notify this user by e-mail when a new click fraud alert occurs. |
Example request:
curl https://api.improvely.com/v1/user.json \ -X POST \ -d 'key=90c0d64fds653338as6869e54267e05&first_name=Dan&last_name=Grossman&email=dan@awio.com&password=itsasecret'
Example successful response (HTTP status code 200):
{
"status": "success",
id: 3
}
Example failure response (HTTP status code: 400):
{
"status": "error",
"type": "parameters",
"message": "Missing required parameter: `email`."
}
