POST Webhook robots.v1.job.edit_captions.cancelled

Payload

type'robots.v1.job.edit_captions.cancelled' required

Type for the webhook event

idstring required

Unique identifier for the event

created_atstring date-time required

Time the event was created

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"
        }
      ],
      "speaker_replacements": [
        {
          "find": "speaker_0",
          "replace": "Alice"
        }
      ],
      "upload_to_mux": true,
      "replace_existing_tracks": "replace"
    },
    "resources": {
      "assets": [
        {
          "id": "abc123asset",
          "meta": {
            "title": "My Video",
            "creator_id": "user123",
            "external_id": "ext456"
          },
          "_links": {
            "self": {
              "href": "/video/v1/assets/abc123asset"
            }
          }
        }
      ]
    },
    "outputs": {
      "total_replacement_count": 5,
      "track_id": "text_track_789ghi",
      "temporary_vtt_url": "https://s3.example.com/edited.vtt?sig=abc",
      "replaced_track_ids": [
        "text_track_456def"
      ]
    }
  }
}

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.