POST auth/cognito/reverify

Request that a verification code is re-sent for the given provisional account. If that account doesn't exist or has already completed signup, no code will be sent and an error will be returned from this method.

Example

POST /api/v1/auth/cognito/reverify HTTP/1.1
Content-Type: application/json

{
  "email": "tcoles@elinemedia.com",
}
----------------------------------------
HTTP/1.1 200 OK
Content-Type: application/json

{
  "username": "tcoles"
}

Security

No authentication is required.

URL Parameters

NONE

Query Parameters

NONE

Request Body

NameDescriptionValue
emailthe user's email address; this must match a currently provisional accountstring

Response

A successful response is code 200. At this point, the user should expect to receive a verification code via their provided email adress.

Besides the standard error responses, 404 is returned if there is no suitable provisional account. The user should be prompted to attempt to log in -- they may be unaware their sign up is complete.

Response Body

NameDescriptionValue
usernamethe username they had used to sign up; they will need this to complete the Cognito verification stepstring