Basics

2024-03-19. We are releasing our REST API to our user today. This feature is in beta. Please get in touch at thomas@less.tech with any concerns or feedback. While in beta, the API functionality is free to use.

Base URL

There are five endpoints in our new REST API. Each is documented individually below.

Your base URL looks like this:

{{SUBDOMAIN}}.less.tech/api/public/

You will need to change {{SUBDOMAIN}} in the endpoint above to your own subdomain. Your subdomain is where you log in to Less. So if you log in at facebook.less.tech, your endpoints will be accessible from (this is your base URL):

facebook.less.tech/api/public/

Authentication

We are using bearer token authentication. You can create your own token on your Less platform by navigating to View Profile (bottom, left-hand corner) -> API Tokens.

Input this token in your headers in the following way:

{
  'Authorization': 'Bearer {apiToken}'
}

Last updated