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"
}
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"
}
Your WalletKit Project ID can be found on the API Keys page in the WalletKit Dashboard.
The response is of type object
.