Users
Refresh Token
Activity
Addresses
NFTs
Tokens
Transactions
Users
Wallets
API Errors
Users
Refresh Token
Refresh an access token
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
Your WalletKit Project ID can be found on the API Keys page in the WalletKit Dashboard.
Body
application/json
Response
200
application/json
The response is of type object
.
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"
}