---
title: "Get Merkle inclusion proof"
method: POST
path: "/inclusionProof"
---

# Get Merkle inclusion proof

`POST /inclusionProof`

## Request body

- IdentityCommitment
  - `identityCommitment` string

## Response `200`

A Merkle inclusion proof for an already inserted commitment

- InclusionProof
  - `status` 'new' | 'failed' | 'pending' | 'mined'
  - `root` string
  - `proof` union[]
    - union
      - object
        - `Left` string
      - object
        - `Right` string

## Other responses

- `202` — A Merkle inclusion proof for a pending commitment
- `400` — Invalid request

## Changes

- **2023-05-29** `8e437603378d` — 4 warning, 2 info
  - added the new `failed` enum value to the `status` response property for the response status `200`
  - added the new `failed` enum value to the `status` response property for the response status `202`
  - added the new `new` enum value to the `status` response property for the response status `200`
  - added the new `new` enum value to the `status` response property for the response status `202`
  - …2 more
- **2023-04-27** `f87d09a5062f` — 1 info
  - added the success response with the status `202`
- **2023-02-01** `c3529c08a9c7` — 2 warning, 1 info
  - removed the request property `groupId`
  - removed the optional property `validityScope` from the response with the `200` status
  - added the optional property `status` to the response with the `200` status
- **2023-01-23** `7eb112989fd6` — 1 breaking, 1 info
  - removed the success response with the status `202`
  - added the optional property `validityScope` to the response with the `200` status
- **2022-11-24** `384aaa2fc239` — 1 breaking, 2 warning, 1 info
  - the `proof` response's property type/format changed from `object`/`` to `array`/`` for status `200`
  - removed the optional property `proof/proof` from the response with the `200` status
  - removed the optional property `proof/root` from the response with the `200` status
  - added the optional property `root` to the response with the `200` status

[Full history](https://skmtc.dev/worldcoin/apis/signup-sequencer/changes/inclusionProof/post.md)

---

[API](https://skmtc.dev/worldcoin/apis/signup-sequencer.md) · [All operations](https://skmtc.dev/worldcoin/apis/signup-sequencer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/worldcoin/signup-sequencer/revisions/eb6bc98df64f/schema)
