Skip to main content
Lexful is an API-first platform for managing your operations programmatically. This guide walks you from zero to a working integration using a few simple steps. Follow these steps to get a working Lexful integration:
1

Get your credentials

Sign in to the Lexful dashboard, go to the APIs section in Account Settings, and create or copy:
  • Your Account ID (used in the X-Account-ID header).
  • An API key ID and secret.
Store these securely. Treat them like passwords.
2

Fetch an access token

Use your API key ID and secret to obtain a short-lived Bearer token:
curl --location 'https://api.us.lexful.app/v1/auth/token' \
  --header 'X-Account-Id: {YOUR_ACCOUNT_ID}' \
  --header 'Content-Type: application/json' \
  --data '{
    "id": "{YOUR_API_KEY_ID}",
    "secret": "{YOUR_API_KEY_SECRET}"
  }'
If successful, the response includes a token you will send as Authorization: Bearer <token>.
3

Make your first API call

Use the token to call an API endpoint, for example to list organizations:
curl --location 'https://api.us.lexful.app/v1/organizations' \
  --header 'X-Account-ID: {YOUR_ACCOUNT_ID}' \
  --header 'Authorization: Bearer {TOKEN}'
You should see a JSON response listing organizations accessible to your account.
4

Explore next steps

Once your first call works: