---
title: "POST /v2/transfer/{network}/locks/{lockAddress}/keys/{keyId}"
method: POST
path: "/v2/transfer/{network}/locks/{lockAddress}/keys/{keyId}"
---

# POST /v2/transfer/{network}/locks/{lockAddress}/keys/{keyId}

`POST /v2/transfer/{network}/locks/{lockAddress}/keys/{keyId}`

Create a transfer code to transfer an airdropped key to an email address.

## Path parameters

- `network` integer, required
- `lockAddress` string, required
- `keyId` string, required

## Response `200`

Successfully created transfer code and sent an email to the recipient.

- object
  - `owner` string, required
  - `lock` string, required
  - `token` string, required
  - `deadline` number, required
  - `transferCode` string, required — Part of the transfer code that is required to be used with the part sent to the recipient.

## Other responses

- `401` — User is not authenticated.
- `404` — Key not found.

---

[API](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith.md) · [All operations](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unlock-protocol/unlock-locksmith/revisions/e003b998de45/schema)
