> ## Documentation Index
> Fetch the complete documentation index at: https://developer.lexful.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started with Lexful

> Set up access and make your first API call.

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.

## Recommended path for new developers

Follow these steps to get a working Lexful integration:

<Steps>
  <Step title="Get your credentials">
    Sign in to the Lexful dashboard, go to the <b>APIs</b> section in <b>Account Settings</b>, and create or copy:

    <ul>
      <li>Your <code>Account ID</code> (used in the <code>X-Account-ID</code> header).</li>
      <li>An API key ID and secret.</li>
    </ul>

    Store these securely. Treat them like passwords.
  </Step>

  <Step title="Fetch an access token">
    Use your API key ID and secret to obtain a short-lived Bearer token:

    ```bash theme={null}
    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 <code>Authorization: Bearer \<token></code>.
  </Step>

  <Step title="Make your first API call">
    Use the token to call an API endpoint, for example to list organizations:

    ```bash theme={null}
    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.
  </Step>

  <Step title="Explore next steps">
    Once your first call works:

    <ul>
      <li>Review <a href="/guides/authentication">Authentication</a> for token lifecycle and error handling.</li>
      <li>Read <a href="/guides/core-concepts">Core Concepts</a> to understand Lexful's model.</li>
      <li>Browse the <a href="/api/introduction">API Reference</a> for the full surface area.</li>
    </ul>
  </Step>
</Steps>
