Returns data about the INE identification number from the Mexican Electoral Registry
- INE (Instituto Nacional Electoral - Mexican Electoral Registry) is the organization that issues voter ID cards and maintains the voters registry in Mexico
When to use this endpoint
Use this endpoint to retrieve info about the state (active or inactive) of an INE identification number
Common use cases include:
- Verifying the active status of an INE credential
- Checking if an INE identification number exists in the registry
- Retrieving human-readable status descriptions from the registry
- Confirming credential validity for Mexican identity verification
Response data
The response includes:
active: Boolean indicating if the INE credential is active or inactive in the registrydocumentState: Human-readable description of the registry query status in Spanish
When the INE credential is not found in the registry,
activewill befalseanddocumentStatewill contain a message indicating no data was obtained for the provided parameters.
Implementation notes
- This endpoint requires session-level HMAC signature authentication
- The
versionquery parameter is required to specify the API version for the registry check. - The
documentStatefield returns messages as provided by the Mexican Electoral Registry. - Always ensure that you use the correct API URL to send requests. See the API URL section for more info.
- The order of parameters in the real API response can differ from the order you see in this documentation. This is expected and part of the Backwards compatible changes requirements.
Your integration's API key (occasionally referred to as the "Token", "API public key" or "Publishable key"). Required for all API requests.
You can find your API key in the Veriff Customer Portal > Settings > API keys.
Session id signed with the shared secret key. Required to authenticate the request sender.
Verification session ID.
API version for the registry check
Result of the ine-registry check
INE identification number is active in the Mexican Electoral Registry
{
"active": true,
"documentState": "La credencial esta vigente"
}INE identification number is not found in the Mexican Electoral Registry
{
"active": false,
"documentState": "No se obtuvieron datos de la consulta con los parámetros seleccionados"
}Response containing INE registry validation results.
Indicates if the INE identification number is active (true) or inactive (false) in the Mexican Electoral Registry.
Human-readable description of the registry query status in Spanish, as provided by the Mexican Electoral Registry.
Bad request
{
"status": "fail",
"code": "1101",
"message": "Validation failed"
}Unauthorized
{
"status": "fail",
"code": "1101",
"message": "Mandatory X-AUTH-CLIENT header containing the API key is missing from the request."
}Session not found
{
"status": "fail",
"code": "1101",
"message": "Resource not found"
}Internal server error
{
"status": "fail",
"code": "1101",
"message": "Something went wrong"
}Changelog
Date | Description |
|---|---|
Mar 9, 2026 | Documentation updated: parent categories rearranged, intro section expanded, request and response examples added |
Oct 2, 2025 |
|
Aug 6, 2025 | Response headers added |
Mar 12, 2025 | Documentation published |