Skip to main content

Get Identity V2

Retorna la información de una persona ingresando su identificador.

Endpoint#

Headers

KeyValueDescription
Content-Typeapplication/json
AuthorizationBearer {{access_token}}access_token obtained in Atenea

Endpoint:

Method: GET
URL: https://api.trust.lat/identification/api/v2/identity/:user_uuid
caution

Recuerda que para utilizar este endpoint es necesario un access token obtenido en el servicio Atenea

Como obtener un access token

Code Examples#

curl --location --request GET 'https://api.trust.lat/identification/api/v2/identity/:user_uuid' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{accessToken}}'

Responses#

HTTP Code: 201 Created#

{
"status": true,
"identity": {
"id": 12,
"dni": "",
"name": "Juan",
"lastname": "Perez",
"email": "jperez@correo.com",
"phone": "+56912234567",
"created_at": "2019-05-04T02:30:14.108Z",
"updated_at": "2021-01-30T02:12:02.547Z",
"status": true,
"uuid": "z10b8a62-ab41-4a6b-aa31-87f795181db",
"apple_users_id": []
}
}

HTTP Code: 404 Not Found#

{
"status": false
}
Last updated on by joaquin philippi