Skip to main content
The Propal API uses standard REST conventions, so you can call it from any language with an HTTP client. Below are recommended approaches for common languages.

Official API

The Propal API follows the OpenAPI 3.0 specification. You can use this spec to generate a typed client in any language.
Import the OpenAPI spec into tools like Postman, Insomnia, or Bruno to explore the API interactively.

Code examples

Node.js / TypeScript

Use the built-in fetch API (Node 18+) or any HTTP client:

Python

cURL

Generate a typed client

You can generate a typed SDK from the OpenAPI spec using open-source tools:
These are community tools, not maintained by Propal. Generated clients are based on our OpenAPI spec and should work with any valid Propal API endpoint.

Postman collection

Import the OpenAPI spec directly into Postman:
1

Open Postman

Click Import in the top-left corner.
2

Paste the spec URL

Enter https://api.propal.io/v1/openapi.json and click Import.
3

Set your API key

In the collection settings, set the Authorization header to Bearer pp_live_YOUR_KEY.