Skip to main content
GET
/
v1
/
auth
/
validate
Validate authentication token
curl --request GET \
  --url https://api.lithoblocks.com/v1/auth/validate \
  --header 'Authorization: Bearer <token>'
{
  "valid": true,
  "user": {
    "id": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "<string>",
    "organization_id": "<string>",
    "organization_name": "<string>",
    "scopes": [
      "<string>"
    ],
    "created_at": "<string>",
    "last_active": "<string>"
  },
  "token": {
    "key_prefix": "<string>",
    "name": "<string>",
    "description": "<string>",
    "scopes": [
      "<string>"
    ],
    "created_at": "<string>",
    "last_used_at": "<string>",
    "expires_at": "<string>"
  },
  "organization": {
    "id": "<string>",
    "name": "<string>",
    "status": "<string>",
    "member_count": 123,
    "credit_balance": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.lithoblocks.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

LithoBlocks API key obtained from your organization dashboard

Response

Authentication information

valid
boolean
required
user
object
required
token
object
required
organization
object
required