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

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
user_id
string | null
verification_code
string | null
siwe_message
string | null
signature
string | null
session_challenge_code
string | null
passkey_credential_assertion_response
any | null

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