Get started
Retrieve an Access Token
In the example below we use Postman to retrieve our access token.
- In the Headers section, set Content-Type application/json:
- Select POST and paste the end point adress. Apply the required parameters method, identifier and key and press Send to retrieve the access token listed as accessToken in the response. The URL and image below is an example on how to retrieve the access token from an environment, see the Authentication documentation for more information.
https://pm.momentum.se/Demo/Produkt/PmApi/v2/auth
Apply the Access Token in Nitro
- Open Nitro and select Create document:
- In connection settings under the tab General, paste the endpoint adress into Schema Endpoint and then move on to Autorization:
- Under the Autorization tab, select Bearer as type and paste in the retrieved access token:
- Press apply and begin retrieving data using GraphQL! Take a look in the Query Examples guide if you need some help designing your queries.