DocumentationAPI Reference
API Reference

Creating a Prequel API Postman Collection

Follow these steps to generate a Postman collection from Prequel's OpenAPI 3.1 spec.

Prerequisites

  • Download and install Postman (v10 or later) if you do not already have the application.

  • Ensure you have network access to the below link, where you will find the public Prequel OpenAPI 3.1 spec:

    https://docs.prequel.co/openapi/65f37500eadc81001e00ca00
    

    📘

    Note: The Prequel Open API spec is for the current version 2023-12-01. You can read more about the API version here: Versioning


1. Launch Postman and click Import

In the left-hand sidebar, click the Import button to open the import modal.


2. Paste the spec Link and configure import settings

  1. In the import modal, paste the Prequel spec URL:
https://docs.prequel.co/openapi/65f37500eadc81001e00ca00
  1. Once Choose how to import your API appears, select Postman Collection
  2. Then, select View Import Settings:
  • Disable Enable optional parameters.
  • Disable Include deprecated properties.
  1. Select Import.

Import From Link

3. Create an environment

Create an environment with the Environments tab (e.g., Prequel Dev) and set the following values:

KeyDescription
apiKeyThe staging or production (based on the environment you're targeting) key beginning with sk_staging or sk_prod
baseUrlThe host from which you are making API requests. Depending on your Prequel environment, this may be: https://api.prequel.co, https://eu-api.prequel.co, or another host.

Next Steps

  1. Run Requests - Expand the imported collection and send requests to verify connectivity.
  2. Customize & Save - Add examples, tests, or pre-request scripts as needed - your collection is now a living spec and testing playground.

Tip: You can re-run Import to receive the latest version of the API spec given periodic updates.