Activity
Addresses
NFTs
Tokens
Transactions
Users
Wallets
API Errors
Users
Verify Login
Verify a user’s login challenge and create a session.
curl --request POST \
--url https://testnet.walletkit.com/users/verify-login \
--header 'Content-Type: application/json' \
--data '{
"user_id": "<string>",
"verification_code": "<string>",
"siwe_message": "<string>",
"signature": "<string>",
"session_challenge_code": "<string>",
"passkey_credential_assertion_response": "<any>"
}'
{
"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/verify-login \
--header 'Content-Type: application/json' \
--data '{
"user_id": "<string>",
"verification_code": "<string>",
"siwe_message": "<string>",
"signature": "<string>",
"session_challenge_code": "<string>",
"passkey_credential_assertion_response": "<any>"
}'
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.