Social Security-COLPENSIONES
Descriptionβ
Check the social security data of affiliated persons. The Colombian Pension Administrator - Colpensiones, is a state-owned industrial and commercial company, organized as a special financial entity, linked to the Ministry of Labor and its purpose is the state administration of the Average Premium Regime with Defined Benefit and the administration of the Savings System of Periodic Economic Benefits.
HTTP method GETβ
Endpointβ
https://8ehec73psb.execute-api.us-west-2.amazonaws.com/uat/identity/api/idv-govcheck/v1/co-identity/{cedula}/adres
info
Before proceeding, make sure you have your jwt token, if you don't have it, check the login documentation.
Request header parameterβ
NAME | REQUIRED | TYPE | DESCRIPTION |
---|---|---|---|
Authorization | β | string | bearer jwt token |
URI request parameterβ
NAME | REQUIRED | TYPE | DESCRIPTION |
---|---|---|---|
Type of document | β | string | Document code. |
Document number | β | string | CΓ©dula de Identidad/Passport. |
Status code responsesβ
Code | Description |
---|---|
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β
{
"traceId": "b2345cfc7bee621e",
"timestamp": "2023-05-15 11:59:35",
"data": {
"status": "ACTIVE",
"entity": "NUEVA EPS SA",
"regime": "CONTRIBUTORY",
"affiliationDate": "2014-05-01",
"affiliationFinalDate": "2999-12-31",
"department": "SANTANDER",
"city": "BUCARAMANGA",
"affiliateType": "CONTRIBUTOR"
}
}
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/co-identity/{cedula}/adres"
}
Response 404 status codeβ
{
"traceId": "ef2407b8c0df635c",
"timestamp": "2023-05-22 17:25:55",
"code": "IDV-1002",
"message": "Data not found."
}
Response 500 status codeβ
{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1001",
"message": "A generic error has occurred.",
"data": null
}