Getting Started
This guide walks you through registering as a JARAI partner, obtaining your API key, triggering your first production, polling for status, and downloading the finished deliverables.
1. Register as a Partner
Submit a registration request with your organisation details. No API key is required for this step.
The API returns 202 Accepted with your partnerId. A verification email is sent to the contact email address.
2. Verify Your Email
Click the verification link in the email, or call the verify endpoint directly with the token from the link:
The response contains your API key in the format jarai_{base64url}. Store this key securely — it is shown only once and cannot be retrieved again.
3. Explore Your Accounts
List the accounts available to your partner key:
Each account includes its accountId, available avatars, and connected platforms.
4. Trigger Your First Production
Use the accountId from the previous step along with valid languageId, countryId, and avatarId:
The API returns 202 Accepted with a productionId and a Location header pointing to the status endpoint.
Optional Fields
| Field | Type | Description |
|---|---|---|
projectTypeSlug | string | Project type identifier (e.g. social-video-30s). Defaults to the account’s default project type. |
metadataMD | string | Markdown metadata for the production (max 4,096 characters). Passed to the AI pipeline as additional context. |
5. Poll for Status
Check the production status using the productionId:
Recommended polling intervals:
- While
Queued: every 10 seconds - While
Producing: every 30 seconds - Once terminal (
Published,Failed,Cancelled): stop polling
For real-time updates without polling, see Webhook Integration.
6. Download Deliverables
Once the production reaches AwaitingApproval, Distributing, or Published status, retrieve the deliverable files:
Each deliverable includes a time-limited sasUrl (valid for 1 hour) for direct download. Deliverable types include Video, ClosedCaptions, AudioDescription, Transcript, and ComplianceCertificate.
Next Steps
- Authentication — API key management, scoped keys, and security best practices
- Production Lifecycle — understand all production states and transitions
- Webhook Integration — receive real-time events instead of polling
- API Reference — explore all 18 endpoints interactively