If the user has logged in, the account verification status can be checked through this route.
{warning} The user must be logged in, in order to request this resource
Method | Uri | Auth | Permissions |
---|---|---|---|
GET |
/v1/auth/email/verify |
Bearer JWT-Token |
none |
The API requires a header Accept
to be submitted with the request:
{
"Accept": "application/json",
"Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3M..."
}
Condition : All required data provided is valid and added to the request body.
Code : 200 Okay
Content example :
{
"message": "The current user is verified"
}
Condition : If required headers are invalid or missing.
Code : 404 Not found
Content example :
{
"message": "No verification found for this user"
}
Code : 401 Unauthorized
Content example :
{
"message": "You must log in to do that.",
"errors": [
"Unauthenticated."
]
}