---
title: "Link a AiPrise session id"
method: PUT
path: "/payout/user/{user_token}/kyc/aiprise"
tags: ["KYC"]
---

# Link a AiPrise session id

`PUT /payout/user/{user_token}/kyc/aiprise`

This **PUT** endpoint is used to link a AiPrise applicant for the user with the provided user token. <br> The endpoint will then download all applicant data and images from the AiPrise platform. <br> To use this endpoint, you need to provide the `user_token` as a parameter in the URL Path as well as a `verification_session_id` as a Query Parameter. <br> The response will contain succeess boolean with an error description in a JSON format.

## Query parameters

- `verification_session_id` string, uuid, required

## Response `200`

Succesful operation.

- object
  - `success` boolean, required — Indicator whether the link process was successful or not
  - `error` string — In case of an error, includes a short description

## Other responses

- `400` — Bad request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not found.
- `405` — Method Not Allowed.
- `500` — Internal server error.
- `504` — Gateway Time-out.

---

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