POST /Auth/Verify/Account

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.

application/json

Body Required

  • Token string

    optional jwt token returned from a previous call to /Auth/Verify/Login or /Auth/Verify/Token

  • Href string

    required copy of document.href since referrer is not always accurate

  • FirstName string

    the first name of the user entered

  • LastName string

    the last name of the user entered

  • Email string

    the email address entered

  • Invite string

    the invitation code entered (empty is default)

Responses

  • 200 application/json

    Valid Signup Info

    Hide response attributes Show response attributes object
    • SignupAllowed number

      1 if the email address is not there and invitation code is correct, 0 if not.

    • Message string

      message describing the test

  • 401 application/json

    Email In System or Invalid Invitation

    Hide response attributes Show response attributes object
    • SignupAllowed number

      1 if the email address is not there and invitation code is correct, 0 if not.

    • Message string

      message describing the test

POST /Auth/Verify/Account
curl \
 --request POST 'https://api.whyreadthemanual.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"
}