> ## 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 Export OpenAPI spec.

You can generate a ready-to-use Postman collection from Prequel's OpenAPI 3.1 spec, then use it to explore and test every Export API endpoint.

## Prerequisites

* Postman v10 or later.
* The Prequel Export OpenAPI spec URL: `https://docs.prequel.co/generated/openapi-generated-2023-12-01.json`

<Steps>
  <Step title="Open Import">
    In Postman, click the **Import** button in the left sidebar.
  </Step>

  <Step title="Configure the import">
    1. Paste the spec URL: `https://docs.prequel.co/generated/openapi-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.
  </Step>

  <Step title="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.
  </Step>
</Steps>

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