> For the complete documentation index, see [llms.txt](https://docs.milientsoftware.com/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.milientsoftware.com/help/developers/api/authorization/postman.md).

# Postman

How to set up and access Moment API using Postman

Using Postman to get data from the Moment API only requires settings on the Authorization tab.

## Authorization

For the Type select "Basic Auth"

In the field Username fill out with: apikey

In the field Password provide the API key generated for your user.

![](/files/TDUtGnsXjcuoOVeYcRLl)

## Endpoint/URL

To access the API you will need the company code for your company. This can be found in the URL  when logged in to Moment.

![The name found after team/ is your company code](/files/casmzhRStTR0SOjRlLUm)

### Moment API URL

```
app.moment.team/api/1.0/companies/{COMPANYCODE}/{ENDPOINT}
```

Replace {COMPANYCODE} with your company code&#x20;

Replace {ENDPOINT} with the endpoint you want to work with.

E.g. to get a list of all customers use a GET request with the following URL:

<https://app.moment.team/api/1.0/companies/{COMPANYCODE}/customers>
