POST
/
api
/
v1
/
passkeys
curl --request POST \
  --url https://developer-api.squads.so/api/v1/passkeys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-squads-network: <x-squads-network>' \
  --data '{
  "action": "create",
  "sessionKey": {
    "key": "<string>",
    "expiration": 123
  },
  "metaInfo": {
    "appName": "<string>",
    "redirectUrl": "<string>"
  }
}'
{
  "url": "<string>"
}

Passkeys are currently only live on devnet. Mainnet support is coming soon.

See the Passkey Integration Guide for more information.

Authorizations

Authorization
string
header
required

UUID-based API key provided by Squads

Headers

x-squads-network
enum<string>
required

Specifies the network for the API request

Available options:
mainnet,
devnet

Body

application/json

Response

200 - application/json

Passkey session URL created successfully

The response is of type object.