
# Overview

Welcome to the LeanLaw API!
If you are new to this, we suggest going through the following steps



<Stepper>

1. **Set up authentication**

   Go [here](/auth) to set up authentication with the API. This is a prerequisite for accessing a LeanLaw account through the API.

1. **Try a basic request**

   Get a simple API request working first. For example, start with a curl request from the command line:

   ```bash
   $ export APIKEY=[LeanLaw API key]
   $ curl -H "Authorization: Bearer $APIKEY" https://api.leanlaw.io/v2/users
   ```

   This should return a list of users in the account.

1. **Familiarize yourself**

   Go through [API patterns](/patterns). Also familiarize yourself with [LeanLaw Concepts](/concepts). Both of these resources provide 
   background information that is helpful in navigating the API.

1. **Explore Documentation**

   The [full interactive documentation](/api) provides all the information you need to use the API. You can also run actual API queries from there if you have your API key handy.
   
   Use "Test" button in the document to run API queries. You will need to add an `Authorization` header with the value `Bearer [your API key]` to run queries from the documentation (see [Authentication](/auth) section for a little more detail).

</Stepper>