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

# Find Passkey Account

> Locate a passkey account using WebAuthn authenticator response data.

<Warning>
  The "Try It" feature is disabled for this endpoint because it requires cryptographic WebAuthn authenticator response data that can only be generated during a browser WebAuthn ceremony. Use the [Integration Guide](/grid/v1/accounts/passkeys/integration-guide) for implementation examples.
</Warning>

Finds and retrieves a passkey account by submitting a WebAuthn authenticator response. Useful for account recovery flows and cross-device login where you have the authenticator credential but not the on-chain address.

## Use Cases

* **Account Recovery**: User forgot which account they used but has the passkey
* **Cross-Device Login**: User switches devices with synced passkeys
* **Multi-Passkey Management**: Select which passkey/account to use

## Implementation Flow

<Steps>
  <Step title="Initiate Get Ceremony">
    User triggers WebAuthn get() with appropriate challenge
  </Step>

  <Step title="Retrieve Credential">
    Browser/device returns authenticator response
  </Step>

  <Step title="Submit to Find">
    POST authenticator response to /passkeys/find
  </Step>

  <Step title="Use Account">
    Continue with account operations using returned address and session key
  </Step>
</Steps>

<Note>
  This endpoint only finds existing accounts—it doesn't create new ones. The response includes a fresh session key regardless of existing session status.
</Note>

## Related Endpoints

* [Get Passkey Account](/grid/v1/api-reference/endpoint/passkeys/get-account) - Get account by address
* [Get Passkey Session](/grid/v1/api-reference/endpoint/passkeys/get-session) - Get session URL for lookup
* [Authorize Passkey Session](/grid/v1/api-reference/endpoint/passkeys/auth) - Standard authentication flow


## OpenAPI

````yaml POST /api/grid/v1/passkeys/find
openapi: 3.1.0
info:
  title: Grid v1 API
  description: Grid v1 REST API for Solana-based smart account system
  contact:
    name: Grid API Support
    url: https://squads.so
    email: support@squads.so
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://grid.squads.xyz
    description: Production server
security:
  - bearer_auth: []
tags:
  - name: accounts
    description: Smart account management operations
  - name: spending-limits
    description: Spending limit management
  - name: standing-orders
    description: Standing order operations
  - name: transactions
    description: Transaction management
  - name: trade
    description: Trade operations and management
  - name: payments
    description: Payment intent operations
  - name: passkeys
    description: Passkey management
  - name: kyc
    description: Know Your Customer operations
  - name: external-accounts
    description: External bank account management
  - name: virtual-accounts
    description: Virtual account management
  - name: auth
    description: Authentication operations
  - name: proposals
    description: Proposal management for multi-sig operations
  - name: compliance
    description: Compliance entity management and KYB/KYC operations
paths:
  /api/grid/v1/passkeys/find:
    post:
      tags:
        - passkeys
      summary: Find passkey account
      description: >-
        Find a passkey account using authenticator response. Returns the passkey
        account address and session key.
      operationId: handler
      parameters:
        - name: x-grid-environment
          in: header
          description: Solana network environment (sandbox, devnet, mainnet)
          required: true
          schema:
            type: string
          example: sandbox
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FindPasskeyAccountRequestPayload'
        required: true
      responses:
        '200':
          description: Passkey account found successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FindPasskeyAccountResponsePayload'
        '400':
          description: Invalid authenticator response
        '404':
          description: No valid passkey account found
        '500':
          description: Internal server error
      security:
        - bearer_auth: []
components:
  schemas:
    FindPasskeyAccountRequestPayload:
      type: object
      required:
        - authenticatorResponse
      properties:
        authenticatorResponse:
          type: object
        sessionKey:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SessionKey'
    FindPasskeyAccountResponsePayload:
      type: object
      required:
        - passkey_account
      properties:
        passkey_account:
          type: string
        session_key:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SessionKey'
    SessionKey:
      type: object
      description: >-
        Grid v1 API SessionKey type that supports backward-compatible
        deserialization

        from both raw bytes array (old format) and base58 string (new format).

        Always serializes to base58 string format.
      required:
        - key
        - expiration
      properties:
        expiration:
          type: integer
          format: int64
          minimum: 0
        key:
          type: string
          example: '11111111111111111111111111111111'
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: Your Grid API key from the Grid Dashboard

````