Verify Email
Verify a user's email address using the token sent in the verification email.
POSThttps://api.marinahealth.eu/auth/verify-email
application/json
Request Body
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| token | string | required | Verification token from email link. |
Example Request
cURL
curl -X POST https://api.marinahealth.eu/auth/verify-email \
-H "Content-Type: application/json" \
-d '{"token": "abc123verifytoken"}'Response
Successful
| Field | Type | Description |
|---|---|---|
| message | string | Success message. |
json
{
"message": "Email verified successfully."
}