1. Get your sandbox API key
API keys are provisioned by the MyUstadia team. They are not self-service. Email sales@myustadia.com to request access. Once approved, you receive two keys:sk_test_...for sandbox (free, returns the canonical demo course)sk_live_...for production (consumes quota)
sk_test_ key throughout this quickstart.
2. Disable review checkpoints (optional, one-time)
By default the pipeline pauses for human review at up to three checkpoints. To run unattended, set the account to auto-approve once:3. Create the course
The no-preset flow auto-derives a brand from the source material, skipping the preset setup.id. You will reference it as COURSE_ID for the rest of the flow.
4. Answer the brief
The brief is a server-driven questionnaire. Fetch the next question, submit an answer, repeat untilbrief/next returns no question.
5. Launch generation
Launch requires a uniqueIdempotency-Key header. Sending the same key twice returns the existing course rather than starting a second run.
6. Poll for status
In sandbox mode, status flips toready on the first poll. In production, expect 5 to 15 minutes depending on module count.
7. Fetch the deliverables
Oncestatus is ready, pull signed asset URLs:
Next steps
Switch to presets
For recurring clients, create a reusable preset (brand, voice, sales profile) instead of re-deriving it per course.
Enable webhooks
Subscribe to
course.ready and course.failed events instead of polling.Full API reference
Every endpoint, every parameter, with try-it-now.
Move to production
Switch your
sk_test_ for sk_live_ once your integration is solid.