cURL
curl --request POST \ --url https://developer-api.squads.so/api/v1/passkeys/submit-passkey-session \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-squads-network: <x-squads-network>' \ --data ' { "ceremonyType": "create", "sessionKey": { "key": "[0; 32]", "expiration": 123 }, "slotNumber": 123, "authenticatorResponse": {} } '
{ "externallySignedAccount": "<string>", "sessionKey": { "key": "[0; 32]", "expiration": 123 } }
Process WebAuthn authenticator responses and create/update externally signed accounts on the blockchain
UUID-based API key provided by Squads
Specifies the network for the API request
mainnet
devnet
Type of ceremony being completed
create
auth
Show child attributes
Solana slot number for the ceremony
Complete WebAuthn authenticator response as JSON value
Passkey session submitted successfully
Solana public key of the externally signed account
Was this page helpful?