Skip to main content

Professional Card

Description​

A solution for the validation of professional cards, obtain the information by entering the name or number of professional card.

HTTP method POST​

info

Before proceeding, make sure you have your jwt token, if you don't, check the login documentation.

Request header parameter​

NAMEREQUIREDTYPEDESCRIPTION
Authorization✅stringbearer jwt token

URI request parameter​

NAMEREQUIREDTYPEDESCRIPTION
Identification number OptionalstringNumber of professional identification of SEP
Identification number OptionalstringFirst name
Identification number OptionalstringPaternal name (second name)
Identification number OptionalstringMaternal name

Status code responses​

CodeDescription
200 OK
400 Bad request
401 Unauthorized
404 Not found
500 Internal server error.

The full documentation error codes can be found here.

Response 200 status code​

{
"cedulas": [
{
"cedula": "DEFAULT_CEDULA",
"institution": "DEFAULT_INSTITUCION",
"name": "DEFAULT_NOMBRES",
"paternal surname": "DEFAULT_APELLIDO_PATERNO",
"maternal surname": "DEFAULT_APELLIDO_MATERNO",
"sex": "DEFAULT_SEXO",
"type": "DEFAULT_TIPO",
"title": "DEFAULT_TITULO"
}
],
"status": "DEFAULT_ESTATUS",
"ValidationCode": "DEFAULT_CODIGO_VALIDACION",
"MessageCode": "DEFAULT_CODIGO_MENSAJE"
}

Response 400 status code​

{
"traceId": "542fc743fffda052",
"timestamp": "2023-05-05 11:20:46",
"code": "IDV-4005",
"message": "-",
"data": null
}

Response 401 status code​

{
"timestamp": "YYYY-MM-DDTHH:mm:ss.sssZ",
"status": 401,
"error": "Unauthorized",
"path": "/api/idv-govcheck/v1/mx-identity/{curp}/check-ine"
}

Response 500 status code​

{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1001",
"message": "A generic error has occurred.",
"data": null
}