Skip to main content
GET
/
auth
Get auth credentials
curl --request GET \
  --url https://laso.finance/auth \
  --header 'SIGN-IN-WITH-X: <sign-in-with-x>'
{
  "auth": {
    "id_token": "<string>",
    "refresh_token": "<string>",
    "expires_in": "<string>"
  },
  "callable_base_url": "https://us-central1-kyc-ts.cloudfunctions.net",
  "user_id": "<string>"
}

Headers

SIGN-IN-WITH-X
string
required

Base64-encoded CAIP-122 signed message proving wallet ownership.

Response

Auth credentials and user ID

auth
object
callable_base_url
string
Example:

"https://us-central1-kyc-ts.cloudfunctions.net"

user_id
string

The user's ID (lowercase wallet address)