v31

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-28124212862.9 KB

postWebhookrobots.job.edit_captions.errored

Payload

type'robots.job.edit_captions.errored' required

Type for the webhook event

idstring required

Unique identifier for the event

created_atstring date-time required

Time the event was created

request_idstring nullable
accessorstring nullable
accessor_sourcestring nullable

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",
      "track_id": "text_track_456def",
      "replacements": [
        {
          "find": "Mucks",
          "replace": "Mux",
          "case_sensitive": true
        },
        {
          "find": "gonna",
          "replace": "going to"
        }
      ],
      "upload_to_mux": true,
      "delete_original_track": true
    },
    "outputs": {
      "total_replacement_count": 5,
      "uploaded_track_id": "text_track_789ghi",
      "temporary_vtt_url": "https://s3.example.com/edited.vtt?sig=abc"
    },
    "resources": {
      "assets": [
        {
          "id": "abc123asset",
          "meta": {
            "title": "My Video",
            "creator_id": "user123",
            "external_id": "ext456"
          },
          "_links": {
            "self": {
              "href": "https://api.mux.com/video/v1/assets/abc123asset"
            }
          }
        }
      ]
    }
  }
}

Response

Return a 200 to indicate that the data was received successfully