> ## Documentation Index
> Fetch the complete documentation index at: https://docs.world.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Authenticator Pubkeys

> Returns the compressed authenticator public keys for a given World ID by leaf index.
Removed authenticator slots are returned as `null` to preserve `pubkey_id` positions.



## OpenAPI

````yaml https://indexer.us.id-infra.worldcoin.dev/openapi.json post /authenticator-pubkeys
openapi: 3.1.0
info:
  title: world-id-indexer
  description: ''
  license:
    name: MIT
    identifier: MIT
  version: 0.1.5
servers: []
security: []
tags:
  - name: indexer
    description: >-
      World ID Indexer. Provides Merkle inclusion proofs and account information
      from the on-chain registry.
paths:
  /authenticator-pubkeys:
    post:
      tags:
        - indexer
      summary: Get Authenticator Pubkeys
      description: >-
        Returns the compressed authenticator public keys for a given World ID by
        leaf index.

        Removed authenticator slots are returned as `null` to preserve
        `pubkey_id` positions.
      operationId: handler
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IndexerQueryRequest'
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IndexerAuthenticatorPubkeysResponse'
components:
  schemas:
    IndexerQueryRequest:
      type: object
      description: |-
        Query for the indexer based on a leaf index.

        Used for getting inclusion proofs and signature nonces.
      required:
        - leaf_index
      properties:
        leaf_index:
          type: string
          format: hex
          description: |-
            The leaf index to query (from the `WorldIDRegistry`).

            Accepts decimal or `0x`/`0X`-prefixed hex input.
          example: '0x1'
    IndexerAuthenticatorPubkeysResponse:
      type: object
      description: >-
        Response containing authenticator public keys for an account from the
        indexer.
      required:
        - authenticator_pubkeys
        - offchain_signer_commitment
      properties:
        authenticator_pubkeys:
          type: array
          items:
            type:
              - string
              - 'null'
            format: hex
          description: >-
            The compressed authenticator public keys for the account.


            Entries may be `null` for removed authenticator slots to preserve
            `pubkey_id` positions.
        offchain_signer_commitment:
          type: string
          format: hex
          description: |-
            The commitment to all the authenticator pubkeys. This commitment is
            stored in the `WorldIDRegistry`.

````