Postman
Last updated
Last updated
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.
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.
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.
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