SDK (cURL)
What it does
cURL examples for every POTAL API endpoint. Copy-paste ready commands for quick testing, scripting, and integration from any environment. Every endpoint page in the documentation includes a cURL example.
How to use it
Get your API key
Create an API key from Dashboard > API Keys.
Copy a cURL example
Find the endpoint in the API docs and copy the cURL example — replace the API key placeholder.
Run in terminal
Paste into any terminal (macOS, Linux, Windows PowerShell) and execute.
Pipe to tools
Combine with jq for JSON formatting: curl ... | jq . or redirect output to files.
Related Features
Official JavaScript/TypeScript SDK published on npm
Official Python SDK with sync and async client support
155+ API endpoints with consistent JSON responses
Interactive API docs with code examples in 5 languages
Test API calls in sandbox mode without affecting production data