{"id":300,"date":"2014-10-03T03:58:37","date_gmt":"2014-10-03T03:58:37","guid":{"rendered":"http:\/\/www.improvely.com\/docs\/?p=300"},"modified":"2014-10-15T01:11:52","modified_gmt":"2014-10-15T01:11:52","slug":"api-post-user","status":"publish","type":"post","link":"https:\/\/www.improvely.com\/docs\/api-post-user","title":{"rendered":"POST \/user.json"},"content":{"rendered":"<p><b>Description:<\/b> Creates a new user for logging in to your Improvely account. This method is only available to accounts on the <a href=\"https:\/\/www.improvely.com\/pricing\">Startup or Agency billing plans<\/a>.<\/p>\n<p><b>API Endpoint URL:<\/b> <code>https:\/\/api.improvely.com\/v1\/user.json<\/code><\/p>\n<table class=\"api\">\n<tr>\n<th>Attribute<\/th>\n<th>Required<\/th>\n<th>Default<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>key<\/td>\n<td style=\"text-align: center\"><i class=\"fa fa-check\"><\/i><\/td>\n<td><\/td>\n<td>Your API key<\/td>\n<\/tr>\n<tr>\n<td>first_name<\/td>\n<td style=\"text-align: center\"><i class=\"fa fa-check\"><\/i><\/td>\n<td><\/td>\n<td>The user&#8217;s first name.<\/td>\n<\/tr>\n<tr>\n<td>last_name<\/td>\n<td style=\"text-align: center\"><i class=\"fa fa-check\"><\/i><\/td>\n<td><\/td>\n<td>The user&#8217;s last name.<\/td>\n<\/tr>\n<tr>\n<td>email<\/td>\n<td style=\"text-align: center\"><i class=\"fa fa-check\"><\/i><\/td>\n<td><\/td>\n<td>The user&#8217;s e-mail address.<\/td>\n<\/tr>\n<tr>\n<td>password<\/td>\n<td style=\"text-align: center\"><i class=\"fa fa-check\"><\/i><\/td>\n<td><\/td>\n<td>The user&#8217;s login password.<\/td>\n<\/tr>\n<tr>\n<td>timezone<\/td>\n<td><\/td>\n<td>America\/New_York<\/td>\n<td>The time zone reports will be displayed in for this user. See <a href=\"\/docs\/supported-time-zones\">supported time zone values<\/a>.<\/td>\n<\/tr>\n<tr>\n<td>is_administrator<\/td>\n<td><\/td>\n<td>false<\/td>\n<td>Boolean (&#8220;true&#8221; or &#8220;false&#8221;) 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.<\/td>\n<\/tr>\n<tr>\n<td>notify_goal<\/td>\n<td><\/td>\n<td>false<\/td>\n<td>Boolean (&#8220;true&#8221; or &#8220;false&#8221;) indicating whether to notify this user by e-mail when a new goal conversion occurs.<\/td>\n<\/tr>\n<tr>\n<td>notify_fraud<\/td>\n<td><\/td>\n<td>false<\/td>\n<td>Boolean (&#8220;true&#8221; or &#8220;false&#8221;) indicating whether to notify this user by e-mail when a new click fraud alert occurs.<\/td>\n<\/tr>\n<\/table>\n<p><strong>Example request:<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncurl https:\/\/api.improvely.com\/v1\/user.json \\\r\n  -X POST \\\r\n  -d 'key=90c0d64fds653338as6869e54267e05&amp;first_name=Dan&amp;last_name=Grossman&amp;email=dan@awio.com&amp;password=itsasecret'\r\n<\/pre>\n<p><strong>Example successful response (HTTP status code 200):<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n    &quot;status&quot;: &quot;success&quot;,\r\n    id: 3\r\n}\r\n<\/pre>\n<p><strong>Example failure response (HTTP status code: 400):<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n    &quot;status&quot;: &quot;error&quot;,\r\n    &quot;type&quot;: &quot;parameters&quot;,\r\n    &quot;message&quot;: &quot;Missing required parameter: `email`.&quot;\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;s first name. last_name The user&#8217;s last name. email The user&#8217;s e-mail address. password The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-api"],"_links":{"self":[{"href":"https:\/\/www.improvely.com\/docs\/wp-json\/wp\/v2\/posts\/300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.improvely.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.improvely.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.improvely.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.improvely.com\/docs\/wp-json\/wp\/v2\/comments?post=300"}],"version-history":[{"count":10,"href":"https:\/\/www.improvely.com\/docs\/wp-json\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":315,"href":"https:\/\/www.improvely.com\/docs\/wp-json\/wp\/v2\/posts\/300\/revisions\/315"}],"wp:attachment":[{"href":"https:\/\/www.improvely.com\/docs\/wp-json\/wp\/v2\/media?parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.improvely.com\/docs\/wp-json\/wp\/v2\/categories?post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.improvely.com\/docs\/wp-json\/wp\/v2\/tags?post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}