---
title: "Fetch User PII Data"
method: POST
path: "/user/pii"
---

# Fetch User PII Data

`POST /user/pii`

Please contact legal@striga.com to enable this API for your production account. This contains PII information of a user that may be used for onboarding onto partner services or other licensed entities and is available only on a case by case basis. The API returns data that was extracted from the uploaded and verified ID document, dependent upon what fields were available for extraction. The sandbox APIs provide dummy data for reference only.

## Headers

- `api-key` string, required
- `Authorization` string, required

## Request body

- object
  - `userId` string, required — Unique Id of the user
  - `userConsent` boolean, required — Setting this value to true has legal implications in the case of an audit, the user must have consented to having their data shared with your application
  - `ip` string, required — The IP address of the user when providing consent to access PII data

## Response `200`

200

- object
  - `idDocType` string
  - `country` string
  - `firstName` string
  - `firstNameEn` string
  - `lastName` string
  - `lastNameEn` string
  - `validUntil` string
  - `number` string
  - `kycMethod` string
  - `approvedDate` string
  - `kycId` string

## Other responses

- `400` — 400
- `409` — 409

---

[API](https://skmtc.net/striga/apis/striga-v1.md) · [All operations](https://skmtc.net/striga/apis/striga-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/striga/striga-v1/versions/63e57aa7df45/schema)
