English
Search
⌃K

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.

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

Moment API URL

app.moment.team/api/1.0/companies/{COMPANYCODE}/{ENDPOINT}
Replace {COMPANYCODE} with your company code
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