Activate account
GET/truckers/auth/activate/:token
Activate the carrier account using the activation token received by email.
Flow:
- Validate the activation token
- Mark the account as active and verify the email
- Delete the activation token
- Send confirmation email
The token is valid for 24 hours from its generation.
Common errors:
- INVALID_TOKEN: Token is invalid or expired (400)
- USER_NOT_FOUND: No user associated with the token exists (404)
Request
Responses
- 200
- 400
- 404
Account successfully activated
Invalid or expired token
User not found