> For the complete documentation index, see [llms.txt](https://resources.less.tech/less-tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://resources.less.tech/less-tech/rest-api-beta/basics.md).

# Basics

{% hint style="info" %}
**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.
{% endhint %}

### Base URL

There are five endpoints in our new REST API. Each is documented individually below.&#x20;

Your base URL looks like this:

```url
{{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:

```json
{
  'Authorization': 'Bearer {apiToken}'
}
```
