POST Webhook robots.v1.job.generate_premium_captions.pending
Payload
Example payload
{
"created_at": "2022-01-01T00:00:00.000000Z",
"attempts": [
{
"created_at": "2022-01-01T00:00:00.000000Z"
}
],
"data": {
"parameters": {
"asset_id": "mux_asset_123abc",
"language_code": "en",
"replace_existing_tracks": "fail",
"include_speakers": false,
"include_words": false,
"upload_to_mux": true,
"phrases": [
"Mux",
"API"
]
},
"resources": {
"assets": [
{
"id": "abc123asset",
"meta": {
"title": "My Video",
"creator_id": "user123",
"external_id": "ext456"
},
"_links": {
"self": {
"href": "/video/v1/assets/abc123asset"
}
}
}
]
},
"outputs": {
"track_id": "enabc123def456",
"language_code": "en",
"detected_language_code": "en",
"auto_language_confidence": 1,
"temporary_srt_url": "https://storage.example.com/captions/en/abc123.srt?token=abc"
}
}
}Response
Return a 200 to indicate that the data was received successfully
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.