---
title: "Get Inclusion Proof"
method: POST
path: "/inclusion-proof"
tags: ["indexer"]
---

# Get Inclusion Proof

`POST /inclusion-proof`

Returns a Merkle inclusion proof for the given leaf index to the current `WorldIDRegistry` tree. In
addition, it also includes the entire authenticator slot list for the World ID account.
Removed authenticators are represented as `null` entries to preserve `pubkey_id` positions.

## Request body

- IndexerQueryRequest — Query for the indexer based on a leaf index. Used for getting inclusion proofs and signature nonces.
  - `leaf_index` string, hex, required — The leaf index to query (from the `WorldIDRegistry`). Accepts decimal or `0x`/`0X`-prefixed hex input.

## Response `200`

Merkle inclusion proof with authenticator public keys

- AccountInclusionProofSchema — OpenAPI schema representation of the `AccountInclusionProof` response.
  - `authenticator_pubkeys` string[], required — The compressed authenticator public keys for the account. Entries are optional to preserve sparse slot positions (`null` for removed authenticators).
  - `leaf_index` string, hex, required — The World ID's leaf position in the Merkle tree
  - `root` string, hex, required — The root hash of the Merkle tree (hex string)
  - `siblings` string[], required — The sibling path up to the Merkle root (array of hex strings)

---

[API](https://skmtc.net/worldcoin/apis/world-id-indexer.md) · [All operations](https://skmtc.net/worldcoin/apis/world-id-indexer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worldcoin/world-id-indexer/versions/744f19e75fe2/schema)
