This process creates a new user with the next available parent ID and creates the login, email and group. Requires all information including a valid invitation code. Secret Hmac Required. No Cache.
Body
Required
-
optional jwt token returned from a previous call to /Auth/Verify/Login or /Auth/Verify/Token
-
required copy of document.href since referrer is not always accurate
-
the first name of the user
-
the last name of the user
-
optional company name
-
optional address
-
optional address
-
optional city
-
optional state/province
-
optional postal code / zip code
-
optional country
-
the email address (which is the initial username as well)
-
the password
-
the phone number of the user (preferably mobile so that we can text)
-
the invitation code entered (empty is default)
POST
/Account/Create/Parent
curl \
--request POST 'https://api.wereadthemanual.com/v1.0/Account/Create/Parent' \
--header "X-ApiKey: $API_KEY" \
--header "X-ApiDate: $API_KEY" \
--header "X-ApiHmac: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"Token":"base 64 encoded stuffs","Href":"https://www.whyreadthemanual.com/adduser","FirstName":"John","LastName":"Doe","Company":"example.com","Address":"string","Address2":"string","City":"string","State":"string","Postal":"string","Country":"string","Email":"john.doe@example.com","Password":"password","Phone":"715-123-4567","Invite":"default"}'
Request examples
{
"Token": "base 64 encoded stuffs",
"Href": "https://www.whyreadthemanual.com/adduser",
"FirstName": "John",
"LastName": "Doe",
"Company": "example.com",
"Address": "string",
"Address2": "string",
"City": "string",
"State": "string",
"Postal": "string",
"Country": "string",
"Email": "john.doe@example.com",
"Password": "password",
"Phone": "715-123-4567",
"Invite": "default"
}
Response examples (200)
{
"Parent": 10028,
"Custno": 10028,
"Created": "Tue, 01 Jun 2004 00:00:00 GMT",
"LoginOwnerId": 5,
"DispGroup": "10 (Altoona, WI)",
"Company": "WRTM Digital Signage",
"FirstName": "Mike",
"LastName": "Strand",
"Address1": "6595 South Shore Drive",
"Address2": "string",
"City": "Altoona",
"State": "WI",
"Zip": "54720",
"CountryCode": "US",
"Longitude": -91.4042,
"Latitude": -91.4042,
"Phone": "7152357446",
"Fax": "string",
"Web": "www.WRTM.io",
"Description": "WRTM LLC is a new generation of digital signage companies which leverage the power and flexibility of the Internet. It provides an inexpensive, easy-to-implement way for business customers to display constantly changing messages to employees, visitors and customers using computer or television displays.",
"Mission": "Improving relationships with customers, employees and visitors through effective, easy and enjoyable communication.",
"TimeZone": "America/Chicago",
"LocationId": "string",
"Pages": 46,
"PagesPlayed": 187,
"LastLogin": "Fri, 07 Jul 2023 01:59:00 GMT",
"LastUse": "Sat, 08 Jul 2023 08:15:00 GMT",
"LastContent": "Mon, 12 Jun 2023 16:16:00 GMT"
}