PreviewAPI version 0.4.0

Build on Vox Pop

The Vox Pop API lets a script download the voice replies to your prompts. You can also put a prompt on any web page, with the embed widget or through oEmbed, and read a prompt the way the widget does.

The API is in preview. Today it covers two jobs. A script can download the audio of every reply to your prompts without opening the dashboard. And the calls the embed widget makes are documented: reading a prompt, reading a public profile, and holding a visitor's recording. Requests go to https://api.voxpop.audio, and every response comes back as JSON.

Preview means request and response shapes can still change from one version to the next. The version number is at the top of every page here, and Versioning says what each kind of change does to it. Questions, or something you need the API to do, go to support@voxpop.audio.

Guides

The response envelope

Every JSON response has the same outer shape. A success carries success: true and the payload in data:

Success
{ "success": true, "data": { ... } }

A failure carries success: false, an error with a readable message and usually a code, and a requestId. Branch on the HTTP status; the reference lists what each endpoint can return. Include the requestId if you write to us about a failed call.

Failure
{
  "success": false,
  "error": { "message": "...", "code": "..." },
  "requestId": "..."
}

The OpenAPI document

The reference is generated from an OpenAPI 3.1 document. Download it from /developers/openapi.json to generate a client or import it into a tool like Postman.