1. Confirm the key works
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
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.