All Collections
API Documentation
Making API Calls in Postman
Making API Calls in Postman
Mithra Ravikrishnan avatar
Written by Mithra Ravikrishnan
Updated over a week ago

This guide will show you how to make API calls to SuperOps using Postman. Here's what you'll need:

1. API Token:

The first step is to obtain the API token from SuperOps. Here's how:

  1. Go to Settings > Your Profile > API token.

  2. Click "Generate Token" and copy the generated token.

2. Subdomain:

Next, you'll need to retrieve your subdomain:

  1. Navigate to Settings > MSP information.

  2. Find your subdomain and copy it.

3. SuperOps’s public APIs:

Now that you have the API token and your subdomain, it's time to get the APIs. Here’s our API Documentation for your reference.

Making the API Call:

Once you have the API details, follow these steps to make a request using Postman:

  1. Log in to your Postman account and navigate to Workspaces.

  2. Click the NEW button at the top to create a new request and choose HTTP.

3. In the dropdown menu, select POST as the HTTP method for your API call.

4. In the text field next to the dropdown menu, enter the appropriate API endpoint URL based on your data center location.

API ENDPOINTS

/* US data center, use the below URL

/* EU data center, use the below URL

5. Under the Authorization section, choose Bearer as the authorization type.

6. Paste the generated API token in the text box as shown below.

7. In the Headers section, add CustomerSubDomain as a Header and paste the copied subdomain here.

8. Once you are done, in the Body section, choose GraphQL and start customizing your query.

9. You can copy and paste the queries from our API documentation.

10. Adjust GraphQL variables as needed and click Send.

11. Postman will now send the request to the API server and display the response.

Did this answer your question?