Skip to main content
GET
/
api
/
grid
/
v1
/
passkeys
/
account
/
{passkey_account_address}
Get passkey account
curl --request GET \
  --url https://grid.squads.xyz/api/grid/v1/passkeys/account/{passkey_account_address} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-grid-environment: <x-grid-environment>'
{
  "pubkey": "<string>",
  "relyingPartyId": "<string>",
  "sessionKey": "<unknown>"
}

Authorizations

Authorization
string
header
required

Your Grid API key from the Grid Dashboard

Headers

x-grid-environment
string
required

Solana network environment (sandbox, devnet, mainnet)

Path Parameters

passkey_account_address
string
required

Passkey account address (Solana public key)

Response

Passkey account retrieved successfully

pubkey
string
required
relyingPartyId
string
required
sessionKey
object

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.