{"openapi":"3.1.0","info":{"title":"Video API reference (v2)","version":"1.0.0"},"paths":{"/v2/templates":{"get":{"operationId":"templates_listTemplates","summary":"List templates","description":"Use the List templates endpoint to get an overview of all templates in Synthesia STUDIO, as well as the variables that may be provided when using them.","tags":["templates"],"parameters":[{"name":"limit","in":"query","description":"This parameter lets you specify the amount of videos to return in your API call. The maximum amount of videos you can have returned to you via this parameter is 100.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","description":"Used to page through the videos. Every call to this endpoint will return the next offset value. This value is used in the offset parameter of the next call to get the next page of videos.","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"source","in":"query","description":"Filter templates by source. Possible values: `synthesia`, `workspace`, `shared_with_me`","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/V2TemplatesGetParametersSourceSchemaItems"},"default":["synthesia","workspace"]}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateListResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/templates/{template_id}":{"get":{"operationId":"templates_retrieveATemplate","summary":"Retrieve a template","description":"You can use Retrieve a template endpoint to pull information on a template. In particular, you may use it to find out the variables available for customisation.","tags":["templates"],"parameters":[{"name":"template_id","in":"path","description":"The ID of the template to be retrieved.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateResponse"}}}},"400":{"description":"Bad request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Template not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/videos":{"post":{"operationId":"videos_createAVideo","summary":"Create a video","description":"Create a video within your Synthesia account. To get started on this endpoint check the [API Quickstart guide](https://developers.synthesia.io/docs/synthesia-api-quickstart).","tags":["videos"],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVideoRequest"}}}},"security":[{"api_key":[]}]},"get":{"operationId":"videos_listVideos","summary":"List videos","description":"You can use the List videos endpoint to get an overview of all videos created via the API or STUDIO.","tags":["videos"],"parameters":[{"name":"limit","in":"query","description":"This parameter lets you specify the amount of videos to return in your API call. The maximum amount of videos you can have returned to you via this parameter is 100.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","description":"Used to page through the videos. Every call to this endpoint will return the next offset value. This value is used in the offset parameter of the next call to get the next page of videos.","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"source","in":"query","description":"Filter videos by source. Possible values: `workspace`, `shared_with_me`, `my_videos`","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/V2VideosGetParametersSourceSchemaItems"},"default":["workspace","shared_with_me","my_videos"]}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoListResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/videos/fromTemplate":{"post":{"operationId":"videos_createAVideoFromATemplate","summary":"Create a video from a template","description":"Create a video based on a template created in Synthesia.","tags":["videos"],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoFromTemplate"}}}},"security":[{"api_key":[]}]}},"/v2/videos/{video_id}":{"get":{"operationId":"videos_retrieveAVideo","summary":"Retrieve a video","description":"You can use Retrieve a video endpoint to pull for the video status.\n\nA video that has finished rendering may still be awaiting content moderation review. Until that review is final, the video is returned with `in_progress` status rather than `complete`, and its `download`, `thumbnail` and `captions` are not included. Keep polling until the status is `complete`.\n\nVideos rejected by content moderation return a 404 response unless `includeRejected` is true, in which case they are returned with `rejected` status and without `download`, `thumbnail` or `captions`.","tags":["videos"],"parameters":[{"name":"video_id","in":"path","description":"The video ID to retrieve","required":true,"schema":{"type":"string"}},{"name":"includeRejected","in":"query","description":"When true, a video rejected by content moderation is returned with a `rejected` status instead of a 404 response. Defaults to false.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Video ID was not found, or the video was rejected by content moderation and `includeRejected` was not set.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]},"patch":{"operationId":"videos_updateAVideo","summary":"Update a video","description":"Use the Update a video endpoint to make the video public and accessible via the share page or update its title and description.","tags":["videos"],"parameters":[{"name":"video_id","in":"path","description":"The ID of the video to update","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Video not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVideoMetadataRequest"}}}},"security":[{"api_key":[]}]},"delete":{"operationId":"videos_deleteAVideo","summary":"Delete a video","description":"Use this endpoint to delete videos.","tags":["videos"],"parameters":[{"name":"video_id","in":"path","description":"The id of the video to delete.","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"The video was deleted successfully.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Video ID was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/{video_id}/thumbnail.jpg":{"get":{"operationId":"videos_retrieveAThumbnail","summary":"Retrieve a thumbnail","description":"Use this endpoint to pull information on a given video thumbnail.","tags":["videos"],"parameters":[{"name":"video_id","in":"path","description":"The ID of the video to retrieve the thumbnail from.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Videos_retrieveAThumbnail_Response_200"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Thumbnail not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/{video_id}/thumbnail.gif":{"get":{"operationId":"videos_retrieveAGifThumbnail","summary":"Retrieve a GIF thumbnail","description":"Use this endpoint to pull information on a given video GIF thumbnail.","tags":["videos"],"parameters":[{"name":"video_id","in":"path","description":"The ID of the video to retrieve the thumbnail from.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Videos_retrieveAGifThumbnail_Response_200"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Thumbnail not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/{video_id}/thumbnail":{"get":{"operationId":"videos_retrieveAGifJpgThumbnail","summary":"Retrieve a GIF/JPG thumbnail","description":"Use this endpoint to pull information on a given video. It will return a GIF thumbnail if it exists, otherwise a JPG.","tags":["videos"],"parameters":[{"name":"video_id","in":"path","description":"The ID of the video to retrieve the thumbnail from.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Videos_retrieveAGifJpgThumbnail_Response_200"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Thumbnail not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/translate/manual":{"post":{"operationId":"translations_translateAndGenerateAVideoFromXliffDefinition","summary":"Translate and generate a video from XLIFF definition","description":"Given XLIFF content, translate and generate a video.","tags":["translations"],"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTranslatedVideoFromXliffResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/videos/{video_id}/xliff":{"get":{"operationId":"videos_retrieveXliffContentForAVideo","summary":"Retrieve XLIFF content for a video","description":"You can use Retrieve XLIFF content endpoint to pull the XLIFF specification for a given video containing all the text content (script, chapters, text elements).","tags":["videos"],"parameters":[{"name":"video_id","in":"path","description":"The ID of the video to retrieve the XLIFF from.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"videoVersion","in":"query","description":"The version of a video to get the XLIFF from.","required":false,"schema":{"type":"integer"}},{"name":"xliffVersion","in":"query","description":"The desired version of XLIFF specification.","required":false,"schema":{"$ref":"#/components/schemas/V2VideosVideoIdXliffGetParametersXliffVersion"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoXliffResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Video ID was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/translate/languages":{"get":{"operationId":"translations_getSupportedLanguagesForTranslations","summary":"Get supported languages for translations","description":"Get a list of supported languages for translations.","tags":["translations"],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoResponse"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/translations/{root_video_id}":{"put":{"operationId":"translations_startUpdateAVideoTranslation","summary":"Start/Update a video translation","description":"Kick off TranslateVideoWorkflow for each requested target language. Returns a unified `translations` list. Each entry includes a `startedByRequest` flag: `true` if the workflow was started by this request, `false` if it was already in progress.","tags":["translations"],"parameters":[{"name":"root_video_id","in":"path","description":"The ID of the studio video to translate.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"202":{"description":"Accepted – translation workflows started (or already running).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertVideoTranslationsSuccessApiResponse"}}}},"400":{"description":"Bad Request – validation failed (unsupported language, wrong video type, translations not available for this workspace plan, or incompatible options).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden – wrong API key or user lacks edit permission for the video.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found – video not found or Translations API disabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertVideoTranslationsApiRequest"}}}},"security":[{"api_key":[]}]},"get":{"operationId":"translations_getVideoTranslationsOfAGivenRootVideoId","summary":"Get video translations of a given root video id","description":"Returns the translation status for each language associated with the given studio video. Each entry has a `status` of `complete`, `in_progress`, or `error`. Active state takes priority: a re-triggered language appears as `in_progress`, not `complete`.","tags":["translations"],"parameters":[{"name":"root_video_id","in":"path","description":"The ID of the studio video.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK – translation statuses for all languages.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVideoTranslationsApiResponse"}}}},"400":{"description":"Bad Request – wrong video type or translations not available for this workspace plan.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden – wrong API key or user lacks view permission for the video.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found – video not found or Translations API disabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/webhooks":{"post":{"operationId":"webhooks_createAWebhook","summary":"Create a Webhook","description":"Use the Create a webhook endpoint to create a new event subscription.","tags":["webhooks"],"responses":{"201":{"description":"Webhook successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookRequest"}}}},"security":[{"api_key":[]}]},"get":{"operationId":"webhooks_listWebhooks","summary":"List webhooks","description":"List all currently configured webhooks in your Synthesia account.","tags":["webhooks"],"parameters":[{"name":"limit","in":"query","description":"This parameter lets you specify the amount of webhooks to return in your API call. The maximum amount of webhooks you can have returned to you via this parameter is 100.","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","description":"Used to page through the webhooks. Every call to this endpoint will return the next offset value. This value is used in the offset parameter of the next call to get the next page of webhooks.","required":false,"schema":{"type":"integer","minimum":0,"default":0}},{"name":"deleted","in":"query","description":"If true, fetches deleted webhooks rather than active ones.","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookListResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/webhooks/{webhook_id}":{"get":{"operationId":"webhooks_retrieveAWebhook","summary":"Retrieve a webhook","description":"Retrieve a webhook endpoint to pull for the webhook status.","tags":["webhooks"],"parameters":[{"name":"webhook_id","in":"path","description":"The unique identifier of the webhook to retrieve.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookResponse"}}}},"400":{"description":"Bad Request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Webhook ID doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]},"delete":{"operationId":"webhooks_deleteAWebhook","summary":"Delete a webhook","description":"Use this endpoint to delete videos.","tags":["webhooks"],"parameters":[{"name":"webhook_id","in":"path","description":"The unique identifier of the webhook to delete.","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Webhook successfully deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Webhook ID doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/auditLogs/events":{"get":{"operationId":"auditLogs_getAuditLogEvents","summary":"Query audit log events","description":"Retrieve paginated audit log events for a workspace or an organization.\nExactly one of workspaceId or organizationId must be provided.\n\nSupports filtering by date range (Unix timestamps), multiple actions, multiple actor IDs, and target ID.\nAny combination of filters can be applied together.\n\n**Array parameters use comma-separated values:**\n- Multiple actions: `?actions=billing.credits.consumed,dubbing.project.created`\n- Multiple actors: `?actorIds=user-123,user-456`\n\nExample queries:\n- Latest events: `GET /v2/auditLogs/events?workspaceId=12345678-1234-1234-1234-123456789abc&limit=50`\n- Filtered by action and date:\n  `GET /v2/auditLogs/events?workspaceId=12345678-1234-1234-1234-123456789abc`\n  `&actions=billing.credits.consumed&startDate=1704067200&endDate=1706745599`\n- Multiple filters:\n  `GET /v2/auditLogs/events?workspaceId=12345678-1234-1234-1234-123456789abc`\n  `&actions=billing.credits.consumed,dubbing.project.created&actorIds=user-123,user-456`\n\nThis endpoint is rate-limited and usage is tracked against your API quota.\n","tags":["auditLogs"],"parameters":[{"name":"workspaceId","in":"query","description":"Workspace UUID to filter events by (mutually exclusive with organizationId)","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"organizationId","in":"query","description":"Organization UUID to filter events by (mutually exclusive with workspaceId)","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"actions","in":"query","description":"Comma-separated list of actions to filter by\n(e.g. \"billing.credits.consumed,dubbing.project.created\")\n","required":false,"schema":{"type":"string"}},{"name":"actorIds","in":"query","description":"Comma-separated list of actor IDs to filter by (e.g. \"user-123,user-456\")","required":false,"schema":{"type":"string"}},{"name":"targetId","in":"query","description":"Filter events by target ID","required":false,"schema":{"type":"string"}},{"name":"startDate","in":"query","description":"Filter events created on or after this Unix timestamp (seconds since epoch)","required":false,"schema":{"type":"integer","minimum":0}},{"name":"endDate","in":"query","description":"Filter events created before this Unix timestamp (seconds since epoch)","required":false,"schema":{"type":"integer","minimum":0}},{"name":"cursor","in":"query","description":"Opaque cursor for pagination","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Number of events per page (max 200)","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}}],"responses":{"200":{"description":"Paginated list of audit events","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditLogsPageResponse"}}}},"400":{"description":"Invalid query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key or Public API access disabled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Workspace or organization not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/auditLogs/events/search":{"post":{"operationId":"auditLogs_searchAuditLogEvents","summary":"Search audit log events (Advanced)","description":"Advanced search endpoint for audit log events with complex filter criteria.\n\n**For most use cases, use GET /v2/auditLogs/events instead.**\n\nUse this endpoint when:\n- Filtering by 50+ actions or actors\n- Complex query logic (future enhancement)\n- Programmatic access requiring JSON request bodies\n\nExactly one of workspaceId or organizationId must be provided.\nSupports filtering by date range (Unix timestamps), multiple actions, multiple actor IDs, and target ID.\nAny combination of filters can be applied together.\n\nExample request body for January 2024 user login events:\n{\n  \"workspaceId\": \"12345678-1234-1234-1234-123456789abc\",\n  \"actions\": [\"user.authentication.login\"],\n  \"startDate\": 1704067200,\n  \"endDate\": 1706745599\n}\n\nThis endpoint is rate-limited and usage is tracked against your API quota.\n","tags":["auditLogs"],"responses":{"200":{"description":"Paginated list of audit events","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditLogsPageResponse"}}}},"400":{"description":"Invalid query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key or Public API access disabled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Workspace or organization not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditLogsQueryRequest"}}}},"security":[{"api_key":[]}]}},"/v2/auditLogs/export":{"post":{"operationId":"auditLogs_exportAuditLogEvents","summary":"Export audit log events as CSV","description":"Export audit log events for a workspace or organization as a CSV file.\nExactly one of workspaceId or organizationId must be provided.\n\nSupports the same filtering options as the query endpoints:\n- Date range (Unix timestamps)\n- Multiple actions\n- Multiple actor IDs\n- Target ID\n\n**Export limits:**\n- Maximum 10,000 events per export\n- If more events match the filters, the export will be truncated\n- Truncated exports include \"_TRUNCATED\" in the filename\n\n**Example requests:**\n- Export all events for an organization:\n  {\"organizationId\": \"12345678-1234-1234-1234-123456789abc\"}\n- Export filtered events:\n  {\"organizationId\": \"12345678-1234-1234-1234-123456789abc\",\n   \"startDate\": 1704067200, \"endDate\": 1735689599,\n   \"actions\": [\"billing.credits.consumed\", \"video.created\"]}\n- Export by workspace with filters:\n  {\"workspaceId\": \"12345678-1234-1234-1234-123456789abc\",\n   \"actorIds\": [\"user-123\", \"user-456\"]}\n\nThis endpoint is rate-limited and usage is tracked against your API quota.\n","tags":["auditLogs"],"responses":{"200":{"description":"CSV file containing audit log events","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key or Public API access disabled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Workspace or organization not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditLogsExportRequest"}}}},"security":[{"api_key":[]}]}},"/v2/assets":{"post":{"operationId":"assets_createMediaAsset","summary":"Create media asset","description":"Creates a media asset with support for multipart or direct url upload. This endpoint currently supports only the dubbing configuration.","tags":["assets"],"responses":{"201":{"description":"Created. Returns upload credentials for the multipart upload.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssetMultipartUploadResponse"}}}},"400":{"description":"Unsupported Media Type.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssetRequest"}}}},"security":[{"api_key":[]}]}},"/v2/assets/{user_media_asset_id}":{"get":{"operationId":"assets_getUserMediaAsset","summary":"Get user media asset","description":"Retrieves a user uploaded media asset by its ID. Returns the asset's status, title, content type, and metadata including detected language if available. Currently only supports user-uploaded assets in the dubbing configuration.","tags":["assets"],"parameters":[{"name":"user_media_asset_id","in":"path","description":"The unique identifier of the media asset to retrieve.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success. Returns the media asset details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPublicApiUserUploadedAssetResponse"}}}},"400":{"description":"Bad Request. Asset is not a valid user uploaded asset.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found. Asset does not exist or user does not have access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"security":[{"api_key":[]}]}},"/v2/dubbing":{"post":{"operationId":"dubbing_createADubbingProjectFromAnUploadedVideoAsset","summary":"Create a dubbing project from an uploaded video asset","description":"**Deprecated.** To create from an uploaded asset, use [`POST /api/localizations/from-media-asset`](https://developers.synthesia.io/docs/api-reference/localization/create-localization-from-media-asset) with the `id` from `POST /v2/assets`, prefixed `asset_`. To create from a video URL, use [`POST /api/localizations/from-media-url`](https://developers.synthesia.io/docs/api-reference/localization/create-localization-from-media-url). The new API lip-syncs by default (`lipsyncEnabled: true`); set it to `false` to keep this endpoint's behaviour. Lip-sync needs a plan that includes it. `POST /v2/assets` is not deprecated: it's still how you upload the video.\n\nUse this endpoint to create a dubbing project from an uploaded video asset. Currently only S3 signed URLs are supported (using other URLs will return a `501` error)","tags":["dubbing"],"responses":{"202":{"description":"Accepted - Dubbing project created successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDubbingProjectApiResponseSuccess"}}}},"400":{"description":"Bad Request - Failed to create dubbing project. This can occur when: - The request validation fails - The source asset video URL is broken or inaccessible - There are errors creating the dubbed videos - The source asset was not uploaded with POST /v2/assets, so it can't be moderated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateADubbingProjectFromAnUploadedVideoAssetRequestBadRequestError"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Asset ID was not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}},"501":{"description":"Not Implemented","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateADubbingProjectFromAnUploadedVideoAssetRequestNotImplementedError"}}}}},"deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dubbing_createADubbingProjectFromAnUploadedVideoAsset_Request"}}}},"security":[{"api_key":[]}]}},"/v2/dubbing/{dubbing_project_id}":{"get":{"operationId":"dubbing_getDubbingProjectStatusAndVideos","summary":"Get dubbing project status and videos","description":"**Deprecated.** Use [`GET /api/localizations/{id}`](https://developers.synthesia.io/docs/api-reference/localization/get-localization) for the status and [`GET /api/localizations/{id}/locales`](https://developers.synthesia.io/docs/api-reference/localization/list-localization-locales) for the dubbed videos. For a dubbing project, use `l10n_<dubbing_project_id>` as the localization id, with an API key for the workspace the project was created in.\n\nRetrieve the status of a dubbing project and its dubbed videos.\n**Status values:** - `uploading`: The source video is still being uploaded/processed (only for projects created via sourceVideoUrl) - `in_progress`: Dubbing is in progress - `complete`: All dubbing is complete - `error`: An error occurred during dubbing\n**Response varies by status:** - UPLOADING: Returns only id and status - IN_PROGRESS/COMPLETE: Returns id, status, and dubbedAssets array - ERROR: Returns id, status, and errorCode\n**Dubbed asset status:** - IN_PROGRESS: Returns minimal data (id, language, status) - COMPLETE: Returns full data including download URLs - ERROR: Returns minimal data plus errorCode","tags":["dubbing"],"parameters":[{"name":"dubbing_project_id","in":"path","description":"UUID of the dubbing project (original imported video)","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"targetLanguages","in":"query","description":"Optional list of language codes to filter dubbed videos (e.g., es, fr, de)","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Successfully retrieved dubbing project status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dubbing_getDubbingProjectStatusAndVideos_Response_200"}}}},"400":{"description":"Bad Request - Invalid dubbing project.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found - Feature disabled or target languages not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"deprecated":true,"security":[{"api_key":[]}]},"put":{"operationId":"dubbing_addLocalesToADubbingProjectOriginalImportedVideo","summary":"Add locales to a dubbing project (original imported video)","description":"**Deprecated.** Use [`PUT /api/localizations/{id}/locales`](https://developers.synthesia.io/docs/api-reference/localization/add-localization-locales) instead. For a dubbing project, use `l10n_<dubbing_project_id>` as the localization id, with an API key for the workspace the project was created in. The new API lip-syncs by default (`lipsyncEnabled: true`); set it to `false` to keep this endpoint's behaviour. Lip-sync needs a plan that includes it.\n\nAdd the passed target locales to a dubbing project (original imported video). If a target locale is already added, it will be skipped.","tags":["dubbing"],"parameters":[{"name":"dubbing_project_id","in":"path","description":"UUID of the dubbing project (original imported video)","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"202":{"description":"Successfully scheduled dubbing for provided locales.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddLocalesToDubbingProjectResponse"}}}},"400":{"description":"Bad Request. Invalid imported video or locales.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden - Wrong API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found - Imported video not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}}}},"deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddLocalesToDubbingProjectRequest"}}}},"security":[{"api_key":[]}]}}},"tags":[{"name":"templates"},{"name":"videos"},{"name":"translations"},{"name":"webhooks"},{"name":"auditLogs"},{"name":"assets"},{"name":"dubbing"}],"servers":[{"url":"https://api.synthesia.io","description":"Synthesia public API URL."}],"components":{"schemas":{"V2TemplatesGetParametersSourceSchemaItems":{"type":"string","enum":["workspace","synthesia"],"title":"V2TemplatesGetParametersSourceSchemaItems"},"CtaSettings":{"type":"object","properties":{"label":{"type":"string","description":"Label for a call-to-action button."},"url":{"type":"string","pattern":"^(?:(?:(?:https?|ftp):)?//)?(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z0-9\\u00a1-\\uffff][a-z0-9\\u00a1-\\uffff_-]{0,62})?[a-z0-9\\u00a1-\\uffff]\\.)+(?:[a-z\\u00a1-\\uffff]{2,}\\.?))(?::\\d{2,5})?(?:[/?#]\\S*)?$","description":"URL to navigate to, when the call-to-action button is clicked."}},"required":["label","url"],"title":"CtaSettings"},"TemplateResponseTemplateData":{"type":"object","properties":{},"title":"TemplateResponseTemplateData"},"TemplateResponseVisibility":{"type":"string","enum":["private","public"],"default":"private","description":"Describes the private settings of the video. - If public, the video's share page is active. - If private, the video's share page is not active; visitors will receive a 404 Not Found response.","title":"TemplateResponseVisibility"},"TemplateResponseVariablesItems":{"type":"object","properties":{},"title":"TemplateResponseVariablesItems"},"TemplateResponse":{"type":"object","properties":{"callbackId":{"type":"string","description":"A callback ID that you may attach to the Video object. This is useful in the scenario where you need to store additional metadata on the video."},"createdAt":{"type":"integer"},"ctaSettings":{"$ref":"#/components/schemas/CtaSettings"},"description":{"type":"string","description":"Description of the video (used on the video's share page). Defaults to the template description."},"templateId":{"type":"string","format":"uuid","description":"Unique identifier of the template from which to create this video. This may be retrieved from the templates page in STUDIO."},"templateData":{"$ref":"#/components/schemas/TemplateResponseTemplateData"},"test":{"type":"boolean","default":false,"description":"Describes if the video is a test video. Test videos do not count towards your quota but are rendered with a watermark."},"title":{"type":"string","description":"Title of the video (used on the video's share page). Defaults to the template title."},"visibility":{"$ref":"#/components/schemas/TemplateResponseVisibility","default":"private","description":"Describes the private settings of the video. - If public, the video's share page is active. - If private, the video's share page is not active; visitors will receive a 404 Not Found response."},"brandKitId":{"type":["string","null"],"description":"Brand kit ID for the video. Defaults to 'workspace_default' if not set: the workspace's default brand kit is applied, and it can replace the template's avatars and styling. Use 'no_brand_kit' to keep the template's own styling and avatars, or a UUID for a custom brand kit."},"download":{"type":"string"},"duration":{"type":"string"},"id":{"type":"string","format":"uuid"},"lastUpdatedAt":{"type":"integer"},"variables":{"type":"array","items":{"$ref":"#/components/schemas/TemplateResponseVariablesItems"}}},"required":["templateId","templateData"],"title":"TemplateResponse"},"TemplateListResponse":{"type":"object","properties":{"templates":{"type":"array","items":{"$ref":"#/components/schemas/TemplateResponse"}},"nextOffset":{"type":"integer"}},"title":"TemplateListResponse"},"Error":{"type":"object","properties":{"error":{"type":"string"},"context":{"type":"string"}},"required":["error"],"title":"Error"},"ServerError":{"type":"object","properties":{"error":{"type":"string"},"context":{"type":"string"}},"required":["error"],"title":"ServerError"},"CreateVideoRequestAspectRatio":{"type":"string","enum":["16:9","9:16","1:1","4:5","5:4"],"default":"16:9","description":"Aspect ratio of the video. Default is `landscape (16:9)`.","title":"CreateVideoRequestAspectRatio"},"ActorSettingsHorizontalAlign":{"type":"string","enum":["left","center","right"],"description":"At the moment `verticalAlign` field is not exposed via API and is fixed to `bottom`, however together with `horizontalAlign` they define a reference point from where we scale the rectangular style avatar. For example, `horizontal alignment: left`, would mean that avatar is called from the bottom-left corner towards the top-right corner.","title":"ActorSettingsHorizontalAlign"},"ActorSettingsStyle":{"type":"string","enum":["circular","rectangular","voiceOnly"],"description":"`rectangular` style corresponds to the \"Full body\" avatar style in STUDIO. `circular style corresponds to the \"Circle\" avatar style in STUDIO. The position of circular avatar is fixed to the center of the video both vertically and horizontally, and can't be changed. With scale 1.0, circular avatar will cover total height of the video. Use circular style, if you need to make a round cutout of the avatar to integrate into e.g. screen recording app","title":"ActorSettingsStyle"},"ActorSettings":{"type":"object","properties":{"backgroundColor":{"description":"HEX color code (e.g. #F2F7FF) for the background of circular style avatar."},"horizontalAlign":{"oneOf":[{"$ref":"#/components/schemas/ActorSettingsHorizontalAlign"},{"type":"null"}],"default":null,"description":"At the moment `verticalAlign` field is not exposed via API and is fixed to `bottom`, however together with `horizontalAlign` they define a reference point from where we scale the rectangular style avatar. For example, `horizontal alignment: left`, would mean that avatar is called from the bottom-left corner towards the top-right corner."},"scale":{"type":["number","null"],"format":"double","default":null,"description":"The scale of the avatar."},"style":{"$ref":"#/components/schemas/ActorSettingsStyle","description":"`rectangular` style corresponds to the \"Full body\" avatar style in STUDIO. `circular style corresponds to the \"Circle\" avatar style in STUDIO. The position of circular avatar is fixed to the center of the video both vertically and horizontally, and can't be changed. With scale 1.0, circular avatar will cover total height of the video. Use circular style, if you need to make a round cutout of the avatar to integrate into e.g. screen recording app"},"voice":{"type":["string","null"],"format":"uuid","default":null,"description":"If a voice is not provided, a default voice is assigned automatically. This default is subject to change, which may cause inconsistent voices across videos. Specify voiceId explicitly to ensure consistent output. See the complete list of voices."},"seamless":{"type":"boolean","default":false,"description":"When the seamless option is enabled, a video of the avatar will be generated in a way that first and last frames match, so videos can be concatenated seamlessly. Use seamless option, if you need to play videos back to back seamlessly e.g. in a video chatbot app. Limitations: - Only work with anna_costume1_cameraA and mia_costume1_cameraA actors. - Only work with static (image) backgrounds. - Videos will have noticeably lower quality. Though, this might not matter, depending on your use case."}},"required":["style"],"title":"ActorSettings"},"InputBackgroundPosition":{"type":"object","properties":{"x":{"type":"integer"},"y":{"type":"integer"}},"required":["x","y"],"title":"InputBackgroundPosition"},"InputBackgroundTrim":{"type":"object","properties":{"startTime":{"type":"number","format":"double"},"endTime":{"type":"number","format":"double"}},"required":["startTime","endTime"],"title":"InputBackgroundTrim"},"InputVideoBackgroundSettingsShortBackgroundContentMatchMode":{"type":"string","enum":["freeze","loop","slow_down"],"default":"freeze","description":"Possible values: - `freeze` freezes the last frame of the background until the content is finished - `loop` loops the background until the content is finished - `slow_down` slows down the background so that its duration matches the content duration","title":"InputVideoBackgroundSettingsShortBackgroundContentMatchMode"},"InputVideoBackgroundSettingsLongBackgroundContentMatchMode":{"type":"string","enum":["extend_content","trim","speed_up"],"default":"trim","description":"Possible values - `trim` trims the background to the duration of the content - `speed_up` speeds up the background so that its duration matches the content duration","title":"InputVideoBackgroundSettingsLongBackgroundContentMatchMode"},"InputVideoBackgroundSettings":{"type":"object","properties":{"trim":{"oneOf":[{"$ref":"#/components/schemas/InputBackgroundTrim"},{"type":"null"}],"default":null},"shortBackgroundContentMatchMode":{"$ref":"#/components/schemas/InputVideoBackgroundSettingsShortBackgroundContentMatchMode","default":"freeze","description":"Possible values: - `freeze` freezes the last frame of the background until the content is finished - `loop` loops the background until the content is finished - `slow_down` slows down the background so that its duration matches the content duration"},"longBackgroundContentMatchMode":{"$ref":"#/components/schemas/InputVideoBackgroundSettingsLongBackgroundContentMatchMode","default":"trim","description":"Possible values - `trim` trims the background to the duration of the content - `speed_up` speeds up the background so that its duration matches the content duration"},"volume":{"type":["number","null"],"format":"double","minimum":0,"maximum":1,"default":null}},"title":"InputVideoBackgroundSettings"},"InputBackgroundSettings":{"type":"object","properties":{"position":{"oneOf":[{"$ref":"#/components/schemas/InputBackgroundPosition"},{"type":"null"}],"default":null},"scale":{"type":"number","format":"double","default":1},"videoSettings":{"oneOf":[{"$ref":"#/components/schemas/InputVideoBackgroundSettings"},{"type":"null"}],"default":null}},"title":"InputBackgroundSettings"},"InputScriptLanguage":{"type":"string","enum":["MISSING","af","af-001","sq-AL","sq-001","am","am-001","ar-DZ","ar-BH","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LY","ar-MA","ar-QA","ar-SA","ar-SY","ar-TN","ar-AE","ar-YE","ar-001","as-IN","as-001","hy-AM","hy-001","az-AZ","az-001","eu-ES","eu-001","bs-BA","bs-001","bg","bg-001","bn-BD","bn-IN","bn-001","my","my-001","yue-CN","ca","ca-001","zh-CN","zh-HK","zh-TW","zh-001","hr","hr-001","cs","cs-001","da","da-001","nl-NL","nl-001","nl-BE","ka-GE","ka-001","en-AU","en-CA","en-GB","en-HK","en-IE","en-IN","en-KE","en-MX","en-NG","en-NZ","en-PH","en-US","en-SG","en-ZA","en-TZ","en-001","et","et-001","fil","fil-001","fi","fi-001","fr-BE","fr-CA","fr-CH","fr-FR","fr-001","gl","gl-001","de-AT","de-DE","de-CH","de-001","el","el-001","gu","gu-001","iw","iw-001","hi","hi-001","ht-HT","hu","hu-001","is","is-001","id","id-001","ga","ga-001","it","it-001","ja","ja-001","jv","jv-001","kn","kn-001","kk-KZ","kk-001","km","km-001","ko","ko-001","lt","lt-001","lv","lv-001","lo-LA","lo-001","mi-NZ","mk-MK","mk-001","ms","ms-001","ml","ml-001","mt","mt-001","mr","mr-001","mn-MN","mn-001","ne-NP","ne-001","nb","nb-001","or-IN","or-001","ps-AF","ps-001","fa","fa-001","pl","pl-001","pt-BR","pt-PT","pt-001","pa-IN","pa-001","ro","ro-001","ru","ru-001","sr","sr-001","si-LK","si-001","sk","sk-001","sl","sl-001","so","so-001","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-SV","es-GQ","es-GT","es-HN","es-LA","es-MX","es-NI","es-PA","es-PY","es-PE","es-PR","es-ES","es-US","es-UY","es-VE","es-001","su","su-001","sv","sv-001","sw-KE","sw-TZ","sw-001","vi","vi-001","ta-IN","ta-SG","ta-LK","ta-001","te","te-001","tr","tr-001","th","th-001","uk","uk-001","ur-IN","ur-PK","ur-001","uz","uz-001","cy","cy-001","wuu-CN","zu","zu-001"],"description":"Language code of the language the script audio was generated in. The scriptLanguage option must be used with `scriptAudio`.\n\nTo control the language/voice of the scriptText, use `input[].avatarSettings.voice` option.\n\nLanguage code should be in the format: `en-US`, where the first two characters represent language and the second two-character represent the country.","title":"InputScriptLanguage"},"InputSoundSettings":{"type":"object","properties":{"soundtrackVolume":{"type":["number","null"],"format":"double","default":null}},"title":"InputSoundSettings"},"Input":{"type":"object","properties":{"avatar":{"type":"string","description":"Use one of [Synthesia stock avatars or your custom avatar](https://developers.synthesia.io/docs/avatars)."},"avatarSettings":{"$ref":"#/components/schemas/ActorSettings","default":{"horizontalAlign":"center","scale":1,"seamless":false,"style":"rectangular","voice":null},"description":"Avatar settings."},"background":{"type":"string","description":"Use Synthesia' stock backgrounds or your custom background. For the custom background, provide the ID of an uploaded asset (see [Create an asset](https://developers.synthesia.io/docs/create-an-asset)), or URL from where Synthesia should download the background.\n\nTransparent: green_screen Green screen background can be used if you want to replace background using FFMPEG or any of the video editing software.\n\nSolid: `off_white` / `warm_white` / `light_pink` / `soft_pink` / `light_blue` / `dark_blue` / `soft_cyan` / `strong_cyan` / `light_orange` / `soft_orange`\n\nImage: `white_studio` / `white_cafe` / `luxury_lobby` / `large_window` / `white_meeting_room` / `open_office`"},"backgroundSettings":{"$ref":"#/components/schemas/InputBackgroundSettings","description":"Video Settings object"},"scriptAudio":{"type":"string","description":"As an alternative to `scriptText`, provide the ID of uploaded script audio. See [Upload script audio for details](https://developers.synthesia.io/docs/upload-script-audio).\n\nIf you use `scriptAudio` you must provide `scriptLanguage`."},"scriptLanguage":{"$ref":"#/components/schemas/InputScriptLanguage","description":"Language code of the language the script audio was generated in. The scriptLanguage option must be used with `scriptAudio`.\n\nTo control the language/voice of the scriptText, use `input[].avatarSettings.voice` option.\n\nLanguage code should be in the format: `en-US`, where the first two characters represent language and the second two-character represent the country."},"scriptText":{"type":"string","description":"Script for text-to-voice can be entered in any of the [supported languages](https://developers.synthesia.io/docs/voices)."},"soundSettings":{"$ref":"#/components/schemas/InputSoundSettings"},"transition":{"type":["string","null"],"default":null}},"required":["avatar","background"],"title":"Input"},"CreateVideoRequestSoundtrack":{"type":"string","enum":["corporate","inspirational","modern","urban"],"description":"soundtrack option is supported for backward compatibility. You should use the templates functionality for rich videos.","title":"CreateVideoRequestSoundtrack"},"ParentSoundtrackRegion":{"type":"object","properties":{"soundtrack":{"type":"string"},"slideRange":{"type":"string"},"fadeInSeconds":{"type":"number","format":"double","default":0},"fadeOutSeconds":{"type":"number","format":"double","default":0}},"required":["soundtrack","slideRange"],"title":"ParentSoundtrackRegion"},"ParentSoundSettings":{"type":"object","properties":{"defaultSoundtrackVolume":{"type":"number","format":"double","default":0.18},"soundtracks":{"type":"array","items":{"$ref":"#/components/schemas/ParentSoundtrackRegion"},"default":[]}},"title":"ParentSoundSettings"},"CreateVideoRequestVisibility":{"type":"string","enum":["private","public"],"default":"private","description":"Public videos will be visible to anyone with a share URL.\n\nPrivate videos can only be downloaded via a time-limited download link. See Retrieve a video for details.\n\nVisibility can be changed also once the video is created via Update a video.","title":"CreateVideoRequestVisibility"},"CreateVideoRequest":{"type":"object","properties":{"folderId":{"type":["string","null"],"format":"uuid","default":null,"description":"Optional folder ID. If provided, the new video will be created under this folder and inherit its permissions."},"aspectRatio":{"$ref":"#/components/schemas/CreateVideoRequestAspectRatio","default":"16:9","description":"Aspect ratio of the video. Default is `landscape (16:9)`."},"ctaSettings":{"$ref":"#/components/schemas/CtaSettings","description":"Settings for a call-to-action button."},"callbackId":{"type":"string","description":"Use callback ID to link videos back to the initial request. For example, if you are making a personalized video for a customer, you could enter the customer's email as a callback ID. This way, you can tell who the video is for, once its generated.."},"description":{"type":"string","default":"","description":"Description of the video to be shown on the share page."},"input":{"type":"array","items":{"$ref":"#/components/schemas/Input"},"description":"An array of objects that each describe a clip of a multi-clip video. You can think of the clips as different scenes in the video."},"soundtrack":{"$ref":"#/components/schemas/CreateVideoRequestSoundtrack","description":"soundtrack option is supported for backward compatibility. You should use the templates functionality for rich videos."},"soundSettings":{"$ref":"#/components/schemas/ParentSoundSettings"},"test":{"type":"boolean","default":false,"description":"Test videos are free and not counted towards your quota. If you create a video in the “test” mode, we will overlay a watermark over your video."},"title":{"type":"string","default":"","description":"Title of the video to be shown on the share page."},"visibility":{"$ref":"#/components/schemas/CreateVideoRequestVisibility","default":"private","description":"Public videos will be visible to anyone with a share URL.\n\nPrivate videos can only be downloaded via a time-limited download link. See Retrieve a video for details.\n\nVisibility can be changed also once the video is created via Update a video."}},"required":["input"],"title":"CreateVideoRequest"},"VideoResponseStatus":{"type":"string","enum":["complete","deleted","error","in_progress","rejected","approved"],"description":"Video status. A rendered video that is still awaiting moderation review is reported as `in_progress` until the review is final.","title":"VideoResponseStatus"},"VideoThumbnailTypesResponse":{"type":"object","properties":{"image":{"type":["string","null"],"default":null},"gif":{"type":["string","null"],"default":null}},"title":"VideoThumbnailTypesResponse"},"VideoResponseVisibility":{"type":"string","enum":["private","public"],"default":"private","description":"Public videos will be visible to anyone with a share URL.\n\nPrivate videos can only be downloaded via a time-limited download link. See Retrieve a video for details.\n\nVisibility can be changed also once the video is created via Update a video.","title":"VideoResponseVisibility"},"VideoAssetCaptionTypesResponse":{"type":"object","properties":{"srt":{"type":["string","null"],"default":null},"vtt":{"type":["string","null"],"default":null}},"title":"VideoAssetCaptionTypesResponse"},"C2PAContentProvenanceResponse":{"type":"object","properties":{"signedAt":{"type":"string"},"claimGenerator":{"type":"string"}},"required":["signedAt","claimGenerator"],"title":"C2PAContentProvenanceResponse"},"ContentProvenanceResponse":{"type":"object","properties":{"c2pa":{"oneOf":[{"$ref":"#/components/schemas/C2PAContentProvenanceResponse"},{"type":"null"}]}},"title":"ContentProvenanceResponse"},"VideoResponse":{"type":"object","properties":{"callbackId":{"type":"string","description":"Use callback ID to link videos back to the initial request. For example, if you are making a personalized video for a customer, you could enter the customer's email as a callback ID. This way, you can tell who the video is for, once its generated.."},"createdAt":{"type":"integer","description":"UNIX timestamp representing the time video was created."},"ctaSettings":{"$ref":"#/components/schemas/CtaSettings","description":"Settings for a call-to-action button."},"description":{"type":"string","default":"","description":"Description of the video to be shown on the share page."},"test":{"type":"boolean","default":false,"description":"Test videos are free and not counted towards your quota. If you create a video in the “test” mode, we will overlay a watermark over your video."},"download":{"type":"string","description":"Withheld for rejected videos and videos held for moderation review."},"duration":{"type":"string"},"id":{"type":"string","format":"uuid"},"lastUpdatedAt":{"type":"integer"},"status":{"$ref":"#/components/schemas/VideoResponseStatus","description":"Video status. A rendered video that is still awaiting moderation review is reported as `in_progress` until the review is final."},"thumbnail":{"oneOf":[{"$ref":"#/components/schemas/VideoThumbnailTypesResponse"},{"type":"null"}],"default":null},"title":{"type":"string","default":"","description":"Title of the video to be shown on the share page."},"visibility":{"$ref":"#/components/schemas/VideoResponseVisibility","default":"private","description":"Public videos will be visible to anyone with a share URL.\n\nPrivate videos can only be downloaded via a time-limited download link. See Retrieve a video for details.\n\nVisibility can be changed also once the video is created via Update a video."},"captions":{"$ref":"#/components/schemas/VideoAssetCaptionTypesResponse","description":"Downloadable captions files. Omitted when no captions are available, and for videos that are rejected or held for moderation review."},"contentProvenance":{"oneOf":[{"$ref":"#/components/schemas/ContentProvenanceResponse"},{"type":"null"}],"description":"Content provenance (C2PA) information for the video. Only present when the video has been signed."}},"title":"VideoResponse"},"VideoFromTemplateTemplateData":{"type":"object","properties":{},"title":"VideoFromTemplateTemplateData"},"VideoFromTemplateVisibility":{"type":"string","enum":["private","public"],"default":"private","description":"Describes the private settings of the video. - If public, the video's share page is active. - If private, the video's share page is not active; visitors will receive a 404 Not Found response.","title":"VideoFromTemplateVisibility"},"VideoFromTemplate":{"type":"object","properties":{"folderId":{"type":["string","null"],"format":"uuid","default":null,"description":"Optional folder ID. If provided, the new video will be created under this folder and inherit its permissions."},"callbackId":{"type":"string","description":"A callback ID that you may attach to the Video object. This is useful in the scenario where you need to store additional metadata on the video."},"ctaSettings":{"$ref":"#/components/schemas/CtaSettings"},"description":{"type":"string","description":"Description of the video (used on the video's share page). Defaults to the template description."},"templateId":{"type":"string","format":"uuid","description":"Unique identifier of the template from which to create this video. This may be retrieved from the templates page in STUDIO."},"templateData":{"$ref":"#/components/schemas/VideoFromTemplateTemplateData"},"test":{"type":"boolean","default":false,"description":"Describes if the video is a test video. Test videos do not count towards your quota but are rendered with a watermark."},"title":{"type":"string","description":"Title of the video (used on the video's share page). Defaults to the template title."},"visibility":{"$ref":"#/components/schemas/VideoFromTemplateVisibility","default":"private","description":"Describes the private settings of the video. - If public, the video's share page is active. - If private, the video's share page is not active; visitors will receive a 404 Not Found response."},"brandKitId":{"type":["string","null"],"description":"Brand kit ID for the video. Defaults to 'workspace_default' if not set: the workspace's default brand kit is applied, and it can replace the template's avatars and styling. Use 'no_brand_kit' to keep the template's own styling and avatars, or a UUID for a custom brand kit."}},"required":["templateId","templateData"],"title":"VideoFromTemplate"},"V2VideosGetParametersSourceSchemaItems":{"type":"string","enum":["workspace","shared_with_me","my_videos"],"title":"V2VideosGetParametersSourceSchemaItems"},"VideoListResponse":{"type":"object","properties":{"videos":{"type":"array","items":{"$ref":"#/components/schemas/VideoResponse"}},"nextOffset":{"type":"integer"}},"title":"VideoListResponse"},"Videos_retrieveAThumbnail_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"Videos_retrieveAThumbnail_Response_200"},"Videos_retrieveAGifThumbnail_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"Videos_retrieveAGifThumbnail_Response_200"},"Videos_retrieveAGifJpgThumbnail_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"Videos_retrieveAGifJpgThumbnail_Response_200"},"UpdateVideoMetadataRequestVisibility":{"type":"string","enum":["private","public"],"title":"UpdateVideoMetadataRequestVisibility"},"UpdateVideoMetadataRequest":{"type":"object","properties":{"ctaSettings":{"oneOf":[{"$ref":"#/components/schemas/CtaSettings"},{"type":"null"}]},"description":{"type":"string"},"title":{"type":"string"},"visibility":{"$ref":"#/components/schemas/UpdateVideoMetadataRequestVisibility"}},"title":"UpdateVideoMetadataRequest"},"CreateTranslatedVideoFromXliffResponse":{"type":"object","properties":{"videoId":{"type":"string"}},"required":["videoId"],"title":"CreateTranslatedVideoFromXliffResponse"},"V2VideosVideoIdXliffGetParametersXliffVersion":{"type":"string","enum":["1.2"],"title":"V2VideosVideoIdXliffGetParametersXliffVersion"},"VideoXliffResponse":{"type":"object","properties":{"xliff":{"type":"string"}},"required":["xliff"],"title":"VideoXliffResponse"},"UpsertVideoTranslationsApiRequestAutoGenerate":{"type":"string","enum":["private","public"],"description":"Automatically generate the translated video after translation completes. Set to 'private' to generate without sharing publicly, or 'public' to generate and publish immediately.","title":"UpsertVideoTranslationsApiRequestAutoGenerate"},"UpsertVideoTranslationsApiRequest":{"type":"object","properties":{"targetLanguages":{"type":"array","items":{"type":"string"},"description":"List of language codes to translate the video into. See https://docs.synthesia.io/docs/supported-languages for accepted values."},"translateScriptOnly":{"type":"boolean","default":false,"description":"If true, only the script is translated."},"autoGenerate":{"oneOf":[{"$ref":"#/components/schemas/UpsertVideoTranslationsApiRequestAutoGenerate"},{"type":"null"}],"default":null,"description":"Automatically generate the translated video after translation completes. Set to 'private' to generate without sharing publicly, or 'public' to generate and publish immediately."}},"required":["targetLanguages"],"title":"UpsertVideoTranslationsApiRequest"},"UpsertVideoTranslationsRunningWorkflowApiItemStatus":{"type":"string","enum":["in_progress"],"default":"in_progress","title":"UpsertVideoTranslationsRunningWorkflowApiItemStatus"},"UpsertVideoTranslationsRunningWorkflowApiItemStep":{"type":"string","enum":["translation"],"title":"UpsertVideoTranslationsRunningWorkflowApiItemStep"},"UpsertVideoTranslationsRunningWorkflowApiItem":{"type":"object","properties":{"language":{"type":"string"},"status":{"$ref":"#/components/schemas/UpsertVideoTranslationsRunningWorkflowApiItemStatus","default":"in_progress"},"step":{"$ref":"#/components/schemas/UpsertVideoTranslationsRunningWorkflowApiItemStep"},"startedByRequest":{"type":"boolean","default":true,"description":"Whether the translation was started by the request."}},"required":["language","step"],"title":"UpsertVideoTranslationsRunningWorkflowApiItem"},"UpsertVideoTranslationsSuccessApiResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the studio video to translate."},"translations":{"type":"array","items":{"$ref":"#/components/schemas/UpsertVideoTranslationsRunningWorkflowApiItem"},"description":"List of translations that were created or updated."}},"required":["id","translations"],"title":"UpsertVideoTranslationsSuccessApiResponse"},"GetVideoTranslationsApiResponseTranslationsItemsDiscriminatorMappingInProgressStep":{"type":"string","enum":["translation"],"title":"GetVideoTranslationsApiResponseTranslationsItemsDiscriminatorMappingInProgressStep"},"GetVideoTranslationsApiResponseTranslationsItemsDiscriminatorMappingErrorErrorCode":{"type":"string","enum":["translation_failed","asset_not_found"],"title":"GetVideoTranslationsApiResponseTranslationsItemsDiscriminatorMappingErrorErrorCode"},"GetVideoTranslationsApiResponseTranslationsItems":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["complete"],"description":"Discriminator value: complete"},"language":{"type":"string"},"step":{"$ref":"#/components/schemas/GetVideoTranslationsApiResponseTranslationsItemsDiscriminatorMappingInProgressStep"}},"required":["status","language","step"],"description":"TranslationStatusApiItemSuccess variant"},{"type":"object","properties":{"status":{"type":"string","enum":["error"],"description":"Discriminator value: error"},"language":{"type":"string"},"errorCode":{"$ref":"#/components/schemas/GetVideoTranslationsApiResponseTranslationsItemsDiscriminatorMappingErrorErrorCode"}},"required":["status","language","errorCode"],"description":"TranslationStatusApiItemError variant"},{"type":"object","properties":{"status":{"type":"string","enum":["in_progress"],"description":"Discriminator value: in_progress"},"language":{"type":"string"},"step":{"$ref":"#/components/schemas/GetVideoTranslationsApiResponseTranslationsItemsDiscriminatorMappingInProgressStep"}},"required":["status","language","step"],"description":"TranslationStatusApiItemSuccess variant"}],"discriminator":{"propertyName":"status"},"title":"GetVideoTranslationsApiResponseTranslationsItems"},"GetVideoTranslationsApiResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"translations":{"type":"array","items":{"$ref":"#/components/schemas/GetVideoTranslationsApiResponseTranslationsItems"}}},"required":["id","translations"],"title":"GetVideoTranslationsApiResponse"},"CreateWebhookRequestEventsItems":{"type":"string","enum":["video.completed","video.failed"],"title":"CreateWebhookRequestEventsItems"},"CreateWebhookRequest":{"type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/CreateWebhookRequestEventsItems"},"description":"[The webhook events](https://developers.synthesia.io/docs/webhook-events) for which notifications should be sent."},"url":{"type":"string","format":"url","pattern":"^(?:(?:(?:https?|ftp):)?//)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z0-9\\u00a1-\\uffff][a-z0-9\\u00a1-\\uffff_-]{0,62})?[a-z0-9\\u00a1-\\uffff]\\.)+(?:[a-z\\u00a1-\\uffff]{2,}\\.?))(?::\\d{2,5})?(?:[/?#]\\S*)?$","description":"The URL to send notifications to"}},"required":["events","url"],"title":"CreateWebhookRequest"},"WebhookResponse":{"type":"object","properties":{"createdAt":{"description":"Any type"},"id":{"type":"string"},"secret":{"type":"string"},"status":{"description":"Any type"},"lastUpdatedAt":{"description":"Any type"},"url":{"type":"string","format":"url"}},"title":"WebhookResponse"},"WebhookListResponse":{"type":"object","properties":{"webhooks":{"type":"array","items":{"$ref":"#/components/schemas/WebhookResponse"}},"nextOffset":{"type":"integer"}},"title":"WebhookListResponse"},"ActorType":{"type":"string","enum":["user","system","service"],"description":"Types of actors that can perform actions.\n\nUSER: A human user (authenticated via username/password, social login, or SAML SSO)\nSYSTEM: An automated system process (e.g., \"billing_system\", \"moderation_system\")\nSERVICE: An internal service (e.g., \"rendering_service\", \"dubbing_service\")","title":"ActorType"},"Actor":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ActorType"},"id":{"type":"string"},"name":{"type":["string","null"],"default":null},"email":{"type":["string","null"],"default":null}},"required":["type","id"],"description":"Actor (who performed the action) information.","title":"Actor"},"TargetType":{"type":"string","enum":["workspace","video","user","organization","asset"],"description":"Types of entities that can be acted upon.\n\nWORKSPACE: A workspace entity\nVIDEO: A video entity\nUSER: A user entity (can be same as Actor in self-service actions like login/profile updates)\nORGANIZATION: An organization entity\nASSET: An asset entity (avatars, images, etc.)","title":"TargetType"},"Target":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/TargetType"},"id":{"type":"string"},"name":{"type":["string","null"],"default":null}},"required":["type","id"],"description":"Target (what was acted upon) information.","title":"Target"},"Context":{"type":"object","properties":{"workspaceId":{"type":["string","null"],"default":null},"organizationId":{"type":["string","null"],"default":null},"ipAddress":{"type":["string","null"],"default":null}},"description":"Event context (workspace, organization, IP address).","title":"Context"},"AuditLogEventDetails":{"type":"object","properties":{},"title":"AuditLogEventDetails"},"Metadata":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time"},"processedAt":{"type":["string","null"],"format":"date-time","default":null}},"required":["createdAt"],"description":"Event metadata (timestamps).","title":"Metadata"},"AuditLogEvent":{"type":"object","properties":{"id":{"type":"string"},"action":{"type":"string"},"status":{"type":"string"},"actor":{"$ref":"#/components/schemas/Actor"},"target":{"$ref":"#/components/schemas/Target"},"context":{"$ref":"#/components/schemas/Context"},"details":{"$ref":"#/components/schemas/AuditLogEventDetails"},"metadata":{"$ref":"#/components/schemas/Metadata"}},"required":["id","action","status","actor","target","context","details","metadata"],"description":"Single audit log event.\n\nRepresents one audit event with full details including actor, target,\ncontext, and domain-specific details.\n\nExample response:\n{\n    \"id\": \"256eb609-72cb-4d42-a7a3-59a65d4e6726\",\n    \"action\": \"user.authentication.login\",\n    \"status\": \"success\",\n    \"actor\": {\n        \"type\": \"user\",\n        \"id\": \"93d3f26c-8bb1-4759-b0c7-eef01cb0321b\",\n        \"name\": \"local user\",\n        \"email\": \"dev_user@synthesia.io\"\n    },\n    \"target\": {\n        \"type\": \"user\",\n        \"id\": \"93d3f26c-8bb1-4759-b0c7-eef01cb0321b\",\n        \"name\": \"local user\"\n    },\n    \"context\": {\n        \"workspaceId\": \"b93d1427-06d8-412a-b158-6280e68b54d5\",\n        \"organizationId\": null,\n        \"ipAddress\": null\n    },\n    \"details\": {\n        \"authMethod\": \"username_password\",\n        \"isImpersonation\": false,\n        \"emailVerified\": true,\n        \"emailDomain\": \"synthesia.io\",\n        \"company\": \"Synthesia\"\n    },\n    \"metadata\": {\n        \"createdAt\": \"2025-10-05T06:58:28.321Z\",\n        \"processedAt\": \"2025-10-05T06:58:28.322Z\"\n    }\n}","title":"AuditLogEvent"},"AuditLogsPageResponse":{"type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogEvent"},"description":"List of audit log events"},"nextCursor":{"type":["string","null"],"default":null,"description":"Opaque cursor for fetching the next page. Pass as cursor parameter."},"hasMore":{"type":"boolean","description":"Whether there are more events to fetch"}},"required":["events","hasMore"],"description":"Paginated response for audit logs listing.\n\nUsed for both INTERNAL and PUBLIC APIs\n\nINTERNAL API: POST /auditLogs/events\nPUBLIC API: POST /v2/auditLogs/events","title":"AuditLogsPageResponse"},"AuditLogsQueryRequest":{"type":"object","properties":{"workspaceId":{"type":["string","null"],"format":"uuid","default":null},"organizationId":{"type":["string","null"],"format":"uuid","default":null},"startDate":{"type":["integer","null"],"minimum":0,"default":null},"endDate":{"type":["integer","null"],"minimum":0,"default":null},"actions":{"type":["array","null"],"items":{"type":"string"},"default":null},"actorIds":{"type":["array","null"],"items":{"type":"string"},"default":null},"targetId":{"type":["string","null"],"default":null},"cursor":{"type":["string","null"],"default":null},"limit":{"type":"integer","minimum":1,"maximum":200,"default":50}},"title":"AuditLogsQueryRequest"},"AuditLogsExportRequest":{"type":"object","properties":{"workspaceId":{"type":["string","null"],"format":"uuid","default":null},"organizationId":{"type":["string","null"],"format":"uuid","default":null},"startDate":{"type":["integer","null"],"minimum":0,"default":null},"endDate":{"type":["integer","null"],"minimum":0,"default":null},"actions":{"type":["array","null"],"items":{"type":"string"},"default":null},"actorIds":{"type":["array","null"],"items":{"type":"string"},"default":null},"targetId":{"type":["string","null"],"default":null}},"title":"AuditLogsExportRequest"},"CreateAssetRequestContentType":{"type":"string","enum":["video/mp4","video/webm","video/quicktime"],"description":"The content type of the asset to upload. Must be one of: video/mp4, video/webm, or video/quicktime.","title":"CreateAssetRequestContentType"},"DubbingAssetRequestConfigurationName":{"type":"string","enum":["dubbing"],"default":"dubbing","title":"DubbingAssetRequestConfigurationName"},"DubbingAssetRequestConfiguration":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/DubbingAssetRequestConfigurationName","default":"dubbing"},"detectLanguage":{"type":"boolean","default":true,"description":"Whether to detect the language of the asset."}},"description":"Public API configuration for dubbing assets.","title":"DubbingAssetRequestConfiguration"},"CreateAssetRequestConfiguration":{"oneOf":[{"$ref":"#/components/schemas/DubbingAssetRequestConfiguration"}],"description":"The configuration to use for the asset.","title":"CreateAssetRequestConfiguration"},"CreateAssetRequest":{"type":"object","properties":{"contentType":{"$ref":"#/components/schemas/CreateAssetRequestContentType","description":"The content type of the asset to upload. Must be one of: video/mp4, video/webm, or video/quicktime."},"configuration":{"$ref":"#/components/schemas/CreateAssetRequestConfiguration","description":"The configuration to use for the asset."},"contentLength":{"type":["integer","null"],"default":null,"description":"The length of the file content to upload. This is used to verify the integrity of the asset during upload."},"contentMD5":{"type":["string","null"],"default":null,"description":"The MD5 hash of the file content to upload. This is used to verify the integrity of the asset during upload."},"title":{"type":"string","maxLength":256,"default":"Untitled","description":"The title of the asset to upload."}},"required":["contentType","configuration"],"title":"CreateAssetRequest"},"MultipartUploadCredentialsResponse":{"type":"object","properties":{"accessKeyId":{"type":"string"},"secretAccessKey":{"type":"string"},"sessionToken":{"type":"string"},"bucket":{"type":"string"},"key":{"type":"string"}},"required":["accessKeyId","secretAccessKey","sessionToken","bucket","key"],"title":"MultipartUploadCredentialsResponse"},"CreateAssetMultipartUploadResponse":{"type":"object","properties":{"id":{"type":"string"},"uploadUrl":{"type":["string","null"],"default":null},"uploadCredentials":{"$ref":"#/components/schemas/MultipartUploadCredentialsResponse"}},"required":["id","uploadCredentials"],"title":"CreateAssetMultipartUploadResponse"},"AssetContentType":{"type":"string","enum":["image/webp","image/jpeg","image/png","image/svg+xml","image/gif","video/mp4","video/webm","video/quicktime","audio/wav","audio/mpeg","audio/ogg","audio/aac","audio/flac","audio/mp4","audio/webm","font/otf","font/ttf","font/woff","application/font-woff","font/woff2","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.synthesia.studio-video","application/vnd.synthesia.studio-imported-video","application/vnd.synthesia.studio-dubbed-video","application/vnd.synthesia.studio-photo-avatar-video","application/vnd.synthesia.studio-synthesia-academy-video","application/vnd.synthesia.studio-synthesia-feature-overview-video","application/vnd.synthesia.studio-synthesia-example-video","application/vnd.synthesia.studio-synthesia-demo-video","application/vnd.synthesia.studio-synthesia-welcome-webinar-video","application/vnd.synthesia.studio-user-template","application/vnd.synthesia.studio-synthesia-template","application/vnd.synthesia.studio-synthesia-processed-gif","application/vnd.synthesia.studio-user-course","application/vnd.synthesia.font-family","application/vnd.synthesia.folder","application/json","application/x-xliff+xml","application/pdf","text/csv"],"description":"AssetContentType specifies the MIME type of a particular asset, and provides some helper methods and properties","title":"AssetContentType"},"PublicApiUserUploadedAssetStatus":{"type":"string","enum":["awaiting_upload","processing","error","ready"],"title":"PublicApiUserUploadedAssetStatus"},"LanguageBCP47":{"type":"string","enum":["af","sq","am","ar","ar-DZ","ar-BH","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LY","ar-MA","ar-QA","ar-SA","ar-SY","ar-TN","ar-AE","ar-YE","hy","as","az","ba","eu","be","bn","bs","br","bg","my","ca","zh","zh-CN","zh-HK","zh-TW","hr","cs","da","nl","nl-BE","nl-NL","en","en-AU","en-CA","en-GB","en-HK","en-IN","en-IE","en-KE","en-MX","en-NZ","en-NG","en-PH","en-SG","en-ZA","en-TZ","en-US","et","fo","fil","fi","fr","fr-BE","fr-CA","fr-FR","fr-CH","gl","ka","de","de-AT","de-DE","de-CH","el","gu","ht","ha","haw","he","hi","hu","is","id","ga","it","ja","jw","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","ne","no","nb","nn","oc","or","pa","ps","fa","pl","pt","pt-BR","pt-PT","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-SV","es-GQ","es-GT","es-HN","es-LA","es-MX","es-NI","es-PA","es-PY","es-PE","es-PR","es-ES","es-US","es-UY","es-VE","su","sw","sv","tl","tg","ta","ta-IN","ta-SG","ta-LK","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo","zu","und"],"description":"A class for representing languages according to the BCP-47 standard.\nThe standard is followed very loosely, only primary language and region\nsub-tags are implemented right now.\n\nThe display names of the languages are derived from the enum names,\nwith the primary language name capitalized and the region name\ncapitalized and enclosed in parentheses if present. If you need to\ncustomize the display name for a specific language, you can override\nthe `override_display_name` method.\n\nhttps://www.w3.org/International/questions/qa-choosing-language-tags","title":"LanguageBCP47"},"GetPublicApiMediaAssetMetadataResponse":{"type":"object","properties":{"detectedLanguage":{"oneOf":[{"$ref":"#/components/schemas/LanguageBCP47"},{"type":"null"}],"default":null}},"title":"GetPublicApiMediaAssetMetadataResponse"},"PublicApiUserUploadedAssetErrorCodes":{"type":"string","enum":["asset_upload","language_detect","unknown"],"title":"PublicApiUserUploadedAssetErrorCodes"},"GetPublicApiUserUploadedAssetResponse":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string","description":"The title of the user uploaded asset."},"contentType":{"$ref":"#/components/schemas/AssetContentType","description":"The content type of the user uploaded asset."},"status":{"$ref":"#/components/schemas/PublicApiUserUploadedAssetStatus","description":"The status of the user uploaded asset."},"metadata":{"$ref":"#/components/schemas/GetPublicApiMediaAssetMetadataResponse","description":"A JSON with the metadata of the user uploaded asset."},"errorCode":{"oneOf":[{"$ref":"#/components/schemas/PublicApiUserUploadedAssetErrorCodes"},{"type":"null"}],"default":null,"description":"The code associated with the status. For example if error the reason behind it"}},"required":["id","title","contentType","status","metadata"],"title":"GetPublicApiUserUploadedAssetResponse"},"DubbingOutputLanguage":{"type":"string","enum":["af","sq","am","ar","ar-DZ","ar-BH","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LY","ar-MA","ar-QA","ar-SA","ar-SY","ar-TN","ar-AE","ar-YE","hy","as","az","eu","bn","bs","bg","ca","zh","zh-CN","zh-HK","zh-TW","hr","cs","da","nl","nl-BE","nl-NL","en","en-AU","en-CA","en-GB","en-HK","en-IN","en-IE","en-KE","en-MX","en-NZ","en-NG","en-PH","en-SG","en-ZA","en-TZ","en-US","et","fil","fi","fr","fr-BE","fr-CA","fr-FR","fr-CH","gl","ka","de","de-AT","de-DE","de-CH","el","gu","he","hi","hu","is","id","ga","it","ja","jw","kn","kk","km","ko","lo","lv","lt","mk","ms","ml","mt","mr","mn","ne","no","nb","nn","or","pa","ps","fa","pl","pt","pt-BR","pt-PT","ro","ru","sr","si","sk","sl","so","es","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-SV","es-GQ","es-GT","es-HN","es-LA","es-MX","es-NI","es-PA","es-PY","es-PE","es-PR","es-ES","es-US","es-UY","es-VE","su","sw","sv","ta","ta-IN","ta-SG","ta-LK","te","th","tr","uk","ur","uz","vi","cy","zu"],"title":"DubbingOutputLanguage"},"CreateDubbingProjectApiRequestFromSourceAssetIdVideoDuration":{"type":"string","enum":["adaptive","original"],"default":"adaptive","description":"The duration of the video to create.","title":"CreateDubbingProjectApiRequestFromSourceAssetIdVideoDuration"},"CreateDubbingProjectApiRequestFromSourceAssetIdVisibility":{"type":"string","enum":["private","public"],"default":"private","description":"The visibility of the dubbed video. With `public`, publishing is best-effort: if it fails, the dubbing project is still created and stays private.","title":"CreateDubbingProjectApiRequestFromSourceAssetIdVisibility"},"DubbingInputLanguage":{"type":"string","enum":["af","sq","am","ar","ar-DZ","ar-BH","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LY","ar-MA","ar-QA","ar-SA","ar-SY","ar-TN","ar-AE","ar-YE","hy","as","az","ba","eu","be","bn","bs","br","bg","my","ca","zh","zh-CN","zh-HK","zh-TW","hr","cs","da","nl","nl-BE","nl-NL","en","en-AU","en-CA","en-GB","en-HK","en-IN","en-IE","en-KE","en-MX","en-NZ","en-NG","en-PH","en-SG","en-ZA","en-TZ","en-US","et","fo","fi","fr","fr-BE","fr-CA","fr-FR","fr-CH","gl","ka","de","de-AT","de-DE","de-CH","el","gu","ht","ha","haw","he","hi","hu","is","id","it","ja","jw","kn","kk","km","ko","lo","la","lv","ln","lt","lb","mk","mg","ms","ml","mt","mi","mr","mn","ne","no","nb","nn","oc","pa","ps","fa","pl","pt","pt-BR","pt-PT","ro","ru","sa","sr","sn","sd","si","sk","sl","so","es","es-AR","es-BO","es-CL","es-CO","es-CR","es-CU","es-DO","es-EC","es-SV","es-GQ","es-GT","es-HN","es-LA","es-MX","es-NI","es-PA","es-PY","es-PE","es-PR","es-ES","es-US","es-UY","es-VE","su","sw","sv","tl","tg","ta","ta-IN","ta-SG","ta-LK","tt","te","th","bo","tr","tk","uk","ur","uz","vi","cy","yi","yo"],"title":"DubbingInputLanguage"},"CreateDubbingProjectApiRequestFromSourceAssetId":{"type":"object","properties":{"title":{"type":"string","maxLength":256,"description":"The title of the dubbed video to create."},"targetLanguages":{"type":"array","items":{"$ref":"#/components/schemas/DubbingOutputLanguage"},"description":"The languages to dub the source media asset to."},"lipsyncEnabled":{"type":"boolean","default":false,"description":"Whether to enable lipsync for the dubbed video."},"burnedInCaptionsEnabled":{"type":"boolean","default":false,"description":"Whether to burn captions into the dubbed video. Applies to every dubbed video created by this request. The `captions.srt` and `captions.vtt` files are still returned either way."},"videoDuration":{"$ref":"#/components/schemas/CreateDubbingProjectApiRequestFromSourceAssetIdVideoDuration","default":"adaptive","description":"The duration of the video to create."},"visibility":{"$ref":"#/components/schemas/CreateDubbingProjectApiRequestFromSourceAssetIdVisibility","default":"private","description":"The visibility of the dubbed video. With `public`, publishing is best-effort: if it fails, the dubbing project is still created and stays private."},"sourceAssetId":{"type":"string","description":"**Deprecated.** Use [`POST /api/localizations/from-media-asset`](https://developers.synthesia.io/docs/api-reference/localization/create-localization-from-media-asset) instead, with this ID prefixed `asset_`. The ID of the source media asset to create the dubbed video from.","deprecated":true},"sourceLanguage":{"$ref":"#/components/schemas/DubbingInputLanguage","description":"The language of the source media asset."}},"required":["title","targetLanguages","sourceAssetId","sourceLanguage"],"title":"CreateDubbingProjectApiRequestFromSourceAssetId"},"V2DubbingPostRequestBodyContentApplicationJsonSchemaOneOf1VideoDuration":{"type":"string","enum":["adaptive","original"],"default":"adaptive","description":"The duration of the video to create.","title":"V2DubbingPostRequestBodyContentApplicationJsonSchemaOneOf1VideoDuration"},"V2DubbingPostRequestBodyContentApplicationJsonSchemaOneOf1Visibility":{"type":"string","enum":["private","public"],"default":"private","description":"The visibility of the dubbed video.","title":"V2DubbingPostRequestBodyContentApplicationJsonSchemaOneOf1Visibility"},"DubbingCreateADubbingProjectFromAnUploadedVideoAssetRequest1":{"type":"object","properties":{"title":{"type":"string","maxLength":256,"description":"The title of the dubbed video to create."},"targetLanguages":{"type":"array","items":{"$ref":"#/components/schemas/DubbingOutputLanguage"},"description":"The languages to dub the source media asset to."},"lipsyncEnabled":{"type":"boolean","default":false,"description":"Whether to enable lipsync for the dubbed video."},"burnedInCaptionsEnabled":{"type":"boolean","default":false,"description":"Whether to burn captions into the dubbed video. Applies to every dubbed video created by this request. The `captions.srt` and `captions.vtt` files are still returned either way."},"videoDuration":{"$ref":"#/components/schemas/V2DubbingPostRequestBodyContentApplicationJsonSchemaOneOf1VideoDuration","default":"adaptive","description":"The duration of the video to create."},"visibility":{"$ref":"#/components/schemas/V2DubbingPostRequestBodyContentApplicationJsonSchemaOneOf1Visibility","default":"private","description":"The visibility of the dubbed video."},"sourceVideoUrl":{"type":"string","format":"uri","minLength":1,"maxLength":2083,"description":"**Deprecated.** Use [`POST /api/localizations/from-media-url`](https://developers.synthesia.io/docs/api-reference/localization/create-localization-from-media-url) instead. The public URL where the video to dub is available. At the moment only supporting s3 signed urls.","deprecated":true},"sourceLanguage":{"oneOf":[{"$ref":"#/components/schemas/DubbingInputLanguage"},{"type":"null"}],"default":null,"description":"The language of the source media asset. If not specified, the language will be detected automatically."}},"required":["title","targetLanguages","sourceVideoUrl"],"description":"**Deprecated.** Use [`POST /api/localizations/from-media-url`](https://developers.synthesia.io/docs/api-reference/localization/create-localization-from-media-url) instead. The new API lip-syncs by default (`lipsyncEnabled: true`); set it to `false` to keep this endpoint's behaviour. Lip-sync needs a plan that includes it. Create a dubbing project directly from a video URL. Only S3 signed URLs are supported (using other URLs will return a 501 error).","title":"DubbingCreateADubbingProjectFromAnUploadedVideoAssetRequest1"},"Dubbing_createADubbingProjectFromAnUploadedVideoAsset_Request":{"oneOf":[{"$ref":"#/components/schemas/CreateDubbingProjectApiRequestFromSourceAssetId"},{"$ref":"#/components/schemas/DubbingCreateADubbingProjectFromAnUploadedVideoAssetRequest1"}],"title":"Dubbing_createADubbingProjectFromAnUploadedVideoAsset_Request"},"_ImportedAssetId":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"],"title":"_ImportedAssetId"},"CreateDubbingProjectApiResponseSuccess":{"type":"object","properties":{"createdImportedAsset":{"$ref":"#/components/schemas/_ImportedAssetId"}},"required":["createdImportedAsset"],"title":"CreateDubbingProjectApiResponseSuccess"},"DubbedVideosApiError":{"type":"object","properties":{"error":{"type":["string","null"],"default":null,"description":"The error type."},"language":{"type":["string","null"],"default":null,"description":"The language of the error."}},"title":"DubbedVideosApiError"},"CreateDubbingProjectApiResponseFail":{"type":"object","properties":{"dubbedErrors":{"type":"array","items":{"$ref":"#/components/schemas/DubbedVideosApiError"},"description":"Errors related to the creation of the dubbed videos."}},"title":"CreateDubbingProjectApiResponseFail"},"CreateADubbingProjectFromAnUploadedVideoAssetRequestBadRequestError1":{"type":"object","properties":{"context":{"type":"string"},"error":{"type":"string"}},"title":"CreateADubbingProjectFromAnUploadedVideoAssetRequestBadRequestError1"},"CreateADubbingProjectFromAnUploadedVideoAssetRequestBadRequestError":{"oneOf":[{"$ref":"#/components/schemas/CreateDubbingProjectApiResponseFail"},{"$ref":"#/components/schemas/CreateADubbingProjectFromAnUploadedVideoAssetRequestBadRequestError1"}],"title":"CreateADubbingProjectFromAnUploadedVideoAssetRequestBadRequestError"},"CreateADubbingProjectFromAnUploadedVideoAssetRequestNotImplementedError":{"type":"object","properties":{"error":{"type":"string"}},"title":"CreateADubbingProjectFromAnUploadedVideoAssetRequestNotImplementedError"},"GetDubbingProjectVideosResponseUploadingStatus":{"type":"string","enum":["uploading"],"default":"uploading","description":"The status of the dubbed video.","title":"GetDubbingProjectVideosResponseUploadingStatus"},"GetDubbingProjectVideosResponseUploading":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/GetDubbingProjectVideosResponseUploadingStatus","default":"uploading","description":"The status of the dubbed video."}},"required":["id"],"description":"Response when dubbing project is still uploading from sourceVideoUrl.","title":"GetDubbingProjectVideosResponseUploading"},"GetDubbingProjectVideosResponseInProgressStatus":{"type":"string","enum":["in_progress"],"default":"in_progress","description":"The status of the dubbed video.","title":"GetDubbingProjectVideosResponseInProgressStatus"},"DubbedAssetInProgressStatus":{"type":"string","enum":["in_progress"],"default":"in_progress","description":"The status of the dubbed video.","title":"DubbedAssetInProgressStatus"},"_DubbedAssetInProgress":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"language":{"$ref":"#/components/schemas/DubbingOutputLanguage","description":"The language of the dubbed video."},"status":{"$ref":"#/components/schemas/DubbedAssetInProgressStatus","default":"in_progress","description":"The status of the dubbed video."}},"required":["id","language"],"description":"Dubbed asset in progress - minimal data.","title":"_DubbedAssetInProgress"},"DubbedAssetCompleteStatus":{"type":"string","enum":["complete"],"default":"complete","description":"The status of the dubbed video.","title":"DubbedAssetCompleteStatus"},"DubbedAssetCompleteVisibility":{"type":"string","enum":["public","private"],"description":"Describes the visibility settings of the video.","title":"DubbedAssetCompleteVisibility"},"_DubbedAssetThumbnail":{"type":"object","properties":{"image":{"type":["string","null"],"default":null,"description":"A time-limited URL which may be used to download the video thumbnail."},"gif":{"type":["string","null"],"default":null,"description":"A time-limited URL which may be used to download the video animated GIF thumbnail."}},"title":"_DubbedAssetThumbnail"},"_DubbedAssetCaptions":{"type":"object","properties":{"srt":{"type":["string","null"],"default":null,"description":"A time-limited URL which may be used to download the video captions in srt format."},"vtt":{"type":["string","null"],"default":null,"description":"A time-limited URL which may be used to download the video captions in vtt format."}},"title":"_DubbedAssetCaptions"},"_DubbedAssetComplete":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string","description":"Title of the video (used on the video's share page)."},"description":{"type":"string","description":"Description of the video (used on the video's share page)."},"language":{"$ref":"#/components/schemas/DubbingOutputLanguage","description":"The language of the dubbed video."},"status":{"$ref":"#/components/schemas/DubbedAssetCompleteStatus","default":"complete","description":"The status of the dubbed video."},"createdAt":{"type":["integer","null"],"default":null,"description":"UNIX timestamp representing the time video was created."},"lastUpdatedAt":{"type":["integer","null"],"default":null,"description":"UNIX timestamp representing the time video was last updated."},"visibility":{"$ref":"#/components/schemas/DubbedAssetCompleteVisibility","description":"Describes the visibility settings of the video."},"download":{"type":"string","description":"A time-limited URL which may be used to download the video."},"thumbnail":{"$ref":"#/components/schemas/_DubbedAssetThumbnail","description":"A JSON object with time-limited download URLs for the video thumbnail and animated GIF thumbnail."},"captions":{"$ref":"#/components/schemas/_DubbedAssetCaptions","description":"A JSON object with time-limited download URLs for the video captions in vtt and srt formats."}},"required":["id","title","description","language","visibility","download","thumbnail","captions"],"description":"Dubbed asset complete - full data.","title":"_DubbedAssetComplete"},"DubbedAssetErrorStatus":{"type":"string","enum":["error"],"default":"error","description":"The status of the dubbed video.","title":"DubbedAssetErrorStatus"},"PublicApiImportedAndDubbedVideosErrorCode":{"type":"string","enum":["moderation","video_duration_limit_reached","invalid_target_language","processing_error"],"title":"PublicApiImportedAndDubbedVideosErrorCode"},"_DubbedAssetError":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"language":{"$ref":"#/components/schemas/DubbingOutputLanguage","description":"The language of the dubbed video."},"status":{"$ref":"#/components/schemas/DubbedAssetErrorStatus","default":"error","description":"The status of the dubbed video."},"errorCode":{"$ref":"#/components/schemas/PublicApiImportedAndDubbedVideosErrorCode","description":"Some context in case of dubbed video error."}},"required":["id","language","errorCode"],"description":"Dubbed asset error - minimal data + error code.","title":"_DubbedAssetError"},"GetDubbingProjectVideosResponseInProgressDubbedAssetsItems":{"oneOf":[{"$ref":"#/components/schemas/_DubbedAssetInProgress"},{"$ref":"#/components/schemas/_DubbedAssetComplete"},{"$ref":"#/components/schemas/_DubbedAssetError"}],"title":"GetDubbingProjectVideosResponseInProgressDubbedAssetsItems"},"GetDubbingProjectVideosResponseInProgress":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/GetDubbingProjectVideosResponseInProgressStatus","default":"in_progress","description":"The status of the dubbed video."},"dubbedAssets":{"type":"array","items":{"$ref":"#/components/schemas/GetDubbingProjectVideosResponseInProgressDubbedAssetsItems"},"description":"The dubbed videos in the project."}},"required":["id"],"description":"Response when dubbing project is in progress.","title":"GetDubbingProjectVideosResponseInProgress"},"GetDubbingProjectVideosResponseCompleteStatus":{"type":"string","enum":["complete"],"default":"complete","description":"The status of the dubbed video.","title":"GetDubbingProjectVideosResponseCompleteStatus"},"GetDubbingProjectVideosResponseCompleteDubbedAssetsItems":{"oneOf":[{"$ref":"#/components/schemas/_DubbedAssetInProgress"},{"$ref":"#/components/schemas/_DubbedAssetComplete"},{"$ref":"#/components/schemas/_DubbedAssetError"}],"title":"GetDubbingProjectVideosResponseCompleteDubbedAssetsItems"},"GetDubbingProjectVideosResponseComplete":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/GetDubbingProjectVideosResponseCompleteStatus","default":"complete","description":"The status of the dubbed video."},"dubbedAssets":{"type":"array","items":{"$ref":"#/components/schemas/GetDubbingProjectVideosResponseCompleteDubbedAssetsItems"},"description":"The dubbed videos in the project."}},"required":["id"],"description":"Response when dubbing project is complete.","title":"GetDubbingProjectVideosResponseComplete"},"GetDubbingProjectVideosResponseErrorStatus":{"type":"string","enum":["error"],"default":"error","description":"The status of the dubbed video.","title":"GetDubbingProjectVideosResponseErrorStatus"},"GetDubbingProjectVideosResponseError":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/GetDubbingProjectVideosResponseErrorStatus","default":"error","description":"The status of the dubbed video."},"errorCode":{"$ref":"#/components/schemas/PublicApiImportedAndDubbedVideosErrorCode","description":"Some context in case of dubbed video error."}},"required":["id","errorCode"],"description":"Response when dubbing project encountered an error.","title":"GetDubbingProjectVideosResponseError"},"Dubbing_getDubbingProjectStatusAndVideos_Response_200":{"oneOf":[{"$ref":"#/components/schemas/GetDubbingProjectVideosResponseUploading"},{"$ref":"#/components/schemas/GetDubbingProjectVideosResponseInProgress"},{"$ref":"#/components/schemas/GetDubbingProjectVideosResponseComplete"},{"$ref":"#/components/schemas/GetDubbingProjectVideosResponseError"}],"title":"Dubbing_getDubbingProjectStatusAndVideos_Response_200"},"AddLocalesToDubbingProjectRequestVideoDuration":{"type":"string","enum":["adaptive","original"],"default":"adaptive","description":"The duration of the video to create.","title":"AddLocalesToDubbingProjectRequestVideoDuration"},"AddLocalesToDubbingProjectRequestVisibility":{"type":"string","enum":["private","public"],"default":"private","description":"The visibility of the dubbed video.","title":"AddLocalesToDubbingProjectRequestVisibility"},"AddLocalesToDubbingProjectRequest":{"type":"object","properties":{"targetLanguages":{"type":"array","items":{"$ref":"#/components/schemas/DubbingOutputLanguage"},"description":"The languages to dub the source media asset to."},"lipsyncEnabled":{"type":"boolean","default":false,"description":"Whether to enable lipsync for the dubbed video."},"burnedInCaptionsEnabled":{"type":"boolean","default":false,"description":"Whether to burn captions into the dubbed video. Applies only to the locales added by this request; existing dubbed videos keep their setting. The `captions.srt` and `captions.vtt` files are still returned either way."},"videoDuration":{"$ref":"#/components/schemas/AddLocalesToDubbingProjectRequestVideoDuration","default":"adaptive","description":"The duration of the video to create."},"visibility":{"$ref":"#/components/schemas/AddLocalesToDubbingProjectRequestVisibility","default":"private","description":"The visibility of the dubbed video."}},"required":["targetLanguages"],"title":"AddLocalesToDubbingProjectRequest"},"AddLocalesToDubbingProjectResponseCreatedDubbedAssetsItems":{"oneOf":[{"$ref":"#/components/schemas/_DubbedAssetInProgress"},{"$ref":"#/components/schemas/_DubbedAssetComplete"},{"$ref":"#/components/schemas/_DubbedAssetError"}],"title":"AddLocalesToDubbingProjectResponseCreatedDubbedAssetsItems"},"AddLocalesToDubbingProjectResponse":{"type":"object","properties":{"dubbedErrors":{"type":"array","items":{"$ref":"#/components/schemas/DubbedVideosApiError"}},"createdDubbedAssets":{"type":"array","items":{"$ref":"#/components/schemas/AddLocalesToDubbingProjectResponseCreatedDubbedAssetsItems"}}},"required":["createdDubbedAssets"],"title":"AddLocalesToDubbingProjectResponse"}},"securitySchemes":{"api_key":{"type":"apiKey","in":"header","name":"Authorization"}}}}