---
title: "Create a lockup record"
method: POST
path: "/v1/invest/funds/{fundId}/lockups"
tags: ["Invest"]
---

# Create a lockup record

`POST /v1/invest/funds/{fundId}/lockups`

## Request

- Base URL: `https://api.prod.keyban.io`
- URL: `https://api.prod.keyban.io/v1/invest/funds/{fundId}/lockups`
- Auth: API key in header `X-Api-Key`

Create a custom lockup period for an investor in this fund.

## Path parameters

- `fundId` string, uuid, required

## Request body

- CreateInvestLockupDto
  - `identity` string, uuid, required: The unique identifier of the investor identity
  - `endDate` string, date, required: End date of the custom lockup period

## Response `201`

Lockup record created successfully

- InvestLockupDto
  - `id` string, uuid, required: Entity UUID
  - `createdAt` string, date-time, required: Creation date (ISO 8601)
  - `updatedAt` string, date-time, required: Last update date (ISO 8601)
  - `fund` string, uuid, required: The unique identifier of the investment fund
  - `identity` object, required
    - `firstName` string, required: First name of the investor
    - `lastName` string, required: Last name of the investor
    - `status` 'WAITING_KYC' | 'KYC_DONE' | 'REJECTED_KYC': KYC lifecycle status of the identity
    - `id` string, uuid, required: Entity UUID
    - `createdAt` string, date-time, required: Creation date (ISO 8601)
    - `updatedAt` string, date-time, required: Last update date (ISO 8601)
  - `endDate` string, date, required: End date of the custom lockup period

## Other responses

- `400`: Invalid input data

---

[API](https://skmtc.dev/keyban/apis/keyban-rest-apis.md) · [All operations](https://skmtc.dev/keyban/apis/keyban-rest-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/keyban/apis/keyban-rest-apis/revisions/0bb79a1da961?raw)
