Skip to main content
POST
/
api
/
grid
/
v1
/
accounts
/
{address}
/
passkeys
/
transaction
cURL
curl --request POST \
  --url https://grid.squads.xyz/api/grid/v1/accounts/{address}/passkeys/transaction \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "passkey": {
    "address": "<string>",
    "permissions": [],
    "role": "<string>"
  },
  "transaction_signers": [
    "<string>"
  ]
}
'
{
  "data": {
    "expires_at": "2023-11-07T05:31:56Z",
    "passkey": {
      "address": "<string>",
      "permissions": [],
      "provider": "<string>",
      "role": "<string>"
    },
    "status": "<string>",
    "threshold": 1,
    "transaction": "<string>"
  },
  "metadata": {
    "request_id": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  }
}

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.

Authorizations

Authorization
string
header
required

Your Grid API key from the Grid Dashboard

Path Parameters

address
string
required

Smart account address (Solana public key)

Query Parameters

admin
boolean

Whether to perform admin-level passkey addition

Body

application/json
passkey
object
required
transaction_signers
string[] | null

Response

Passkey transaction created successfully

data
object
required
metadata
object
required