curl --request POST \
  --url https://testnet.walletkit.com/users/refresh-token \
  --header 'Content-Type: application/json' \
  --data '{
  "session_id": "<string>",
  "refresh_token": "<string>"
}'
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "project_id": "<string>",
  "user_id": "<string>",
  "access_token": "<string>",
  "access_token_expires_at": "2023-11-07T05:31:56Z",
  "refresh_token": "<string>",
  "refresh_token_expires_at": "2023-11-07T05:31:56Z"
}

Headers

X-WalletKit-Project-ID
string
required

Your WalletKit Project ID can be found on the API Keys page in the WalletKit Dashboard.

Body

application/json
session_id
string
required
refresh_token
string
required

Response

200 - application/json
id
string
required
created_at
string
required
project_id
string
required
user_id
string
required
access_token
string
required
access_token_expires_at
string
required
refresh_token
string
required
refresh_token_expires_at
string
required