{"_id":"56b8acb443bbd10d0081d148","editedParams":true,"editedParams2":true,"parentDoc":null,"__v":1,"category":{"_id":"5692b19ffe72e00d00e4f0a8","__v":10,"pages":["5692b1ec72d4580d0081e96b","5692b39b72d4580d0081e96f","56951b250c650a2300250544","569520590c650a2300250553","56952277caa32519009c410a","569523782e5eb41700901a7e","56992a43de42370d00727c7c","56b8acb443bbd10d0081d148","56ec413636bc8e0e00f190e3","56ec46068fac371700005d12"],"project":"563cc7119799fb0d00047685","version":"563cc7119799fb0d00047688","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-01-10T19:31:43.021Z","from_sync":false,"order":13,"slug":"fix-api","title":"Users"},"user":"563cc6fa8894d20d00014ea3","version":{"_id":"563cc7119799fb0d00047688","__v":18,"project":"563cc7119799fb0d00047685","createdAt":"2015-11-06T15:28:17.683Z","releaseDate":"2015-11-06T15:28:17.683Z","categories":["563cc7129799fb0d00047689","566f37f37ffa002300c3cd5b","56914e9bd47b020d002225ac","5692b19ffe72e00d00e4f0a8","56940bc2d8c04d1700e5adb6","56940bc83e9d080d00f064f0","56951b2dfcb1032d0089df7a","569522aecaa32519009c410c","569523ce562335190016da97","569523fddcaf0d1700cb86bf","56980e4a8560a60d00e2c3c3","569921a41693520d002e1305","5699323b7465970d00650b82","569e6cc4fbee990d0072d927","56a2768a0aefae0d00b7fe66","5862e862b8b7fa23009665b7","592835c7bc8bca0f000cc9ff","596f693df43cca002e690e1c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Model T","version_clean":"1.0.0","version":"1"},"project":"563cc7119799fb0d00047685","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-08T14:56:52.887Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"POST /v1/signups/live HTTP/1.1\nHost: api.drivewealth.io\nAccept: application/json\nContent-Type: application/json\n\n{\n    \"wlpID\": \"DW\",\n    \"languageID\": \"en_US\",\n    \"firstName\": \"Bob\",\n    \"lastName\": \"Belcher\",\n    \"emailAddress1\": \"bob:::at:::belcher.com\",\n    \"username\": \"bobbelcher899\",\n    \"password\": \"abcd1234\"\n}","language":"http"},{"code":"curl -X POST -H \"Accept: application/json\" -H \"Content-Type: application/json\" -d '{\n    \"wlpID\": \"DW\",\n    \"languageID\": \"en_US\",\n    \"firstName\": \"Bob\",\n    \"lastName\": \"Belcher\",\n    \"emailAddress1\": \"bob@belcher.com\",\n    \"username\": \"bobbelcher543\",\n    \"password\": \"abcd1234\"\n}' \"http://api.drivewealth.io/v1/signups/live\"","language":"curl"}]},"method":"post","results":{"codes":[{"language":"json","status":200,"name":"","code":"{\n    \"password\": \"abcd1234\",\n    \"userID\": \"f6e54303-10ce-42b5-a4b0-b28c19cf5025\",\n    \"username\": \"bobbelcher899\"\n}"},{"name":"","code":"{\n    \"code\": 400,\n    \"message\": \"Invalid value: username\"\n}","language":"json","status":400}]},"settings":"","auth":"required","params":[{"_id":"56b8acb443bbd10d0081d154","ref":"","in":"body","required":true,"desc":"Username<br /><strong>Requirements:</strong> Must be unique.","default":"","type":"string","name":"username"},{"_id":"56b8acb443bbd10d0081d153","ref":"","in":"body","required":true,"desc":"Password<br /><strong>Requirements:</strong> At least 8 characters, less than 90 characters, at least 1 digit, at least 1 character.","default":"abcd1234","type":"string","name":"password"},{"_id":"56b8acb443bbd10d0081d152","ref":"","in":"body","required":true,"desc":"First name.","default":"Bob","type":"string","name":"firstName"},{"_id":"56b8acb443bbd10d0081d151","ref":"","in":"body","required":true,"desc":"Last name.","default":"Belcher","type":"string","name":"lastName"},{"_id":"56b8acb443bbd10d0081d150","ref":"","in":"body","required":true,"desc":"Email address.","default":"","type":"string","name":"emailAddress1"},{"_id":"58878b2fd9d79c3b00c40258","ref":"","in":"body","required":false,"desc":"Language.<br />**Options**: `\"en_US\"` (Default), `\"zh_CN\"`, `\"es_ES\"`, `\"pt_BR\"` or `\"ja_JP\"`.","default":"en_US","type":"string","name":"languageID"},{"_id":"56b8acb443bbd10d0081d14f","ref":"","in":"body","required":true,"desc":"WLP ID","default":"DW","type":"string","name":"wlpID"},{"_id":"56b8acb443bbd10d0081d14e","ref":"","in":"body","required":false,"desc":"Referral code of investor who referred this new investor","default":"","type":"string","name":"referralCode"},{"_id":"56b8acb443bbd10d0081d14d","ref":"","in":"body","required":false,"desc":"UTM campaign code<br />The individual campaign name, slogan, promo code, etc. for a product.","default":"","type":"string","name":"utm_campaign"},{"_id":"56b8acb443bbd10d0081d14c","ref":"","in":"body","required":false,"desc":"UTM content code<br / >Used to differentiate similar content, or links within the same ad.","default":"","type":"string","name":"utm_content"},{"_id":"56b8acb443bbd10d0081d14b","ref":"","in":"body","required":false,"desc":"UTM medium<br />The advertising or marketing medium, e.g. cpc, referral, email, Facebook.","default":"","type":"string","name":"utm_medium"},{"_id":"56b8acb443bbd10d0081d14a","ref":"","in":"body","required":false,"desc":"UTM source code<br />Identify the advertiser, site, publication, etc. that is sending traffic e.g. google, citysearch, newsletter4, billboard.","default":"","type":"string","name":"utm_source"},{"_id":"56b8acb443bbd10d0081d149","ref":"","in":"body","required":false,"desc":"UTM term code<br />Identify paid search keywords.","default":"","type":"string","name":"utm_term"}],"url":"/signups/live"},"isReference":true,"order":0,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Response\"\n}\n[/block]\nThe response contains the user's `userID`, `username` and `password`. It's typical to log the user in (via [Create Session](doc:create-session)) 1000ms after getting this successful response.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Attribute\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"`userID`\",\n    \"0-1\": \"User ID\",\n    \"1-0\": \"`username`\",\n    \"1-1\": \"Username\",\n    \"2-0\": \"`password`\",\n    \"2-1\": \"Password\"\n  },\n  \"cols\": 2,\n  \"rows\": 3\n}\n[/block]","excerpt":"Create a new username.","slug":"create-user","type":"endpoint","title":"Create User"}

postCreate User

Create a new username.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

username:
required
string
Username<br /><strong>Requirements:</strong> Must be unique.
password:
required
stringabcd1234
Password<br /><strong>Requirements:</strong> At least 8 characters, less than 90 characters, at least 1 digit, at least 1 character.
firstName:
required
stringBob
First name.
lastName:
required
stringBelcher
Last name.
emailAddress1:
required
string
Email address.
languageID:
stringen_US
Language.<br />**Options**: `"en_US"` (Default), `"zh_CN"`, `"es_ES"`, `"pt_BR"` or `"ja_JP"`.
wlpID:
required
stringDW
WLP ID
referralCode:
string
Referral code of investor who referred this new investor
utm_campaign:
string
UTM campaign code<br />The individual campaign name, slogan, promo code, etc. for a product.
utm_content:
string
UTM content code<br / >Used to differentiate similar content, or links within the same ad.
utm_medium:
string
UTM medium<br />The advertising or marketing medium, e.g. cpc, referral, email, Facebook.
utm_source:
string
UTM source code<br />Identify the advertiser, site, publication, etc. that is sending traffic e.g. google, citysearch, newsletter4, billboard.
utm_term:
string
UTM term code<br />Identify paid search keywords.

Examples


Result Format


Documentation

[block:api-header] { "type": "basic", "title": "Response" } [/block] The response contains the user's `userID`, `username` and `password`. It's typical to log the user in (via [Create Session](doc:create-session)) 1000ms after getting this successful response. [block:parameters] { "data": { "h-0": "Attribute", "h-1": "Description", "0-0": "`userID`", "0-1": "User ID", "1-0": "`username`", "1-1": "Username", "2-0": "`password`", "2-1": "Password" }, "cols": 2, "rows": 3 } [/block]

User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}