Skip to main content

Postman Collection

Use the AudioSpliter Postman collection to explore and test the API interactively.

Import the Collection

  1. Open Postman
  2. Click Import in the top-left corner
  3. Paste this URL or download the collection JSON:
https://api.audiospliter.com/postman/collection.json

Alternatively, click the button below:

Run in Postman

Environment Setup

After importing, set up a Postman environment with these variables:

VariableValueDescription
baseUrlhttps://api.audiospliter.com/api/v1API base URL
apiKeyas_live_abc123Your API key
jwtTokeneyJ...Your JWT token (for billing/account endpoints)

Collection Contents

The collection includes every endpoint:

Splits

  • Create Split Job
  • List Jobs
  • Get Job
  • Delete Job

API Keys

  • Create Key
  • List Keys
  • Get Key
  • Update Key
  • Revoke Key
  • Rotate Key

Billing

  • Get Billing Info
  • Get Usage
  • Get Invoices
  • Subscribe
  • Cancel Subscription
  • Change Plan

Account

  • Export Data
  • Delete Account

Pre-Request Scripts

The collection includes pre-request scripts that automatically:

  • Set the X-API-Key header from the apiKey environment variable
  • Set the Authorization header from the jwtToken variable for billing endpoints
  • Generate request IDs for tracing

Tests

Each request includes basic tests that verify:

  • Response status code is in the expected range
  • Response body is valid JSON
  • Required fields are present

Tips

  • Use Postman's Runner to execute a sequence of requests (create job, wait, get job)
  • Save successful responses as examples for documentation
  • Use environment variables to switch between production and sandbox
  • The collection is versioned -- re-import periodically for updates