Verify email
curl --request POST \
--url https://{host}/ext/api/v1/auth/{guard}/email/verify \
--header 'Content-Type: application/json' \
--header 'X-BLUDIA-API-KEY: <api-key>' \
--data '
{
"token": "7KQ2XF"
}
'const options = {
method: 'POST',
headers: {'X-BLUDIA-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({token: '7KQ2XF'})
};
fetch('https://{host}/ext/api/v1/auth/{guard}/email/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/ext/api/v1/auth/{guard}/email/verify"
payload = { "token": "7KQ2XF" }
headers = {
"X-BLUDIA-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "Email verified. You can now log in."
}{
"error": "<string>",
"message": "<string>"
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"message": "Rate limit exceeded."
}Authentication
Verify email
Confirms the 6-character code emailed at registration and sets the account status to active.
POST
/
auth
/
{guard}
/
email
/
verify
Verify email
curl --request POST \
--url https://{host}/ext/api/v1/auth/{guard}/email/verify \
--header 'Content-Type: application/json' \
--header 'X-BLUDIA-API-KEY: <api-key>' \
--data '
{
"token": "7KQ2XF"
}
'const options = {
method: 'POST',
headers: {'X-BLUDIA-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({token: '7KQ2XF'})
};
fetch('https://{host}/ext/api/v1/auth/{guard}/email/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/ext/api/v1/auth/{guard}/email/verify"
payload = { "token": "7KQ2XF" }
headers = {
"X-BLUDIA-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "Email verified. You can now log in."
}{
"error": "<string>",
"message": "<string>"
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"message": "Rate limit exceeded."
}