# Postman

<figure><img src="/files/GbAL7TN0dMADMGk8DCPy" alt=""><figcaption><p>Overview page for the Underdog API Postman</p></figcaption></figure>

{% hint style="warning" %}
Follow this link to view the [Underdog API Postman](https://www.postman.com/underdogprotocol/workspace/underdog-api/overview)
{% endhint %}

When you head over to the [Underdog API Postman](https://www.postman.com/underdogprotocol/workspace/underdog-api/overview), you'll hit an overview page with recent activity to the Postman workspace. We'll continue making updates to the workspace as API functionality grows.&#x20;

## Getting Started

On the left hand side, click the desired API endpoint: **Mainnet API** or **Devnet API**. Within the collection page, hit the **Variables** tab to set the `apiKey` variable in your workspace.&#x20;

Your API Key can be generated from the Underdog Protocol dashboard when you sign in.&#x20;

<figure><img src="/files/3tkPolWIAhgdi9TLOzBn" alt=""><figcaption><p>Where you can set the apiKey variable in Postman</p></figcaption></figure>

{% hint style="info" %}
The Devnet API is free to use and the same API Key you generate can be used for both endpoints. You will need a subscription to use the Mainnet API.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.underdogprotocol.com/guides/postman.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
