SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Password

Request a password reset

POST/api/v1/auth/password/forgot

Sends a password reset code by email. Always returns the same generic response, whether or not the email is registered, to avoid leaking account existence.

No authentication required
Request/initiation — per IP and per account

Body parameters

emailstringrequired
Account email address.
localestring
en or fr.
Request
curl --request POST \
  --url https://api.swiftgoma.com/api/v1/auth/password/forgot \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "aline@example.com",
  "locale": "fr"
}'
200Example response
{
  "success": true,
  "data": {
    "message": "Si un compte existe pour cet e-mail, un code de réinitialisation a été envoyé."
  }
}