Verify that the invitation code is in the system and still active. It also verifies that the email address is not already in the system. This is called first before calling Auth/Create/Parent to save the user time. The invitation determines what capabilities are included in the system for free. If blank, invitation code Default is used. Secret Hmac and page href Required. Cache Time 15 Minutes.
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 entered
-
the last name of the user entered
-
the email address entered
-
the invitation code entered (empty is default)
POST
/Auth/Verify/Account
curl \
--request POST 'https://api.wereadthemanual.com/v1.0/Auth/Verify/Account' \
--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/adduser1","FirstName":"John","LastName":"Doe","Email":"johndoe@gmail.com","Invite":"default"}'
Request examples
{
"Token": "base 64 encoded stuffs",
"Href": "https://www.whyreadthemanual.com/adduser1",
"FirstName": "John",
"LastName": "Doe",
"Email": "johndoe@gmail.com",
"Invite": "default"
}
Response examples (200)
{
"SignupAllowed": 1,
"Message": "Success"
}
Response examples (401)
{
"SignupAllowed": 0,
"Message": "Error: Email address already used"
}