POST v1/accounts/auth?email={email}&code={code}
Authenticate the user using the email and the code given from email
Request Information
URI Parameters
| Name | Description | Type |
|---|---|---|
|
Email to authenticate |
string | |
| code |
Code received from email |
string |
Body Parameters
No parameters.
Response Information
Response Codes
| Status Code | Description |
|---|---|
| 200 |
OK
Email succesfully authenticated with the session key in the JSON payload |
| 400 |
BadRequest
Invalid email or code isn't expected length |
| 404 |
NotFound
Email + Code combination was not found, JSON object containing text to replace the onscreen text is returned as well |
Resource Description
JSON with session key if successful or an error mesage if not
No parameters.
Response Formats
application/json, text/json
Sample:
{"Session":"bVg0/q5r7PgYeaRNx8jgaOqCNFPwGX4sx11AEmv29I="}