Authentication
All requests to the Mindo API require authentication via an API Key sent in theX-API-Key header.
Authentication header
X-API-Key: mindo_xxxxxxxxxxxxxxxxxxxxxxxx
Examples
curl -X GET https://api.mindosoftware.com/api/v1/business-accounts/ \
-H "X-API-Key: mindo_xxxxxxxxxxxxxxxxxxxxxxxx"
import requests
headers = {
"X-API-Key": "mindo_xxxxxxxxxxxxxxxxxxxxxxxx"
}
response = requests.get(
"https://api.mindosoftware.com/api/v1/business-accounts/",
headers=headers
)
const response = await fetch(
"https://api.mindosoftware.com/api/v1/business-accounts/",
{
headers: {
"X-API-Key": "mindo_xxxxxxxxxxxxxxxxxxxxxxxx"
}
}
);
Authentication errors
| Code | Message | Cause |
|---|---|---|
401 | "Este endpoint requiere autenticacion con API Key (header X-API-Key)" | The X-API-Key header was not sent |
401 | "API Key expirada" | The API Key has expired or was revoked |
403 | "API Key no tiene acceso a este recurso" | The API Key does not have permissions for this endpoint |
API Key security
- Never expose your API Key in client-side code (frontend, mobile apps).
- Use environment variables to store it in your applications.
- Rotate your API Key periodically from the Dashboard.
- If you believe your API Key has been compromised, revoke it immediately from the Dashboard.

