Skip to main content

Subtitles Webhooks

video.subtitle.autogenerated.created

  • Event for when a video subtitle has been autogenerated and created.
  • Event payload:
{
"eventTime": "2024-12-17T15:05:19.604953Z",
"eventType": "video.subtitle.autogenerated.created",
"data": {
"VideoId": "{VideoId}",
"LanguageName": "{LanguageName}",
"Status": "Pending",
"StatusId": 1
},
"projectId": "{projectId}"
}

video.subtitle.processing.started

  • Event for when a video subtitle has been autogenerated and has started processing.
  • Event payload:
{
"eventTime": "2024-12-17T15:05:19.604953Z",
"eventType": "video.subtitle.processing.started",
"data": {
"VideoId": "{VideoId}",
"LanguageName": "{LanguageName}",
"Status": "Processing",
"StatusId": 2
},
"projectId": "{projectId}"
}

video.subtitle.autogenerated.completed

  • Event for when a video subtitle has been autogenerated and completed.
  • Event payload:
{
"eventTime": "2024-12-17T15:23:50.1613257Z",
"eventType": "video.subtitle.autogenerated.completed",
"data": {
"Id": 1,
"VideoId": "{VideoId}",
"LanguageId": 1,
"LanguageName": "{LanguageName}",
"LanguageCode": "{LanguageCode}",
"FilePath": "{FilePath}",
"Extension": ".vtt",
"Active": false,
"IsAutoGenerated": true,
"Status": "Ready",
"StatusId": 3
},
"projectId": "{projectId}"
}

video.subtitle.autogenerated.failed

  • Event for when a video subtitle has failed to be autogenerated.
  • Event payload:
{
"eventTime": "2024-12-17T15:05:19.604953Z",
"eventType": "video.subtitle.autogenerated.failed",
"data": {
"VideoId": "{VideoId}",
"LanguageName": "{LanguageName}",
"Status": "Failed",
"StatusId": 4
},
"projectId": "{projectId}"
}

video.subtitle.uploaded

  • Event for when a video subtitle has been uploaded.
  • Event payload:
{
"eventTime": "2024-12-17T15:04:36.9744694Z",
"eventType": "video.subtitle.uploaded",
"data": {
"Id": 1,
"VideoId": "{VideoId}",
"LanguageId": 1,
"LanguageName": "{LanguageName}",
"LanguageCode": "{LanguageCode}",
"FilePath": "{FilePath}",
"Extension": ".vtt",
"Active": false,
"IsAutoGenerated": false,
"Status": "Ready",
"StatusId": 3
},
"projectId": "{projectId}"
}

video.subtitle.deleted

  • Event for when a video subtitle has been deleted.
  • Event payload:
{
"eventTime": "2024-12-17T14:53:39.7662107Z",
"eventType": "video.subtitle.deleted",
"data": {
"VideoId": "{VideoId}",
"LanguageName": "{LanguageName}"
},
"projectId": "{projectId}"
}

video.subtitle.state.changed

  • Event for when a video subtitle's state has changed.
  • Event payload:
{
"eventTime": "2024-12-17T15:00:04.1876923Z",
"eventType": "video.subtitle.state.changed",
"data": {
"VideoId": "{VideoId}",
"LanguageName": "{LanguageName}",
"Active": false
},
"projectId": "{projectId}"
}