LeanLaw Developer Platform

Overview

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

  1. Set up authentication

    Go here to set up authentication with the API. This is a prerequisite for accessing a LeanLaw account through the API.

  2. Try a basic request

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

    TerminalCode
    $ export APIKEY=... $ curl -H "Authorization: Bearer $APIKEY" https://api.leanlaw.io/v2/users

    This should return a list of users in the account.

  3. Familiarize yourself

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

  4. Explore Documentation

    The full interactive documentation 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.

Last modified on