Skip to main content

Activate Email

Description

This Endpoint is used to Verify a users Email adress after sign up and thereby activated the account. uidb64 and token are part of the email verification link, send to the user.

Endpoint

POST https://api.thenights.app/user_manager/activateapi

Request

Headers

KeyValue
Content-Typeapplication/json

Body

ParameterTypeRequiredDescription
uidb64Stringyesuidb64 from the activation link
tokenStringyestoken from the activation link

Example Request Body

{
"uidb64": "Mjg4ZDRiMjItNzU2OC00ZGFkLTkwMjUtZTQ2MWZhMmZhZjYx",
"token": "bonxkf-f4b82f2b58a9b0a291f0e27c78af5507",
}

Response

Success Response

Code: 200 OK

ParameterTypeDescription
detailString-

Example Response Body

{
"detail": "Successfully verified."
}
{
"detail": "Email already verified."
}

Error Response

Code: 400 Bad Request

ParameterTypeDescription
detailString-

Example Response Body

{
"detail": "Something went wrong."
}

Email

After the email has been successfully verified, we send another Email to the User, informing them about the change.