---
title: Configure API (GraphQL) using Postman
slug: uns/configure-api-graphql-using-postman
docTags: 
createdAt: 2024-09-10T19:24:40.434Z
---

This set of instructions explains how to access the Litmus UNS APIs using an external tool: Postman.

API tokens are unique authentication credentials assigned to individual users. You can create API tokens to use the Litmus UNS APIs. The back-end APIs communicate with the front-end interface.

This section allows users to create, edit, remove and validate API keys. An API token is a unique identifier of an application requesting access to a service and is utilized when you use REST API endpoints for sending requests and retrieving data.

You need an authorization token to make requests from API endpoints. See your administrator for access to full API.&#x20;

# Before You Begin

- [Create an API Token](docId\:zVJ8PaIyajdPs1cOLGo5S)
- [Manage API Tokens](docId\:ap6uTuQ26ShOVAfpqWE0B) to learn more.&#x20;

# Open GraphQL APIs with Postman

Similar to REST APIs, GraphQL APIs often require authentication to ensure that users have the proper access rights to the data. This document outlines the steps to obtain a token for a GraphQL API using the OAuth 2.0 authentication method.&#x20;

You will need to install and open [Postman](https://www.postman.com/downloads/).&#x20;

**To use Postman to view the component version:**

1. Open Postman or access the web version of Postman.&#x20;
2. Make sure that **GET&#xA0;**&#x69;s selected from **Action&#xA0;**&#x64;rop-down list.

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/V-pWr_FjbH522MwZovChH_get-command.png" size="80" width="1920" height="1020" caption="The GET command" position="center" showCaption="true"}
3. Enter the API endpoint to verify the component version: \[Litmus Edge IP address]/\[component name]/version.&#x20;
4. Click the **Authorization&#x20;**&#x74;ab.

   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/yLq6AoYXP9RSS3rlehSGR_authorization-tab.png" size="80" width="1920" height="1020" caption="Authorization tab" position="center" showCaption="true"}
5. Enter the following parameters:&#x20;

- Auto-refresh Token: **Turn to ONposition**
- Grant Type: **Password Credentials**
- Access Token URL: **https\://\<IP\_Address\_of\_LUNS>/auth/realms/standalone/protocol/openid-connect/token**
- Client ID: **ide-ui**
- Username/Password: **Litmus UNS username/password**
- Scope: **openid**
- Client Authentication: **Send as Basic Auth header**
- Refresh Token URL: **https\://\<IP\_Address\_of\_LUNS>/auth/realms/standalone/protocol/openid-connect/token**

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/bbapHbxMkArVOskCcoaEa_image.png" size="78" width="1654" height="790" position="center" showCaption="false"}

6\.   Postman will return with a response that the authentication is complete.



#

&#x20;

