Get passkey session
Passkeys
Get Passkey Session
Retrieve a session URL with challenge for passkey account lookup operations.
Get passkey session
Generates a session URL containing a WebAuthn challenge for passkey account lookup operations. Use when you need to find a passkey account but don’t have the authenticator response yet.
This endpoint returns a URL for initiating a passkey lookup ceremony, while Find Passkey Account (POST /passkeys/find) accepts an authenticator response and returns account details.
Implementation Flow
GET vs POST Comparison
| Feature | GET /passkeys/find (This Endpoint) | POST /passkeys/find |
|---|---|---|
| Purpose | Get session URL for lookup | Submit response to find account |
| Input | None (headers only) | Authenticator response |
| Output | URL with challenge | Passkey account address + session |
| Creates Session Key | No | Yes |
Challenge is valid for 60 seconds. This endpoint doesn’t create a session key—use /passkeys/auth for that.
Related Endpoints
- Find Passkey Account - Submit response to find account
- Get Passkey Account - Get account by address
- Authorize Passkey Session - Standard authentication
Authorizations
Your Grid API key from the Grid Dashboard
Headers
Solana network environment (sandbox, devnet, mainnet)
Body
application/json
Response
Passkey session URL retrieved successfully