> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prequel.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Postman collection

> Generate a Postman collection from the Prequel Import OpenAPI spec.

You can generate a Postman collection from the Prequel Import OpenAPI 3.1 spec, then use it to explore and test the Import API endpoints that authenticate with your API key.

## Prerequisites

* You have Postman v10 or later installed.

**1. Open the Postman importer**

In Postman, click the **Import** button in the left sidebar.

**2. Configure the import**

1. Paste the spec URL: `https://docs.prequel.co/generated/openapi-import-generated-2023-12-01.json`
2. Select **Postman Collection** as the import format.
3. Click **View Import Settings** and disable **Enable optional parameters** and **Include deprecated properties**.
4. Click **Import**.

Postman generates a collection with one request per API operation.

**3. Create an environment**

Add a new Postman environment with these variables, then reference them from each request:

| Variable | Value |
| :- | :- |
| `apiKey` | Your staging (`sk_staging_...`) or production (`sk_prod_...`) API key. |
| `baseUrl` | Your API endpoint: `https://api.prequel.co`, `https://eu-api.prequel.co`, or your configured host. |

Reference `{{apiKey}}` from each request's `X-API-KEY` header and `{{baseUrl}}` as the request base URL.

## Next steps

* Expand the collection and send a request to confirm your environment works.
* Enhance the collection with examples, tests, or pre-request scripts.
* Re-import the spec periodically to pick up API updates.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.