---
title: "Get user data"
method: GET
path: "/verify/get_user_data_from_request/{verification_session_id}"
tags: ["KYC > Quick Start"]
---

# Get user data

`GET /verify/get_user_data_from_request/{verification_session_id}`

## Request

- Base URL: `https://api-sandbox.aiprise.com/api/v1`
- URL: `https://api-sandbox.aiprise.com/api/v1/verify/get_user_data_from_request/{verification_session_id}`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/aiprise/apis/aiprise-apis/docs/verify/get_user_data_from_request/:verification_session_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Endpoint used to get user data from verification session

## Path parameters

- `verification_session_id` string, required

## Response `200`

Successful operation

- OutputUserData
  - `first_name` string: The person's first name
  - `middle_name` string: The person's middle name
  - `last_name` string: The person's last name
  - `date_of_birth` string: The person's date of birth in YYYY-MM-DD format
  - `phone_number` string: The person's phone number. Prefer phone number in E.164 format
  - `email_address` string: The person's email address
  - `ip_address` string: The person's ip address
  - `address` Address
    - `address_street_1` string: Address street 1
    - `address_street_2` string: Address street 2
    - `address_city` string: Address city
    - `address_state` string: Address state or region
    - `address_zip_code` string: Address zip code
    - `address_country` string: 2-letter address country code
  - `identity` OutputIdentity
    - `identity_country_code` string: A 2-letter ISO country code of the identity number or identity document being submitted.
    - `identity_number_type` 'SSN9' | 'SSN4' | 'DRIVER_LICENSE' | 'PASSPORT' | 'NATIONAL_ID' | 'VOTER_ID' | 'BVN' | 'NIN' | 'NIN_SLIP' | 'SSNIT' | 'TAX_ID' | 'KENYA_KRA_PIN' | 'ALIEN_CARD' | 'RESIDENT_ID' | 'COLOMBIA_PPT_NUMBER' | 'GHANA_CARD_NUMBER', nullable: The type of identity number being submitted. Only one of identity_number_type and identity_document_type must be filled.
    - `identity_number` string: The identity number associated with the person of type identity_number_type.
    - `identity_document_type` 'PASSPORT' | 'DRIVER_LICENSE' | 'NATIONAL_ID' | 'PAN_CARD' | 'ID_CARD' | 'VOTER_ID_CARD' | 'RESIDENT_CARD' | 'GHANA_CARD' | 'GHANA_SSNIT_CARD' | 'KENYA_ALIEN_CARD' | 'COLOMBIA_PPT', nullable: An identity document type. Only one of identity_number or identity_document_type must be provided.
    - `identity_document_front` string: A S3 url of the front of identity document.
    - `identity_document_back` string: A S3 url of the back of identity document.
  - `selfie` string: A S3 url of the person's selfie.
  - `smile_selfie` string
  - `selfie_video` string: A S3 url of the person's selfie video.
  - `questions_response` object: Questions responded by the user
  - `documents` MediaFile[]
    - `file_uuid` string
    - `file_name` string
    - `file_type` string, nullable
    - `file_s3_url` string

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/aiprise/apis/aiprise-apis.md) - [All operations](https://skmtc.dev/aiprise/apis/aiprise-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/aiprise/apis/aiprise-apis/revisions/74fc7a5199fb?raw)
