---
title: "POST /v2/claim/{network}/locks/{lockAddress}"
method: POST
path: "/v2/claim/{network}/locks/{lockAddress}"
---

# POST /v2/claim/{network}/locks/{lockAddress}

`POST /v2/claim/{network}/locks/{lockAddress}`

Claim a membership key for a lock. If not authenticated, requires an email in the body.

## Path parameters

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

## Headers

- `captcha` string, required
- `recipient` string

## Request body

- object
  - `data` string
  - `email` string — Email address of the recipient
  - `recipient` string — Recipient address for key
  - `referrer` string — Referrer address used to mint. This may get overwritten.

## Response `200`

Successfully claimed the key.

- object
  - `transactionHash` string
  - `owner` string

## Other responses

- `401` — User is not authenticated.

## Changes

- **2023-12-07** `4589cfaa7e75` — 1 info
  - added the new optional request property `referrer`
- **2023-11-03** `b77bfb068867` — 1 warning
  - removed the request property `referrer`

[Change history](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/changes/v2/claim/:network/locks/:lockAddress/post.md)

---

[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)
