> For the complete documentation index, see [llms.txt](https://docs.underdogprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.underdogprotocol.com/guides/postman.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
