Request password reset
curl --request POST \
--url https://{host}/ext/api/v1/auth/{guard}/password/forgot \
--header 'Content-Type: application/json' \
--header 'X-BLUDIA-API-KEY: <api-key>' \
--data '
{
"login": "sarah@example.com"
}
'const options = {
method: 'POST',
headers: {'X-BLUDIA-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({login: 'sarah@example.com'})
};
fetch('https://{host}/ext/api/v1/auth/{guard}/password/forgot', 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}/password/forgot"
payload = { "login": "sarah@example.com" }
headers = {
"X-BLUDIA-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "If an account exists, password reset instructions have been sent."
}{
"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
Request password reset
Issues a single-use reset token valid for 60 minutes. Always returns the same message, whether or not the account exists.
POST
/
auth
/
{guard}
/
password
/
forgot
Request password reset
curl --request POST \
--url https://{host}/ext/api/v1/auth/{guard}/password/forgot \
--header 'Content-Type: application/json' \
--header 'X-BLUDIA-API-KEY: <api-key>' \
--data '
{
"login": "sarah@example.com"
}
'const options = {
method: 'POST',
headers: {'X-BLUDIA-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({login: 'sarah@example.com'})
};
fetch('https://{host}/ext/api/v1/auth/{guard}/password/forgot', 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}/password/forgot"
payload = { "login": "sarah@example.com" }
headers = {
"X-BLUDIA-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "If an account exists, password reset instructions have been sent."
}{
"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."
}