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

# Postman API Console

To enhance your experience with the R1 Discover API and to facilitate a more dynamic interaction during development, we recommend using Postman, a versatile tool for API testing. Postman allows you to quickly test, modify, and automate API calls, which can speed up development and testing phases.

## Importing the API Collection

We provide a ready-to-use Postman collection that includes all the endpoints of the R1 Discover API. This collection can be easily imported into Postman, providing you with a pre-configured environment for testing our API. If you already have Postman setup, simply click this link to go to our collection.

{% embed url="<https://www.postman.com/fbomher/r1-discover-api/collection/tqglan1/r1disover-api-v2>" %}
Link to the R1 Discover Postman API V2 Collection
{% endembed %}

### How to install Postman and Import Our Postman Collection

Follow these steps to import the R1 Discover API collection into your Postman application:

1. **Download Postman:** If you haven't already, download and install [Postman](https://www.postman.com/) from the official site.
2. **Access the Collection:** Simply click here to link to  the [Postman collection file](https://www.postman.com/fbomher/r1-discover-api/collection/tqglan1/r1disover-api-v2).&#x20;
3. **Set Up Environment Variables:**
   * Create a new environment in Postman.
   * Add variables such as `base_url` (set this to `https://api.r1learning.com`) and `bearer_token` (your authentication token).\*
   * Ensure these variables are referenced correctly in the collection requests.

### Using the Collection

Once the collection is imported:

* **Explore the API Endpoints:** Each request in the collection is pre-configured with the necessary HTTP method, headers, and path variables. You can review and modify these as needed.
* **Send Requests:** Select an API request, ensure your `bearer_token` is active, and hit "Send" to see the response from the API.
* **Modify Requests:** You can adjust the request parameters, headers, and body to test different scenarios and learn how the API reacts to various inputs.

#### Benefits of Using Postman

* **Efficiency:** Quickly test API endpoints without writing any additional code.
* **Accuracy:** Ensure that your integration handles the API requests and responses correctly.
* **Automation:** Use Postman’s testing suite to automate tests and integrate them into your CI/CD pipeline for better reliability.

## Troubleshooting Common Issues

If you encounter issues with API requests in Postman:

* **Check Authentication:** Ensure your Bearer token is valid and not expired.
* **Review API Limits:** Make sure you are not exceeding any usage limits that may cause your requests to be throttled or denied.
* **Consult Logs:** Use the Postman console to view detailed logs of your API requests and responses, which can help identify the source of any problems.

By following this guide, you'll be equipped to effectively utilize Postman to interact with the R1 Discover API, enhancing your development process and helping you integrate our services more seamlessly into your applications.


---

# 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:

```
GET https://docs.discover.r1learning.com/postman-api-console.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.
