Skip to main content
This guide assumes you already have a Program API key. If not, create one first: Authentication.

1. Confirm the key works

You should see auth_method of api_key and a workspace_id. Use https://api.program.staging.questra.ai if the key was created in staging.

2. List surveys

The response includes a data array of surveys in that workspace (plus offset pagination).

3. Create a survey

slug is lowercase kebab-case and unique per workspace. A duplicate slug returns 409. Save data.id for file upload and programming.

Next

API overview

Upload a questionnaire, start programming, and read content revisions.

Programming

Convert the questionnaire into platform-native survey source.

Live updates

Subscribe to workflow streams while a run is in progress.

Webhooks

Get notified when programming or content finishes.