Verify that an email address is already in the system. 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/Email
curl \
--request POST 'https://api.whyreadthemanual.com/v1.0/Auth/Verify/Email' \
--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)
{
"IdEmail": 10,
"IdLogin": 10,
"Custno": 10028,
"Parent": 10028,
"FirstName": "John",
"LastName": "Doe",
"Email": "johndoe@gmail.com",
"Phone": "715-555-1212",
"ConfirmDate": 20250101000000,
"LastEmail": 20250101000000,
"OptIn": 65535
}
Response examples (401)
{
"FirstName": "John",
"LastName": "Doe",
"Email": "johndoe@test.com",
"Message": "Error: Invalid email domain test.com"
}