cURL
curl --request POST \
--url https://grid.squads.xyz/api/grid/v1/auth/refresh-session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"encryption_public_key": "<string>",
"kms_payload": {
"session": {
"Privy": {
"privy_access_token": "<string>",
"refresh_token": "<string>",
"session": {
"expires_at": 1,
"wallets": [
{
"additional_signers": [
{
"signer_id": "<string>",
"override_policy_ids": [
"<string>"
]
}
],
"address": "<string>",
"created_at": 1,
"id": "<string>",
"policy_ids": [
"<string>"
],
"exported_at": 1,
"imported_at": 1,
"owner_id": "<string>",
"public_key": "<string>"
}
],
"authorization_key": "<string>",
"encrypted_authorization_key": {
"ciphertext": "<string>",
"encapsulated_key": "<string>",
"encryption_type": "<string>"
}
},
"token": "<string>",
"user_id": "<string>"
}
}
}
}
'{
"data": {
"kms_payload": {
"session": {
"Privy": {
"privy_access_token": "<string>",
"refresh_token": "<string>",
"session": {
"expires_at": 1,
"wallets": [
{
"additional_signers": [
{
"signer_id": "<string>",
"override_policy_ids": [
"<string>"
]
}
],
"address": "<string>",
"created_at": 1,
"id": "<string>",
"policy_ids": [
"<string>"
],
"exported_at": 1,
"imported_at": 1,
"owner_id": "<string>",
"public_key": "<string>"
}
],
"authorization_key": "<string>",
"encrypted_authorization_key": {
"ciphertext": "<string>",
"encapsulated_key": "<string>",
"encryption_type": "<string>"
}
},
"token": "<string>",
"user_id": "<string>"
}
}
}
},
"metadata": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}accounts
Post apigridv1authrefresh session
POST
/
api
/
grid
/
v1
/
auth
/
refresh-session
cURL
curl --request POST \
--url https://grid.squads.xyz/api/grid/v1/auth/refresh-session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"encryption_public_key": "<string>",
"kms_payload": {
"session": {
"Privy": {
"privy_access_token": "<string>",
"refresh_token": "<string>",
"session": {
"expires_at": 1,
"wallets": [
{
"additional_signers": [
{
"signer_id": "<string>",
"override_policy_ids": [
"<string>"
]
}
],
"address": "<string>",
"created_at": 1,
"id": "<string>",
"policy_ids": [
"<string>"
],
"exported_at": 1,
"imported_at": 1,
"owner_id": "<string>",
"public_key": "<string>"
}
],
"authorization_key": "<string>",
"encrypted_authorization_key": {
"ciphertext": "<string>",
"encapsulated_key": "<string>",
"encryption_type": "<string>"
}
},
"token": "<string>",
"user_id": "<string>"
}
}
}
}
'{
"data": {
"kms_payload": {
"session": {
"Privy": {
"privy_access_token": "<string>",
"refresh_token": "<string>",
"session": {
"expires_at": 1,
"wallets": [
{
"additional_signers": [
{
"signer_id": "<string>",
"override_policy_ids": [
"<string>"
]
}
],
"address": "<string>",
"created_at": 1,
"id": "<string>",
"policy_ids": [
"<string>"
],
"exported_at": 1,
"imported_at": 1,
"owner_id": "<string>",
"public_key": "<string>"
}
],
"authorization_key": "<string>",
"encrypted_authorization_key": {
"ciphertext": "<string>",
"encapsulated_key": "<string>",
"encryption_type": "<string>"
}
},
"token": "<string>",
"user_id": "<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
Your Grid API key from the Grid Dashboard
Body
application/json
Was this page helpful?
⌘I