---
title: "(IDnow only) Get legitimation data"
method: GET
path: "/v1/persons/{person_id}/identifications/{id}/legitimation_data"
tags: ["Person identifications"]
---

# (IDnow only) Get legitimation data

`GET /v1/persons/{person_id}/identifications/{id}/legitimation_data`

Returns information about the document that was used for legitimating an identification (e.g., passport, national ID).

## Path parameters

- `person_id` string, required — The unique ID of the person resource created for a customer.
- `id` string, required — The unique ID of the identification resource created for a customer.

## Response `200`

Successful result of the operation

- SolarisServerDecoratorsIdentificationLegitimation
  - `legitimation_document_number` string — The document number of the legitimation document.
  - `legitimation_type` 'IDCARD' | 'PASSPORT' — The type of the legitimation document.
  - `legitimation_issuer` string — Issuer of the legitimation document.
  - `legitimation_country` string — Country that issued the legitimation document.
  - `legitimation_issued_at` string, date — The date when the legitimation document was issued. **Note** Not required for Spanish ID cards.
  - `legitimation_valid_until` string, date — The date when the legitimation document expires.

## Other responses

- `400` — An error occurred on the client side.
- `403` — You are not authorized to perform this action.
- `500` — Internal server error.
- `default` — Unexpected error

---

[API](https://skmtc.net/solarisgroup/apis/customer-identification-kyc.md) · [All operations](https://skmtc.net/solarisgroup/apis/customer-identification-kyc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarisgroup/customer-identification-kyc/revisions/c481fa2414f9/schema)
