POST auth/email/verify

Complete the user account creation process by providing an email verification code.

Example

POST /api/v1/auth/email/verify HTTP/1.1
Accept: application/json
Content-Type: application/json

{
  "email": "tcoles@elinemedia.com",
  "code": "123abc",
  "provider": "steam"
}
----------------------------------------
HTTP/1.1 204 No Content

Security

API authentication is not required.

URL Parameters

NONE

Query Parameters

NONE

Request Body

NameDescriptionValue
emailthe user's email addressstring
codethe verification codestring
providerwhich account provider was used to create this account
one of:
  • steam
  • cognito

Response

A successful response is an empty 204. At this point the user should re-attempt their login.

Besides the standard error responses, 400 is returned if any of the information cannot be matched to a valid provisional account. Code, provider, and email must all match, and the account must not be expired. If the only problem is an incorrect verification code, the response message will be Wrong verification code..

Response Body

NONE