Introduction

Our Customers can request to receive a Webhook from us when certain actions are completed within their Workflow. For example, if you are an automation system, you can request our Customer to Setup a Webhook to your application when a log is ready to be exported from Radio Workflow to your system.

662

The Webhook Payload

Radio Workflow will make a POST request to the predefined URL with the Payload included in the BODY of the the request.

{
  "date": 1601654025,
  "object": "log",
  "type": "log.export",
  "logContent": [
    {
      "time": "06:20:30",
      "cart": "3015",
      "client": "RTO+P",
      "spotType": "ROS - 14-26 Weeks (Single)",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 10:00:00 AM",
      "spotTitle": "dw",
      "bankId": 128717,
      "media": []
    },
    {
      "time": "08:35:30",
      "cart": "4172",
      "client": "Fins Bar & Grille",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 10:00:00 AM",
      "spotTitle": "Fins Summer",
      "bankId": 131717,
      "media": {
        "mediaId": 35072,
        "intro": 0,
        "eom": 0,
        "length": 30.458,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/4ac1a75d322f44d9b1ed53e315e45138.wav"
        }
      }
    },
    {
      "time": "08:36:00",
      "cart": "3007",
      "client": "Sturdy Savings Bank",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 10:00:00 AM",
      "spotTitle": "Sturdy Sports",
      "bankId": 139811,
      "media": {
        "mediaId": 37589,
        "intro": 0,
        "eom": 0,
        "length": 60.06,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/5e409df577a6e15749d4ac8c7799abeb.wav"
        }
      }
    },
    {
      "time": "08:36:30",
      "cart": "3010",
      "client": "East Coast Roofing, Siding & Windows",
      "spotType": "Spot",
      "length": 60,
      "orderedDayPart": "6:00:00 AM - 10:00:00 AM",
      "spotTitle": "East Coast 60 for News",
      "bankId": 132960,
      "media": []
    },
    {
      "time": "08:38:30",
      "cart": "3003",
      "client": "Cape May County Dept of Tourism",
      "spotType": "Local News",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 10:00:00 AM",
      "spotTitle": "CMC Tourism 4H",
      "bankId": 135062,
      "media": {
        "mediaId": 36065,
        "intro": 0,
        "eom": 0,
        "length": 37.877,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/32ad4a2d28ee31ca8fc6cdbaef00e07e.wav"
        }
      }
    },
    {
      "time": "08:55:00",
      "cart": "3015",
      "client": "RTO+P",
      "spotType": "ROS - 14-26 Weeks (Single)",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 10:00:00 AM",
      "spotTitle": "dw",
      "bankId": 128717,
      "media": []
    },
    {
      "time": "12:35:00",
      "cart": "3007",
      "client": "Sturdy Savings Bank",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "10:00:00 AM - 3:00:00 PM",
      "spotTitle": "Sturdy Sports",
      "bankId": 139811,
      "media": {
        "mediaId": 37589,
        "intro": 0,
        "eom": 0,
        "length": 60.06,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/5e409df577a6e15749d4ac8c7799abeb.wav"
        }
      }
    },
    {
      "time": "12:57:00",
      "cart": "8507",
      "client": "Marketsmith",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 7:00:00 PM",
      "spotTitle": "Hit Family 30 second",
      "bankId": 140475,
      "media": {
        "mediaId": 37826,
        "intro": 0,
        "eom": 0,
        "length": 30.03,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/ae70cabf64c9db8bd3b980960b513cd6.wav"
        }
      }
    },
    {
      "time": "13:20:30",
      "cart": "4172",
      "client": "Fins Bar & Grille",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "10:00:00 AM - 3:00:00 PM",
      "spotTitle": "Fins Summer",
      "bankId": 131717,
      "media": {
        "mediaId": 35072,
        "intro": 0,
        "eom": 0,
        "length": 30.458,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/4ac1a75d322f44d9b1ed53e315e45138.wav"
        }
      }
    },
    {
      "time": "13:21:30",
      "cart": "3007",
      "client": "Sturdy Savings Bank",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "10:00:00 AM - 3:00:00 PM",
      "spotTitle": "Sturdy Sports",
      "bankId": 139811,
      "media": {
        "mediaId": 37589,
        "intro": 0,
        "eom": 0,
        "length": 60.06,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/5e409df577a6e15749d4ac8c7799abeb.wav"
        }
      }
    },
    {
      "time": "13:22:00",
      "cart": "3010",
      "client": "East Coast Roofing, Siding & Windows",
      "spotType": "Spot",
      "length": 60,
      "orderedDayPart": "10:00:00 AM - 3:00:00 PM",
      "spotTitle": "East Coast 60 for News",
      "bankId": 132960,
      "media": []
    },
    {
      "time": "13:23:00",
      "cart": "4056",
      "client": "Seaside Cheese CO",
      "spotType": "Accuweather",
      "length": 30,
      "orderedDayPart": "10:00:00 AM - 3:00:00 PM",
      "spotTitle": "APRIL",
      "bankId": 123928,
      "media": {
        "mediaId": 32855,
        "intro": 0,
        "eom": 0,
        "length": 36.937,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/1b4a0afeb4a6348523539f004d29473b.wav"
        }
      }
    },
    {
      "time": "13:35:00",
      "cart": "3003",
      "client": "Cape May County Dept of Tourism",
      "spotType": "Local News",
      "length": 30,
      "orderedDayPart": "10:00:00 AM - 3:00:00 PM",
      "spotTitle": "CMC Tourism 4H",
      "bankId": 135062,
      "media": {
        "mediaId": 36065,
        "intro": 0,
        "eom": 0,
        "length": 37.877,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/32ad4a2d28ee31ca8fc6cdbaef00e07e.wav"
        }
      }
    },
    {
      "time": "13:36:45",
      "cart": "3015",
      "client": "RTO+P",
      "spotType": "ROS - 14-26 Weeks (Single)",
      "length": 30,
      "orderedDayPart": "10:00:00 AM - 3:00:00 PM",
      "spotTitle": "dw",
      "bankId": 128717,
      "media": []
    },
    {
      "time": "14:37:15",
      "cart": "8508",
      "client": "Marketsmith",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 7:00:00 PM",
      "spotTitle": "WIL-RM-182",
      "bankId": 144272,
      "media": []
    },
    {
      "time": "14:57:00",
      "cart": "3015",
      "client": "RTO+P",
      "spotType": "ROS - 14-26 Weeks (Single)",
      "length": 30,
      "orderedDayPart": "10:00:00 AM - 3:00:00 PM",
      "spotTitle": "dw",
      "bankId": 128717,
      "media": []
    },
    {
      "time": "15:20:00",
      "cart": "8370",
      "client": "Douglass Fudge",
      "spotType": "Spot",
      "length": 60,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "Douglass Fudge 2019 summer",
      "bankId": 125274,
      "media": {
        "mediaId": 33864,
        "intro": 0,
        "eom": 0,
        "length": 63.66,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/8223684bbe94ebe733476051b63d2a47.wav"
        }
      }
    },
    {
      "time": "15:37:15",
      "cart": "8507",
      "client": "Marketsmith",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 7:00:00 PM",
      "spotTitle": "Hit Family 30 second",
      "bankId": 140475,
      "media": {
        "mediaId": 37826,
        "intro": 0,
        "eom": 0,
        "length": 30.03,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/ae70cabf64c9db8bd3b980960b513cd6.wav"
        }
      }
    },
    {
      "time": "15:55:00",
      "cart": "8370",
      "client": "Douglass Fudge",
      "spotType": "Spot",
      "length": 60,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "Douglass Fudge 2019 summer",
      "bankId": 125274,
      "media": {
        "mediaId": 33864,
        "intro": 0,
        "eom": 0,
        "length": 63.66,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/8223684bbe94ebe733476051b63d2a47.wav"
        }
      }
    },
    {
      "time": "15:58:00",
      "cart": "8138",
      "client": "Duffinettis",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "12:00:00 AM - 11:59:59 PM",
      "spotTitle": "Duffinettis News Tag",
      "bankId": 129780,
      "media": {
        "mediaId": 34631,
        "intro": 0,
        "eom": 0,
        "length": 8.855,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/e1027ffc9f35960500e58834d6c1c354.wav"
        }
      }
    },
    {
      "time": "16:22:00",
      "cart": "8103",
      "client": "Adams Restaurant and Catering",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "12:00:00 AM - 11:59:59 PM",
      "spotTitle": "ADAMS SUMMER",
      "bankId": 134715,
      "media": []
    },
    {
      "time": "16:37:00",
      "cart": "3007",
      "client": "Sturdy Savings Bank",
      "spotType": "Local News",
      "length": 30,
      "orderedDayPart": "12:00:00 AM - 11:59:59 PM",
      "spotTitle": "Sturdy Sports",
      "bankId": 139811,
      "media": {
        "mediaId": 37589,
        "intro": 0,
        "eom": 0,
        "length": 60.06,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/5e409df577a6e15749d4ac8c7799abeb.wav"
        }
      }
    },
    {
      "time": "16:37:30",
      "cart": "3015",
      "client": "RTO+P",
      "spotType": "ROS - 14-26 Weeks (Single)",
      "length": 30,
      "orderedDayPart": "3:00:00 PM - 7:00:00 PM",
      "spotTitle": "dw",
      "bankId": 128717,
      "media": []
    },
    {
      "time": "17:21:30",
      "cart": "8145",
      "client": "Olivieri Chiropractic",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "olivieri year round",
      "bankId": 82172,
      "media": []
    },
    {
      "time": "17:35:00",
      "cart": "6960",
      "client": "Drake Pest Control",
      "spotType": "Local Sports",
      "length": 15,
      "orderedDayPart": "3:00:00 PM - 7:00:00 PM",
      "spotTitle": "WIL-RM-237",
      "bankId": 151700,
      "media": []
    },
    {
      "time": "17:35:45",
      "cart": "4172",
      "client": "Fins Bar & Grille",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "3:00:00 PM - 7:00:00 PM",
      "spotTitle": "Fins Summer",
      "bankId": 131717,
      "media": {
        "mediaId": 35072,
        "intro": 0,
        "eom": 0,
        "length": 30.458,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/4ac1a75d322f44d9b1ed53e315e45138.wav"
        }
      }
    },
    {
      "time": "17:36:15",
      "cart": "3007",
      "client": "Sturdy Savings Bank",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "3:00:00 PM - 7:00:00 PM",
      "spotTitle": "Sturdy Sports",
      "bankId": 139811,
      "media": {
        "mediaId": 37589,
        "intro": 0,
        "eom": 0,
        "length": 60.06,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/5e409df577a6e15749d4ac8c7799abeb.wav"
        }
      }
    },
    {
      "time": "17:36:45",
      "cart": "3010",
      "client": "East Coast Roofing, Siding & Windows",
      "spotType": "Spot",
      "length": 60,
      "orderedDayPart": "3:00:00 PM - 7:00:00 PM",
      "spotTitle": "East Coast 60 for News",
      "bankId": 132960,
      "media": []
    },
    {
      "time": "17:37:45",
      "cart": "8370",
      "client": "Douglass Fudge",
      "spotType": "Spot",
      "length": 60,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "Douglass Fudge 2019 summer",
      "bankId": 125274,
      "media": {
        "mediaId": 33864,
        "intro": 0,
        "eom": 0,
        "length": 63.66,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/8223684bbe94ebe733476051b63d2a47.wav"
        }
      }
    },
    {
      "time": "17:56:00",
      "cart": "8144",
      "client": "Olivieri Chiropractic",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "olivieri year round",
      "bankId": 82172,
      "media": []
    },
    {
      "time": "18:20:00",
      "cart": "8370",
      "client": "Douglass Fudge",
      "spotType": "Spot",
      "length": 60,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "Douglass Fudge 2019 summer",
      "bankId": 125274,
      "media": {
        "mediaId": 33864,
        "intro": 0,
        "eom": 0,
        "length": 63.66,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/8223684bbe94ebe733476051b63d2a47.wav"
        }
      }
    },
    {
      "time": "18:22:30",
      "cart": "6959",
      "client": "Drake Pest Control",
      "spotType": "Local Sports",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "WIL-RM-238",
      "bankId": 151701,
      "media": []
    },
    {
      "time": "18:35:00",
      "cart": "8145",
      "client": "Olivieri Chiropractic",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "olivieri year round",
      "bankId": 82172,
      "media": []
    },
    {
      "time": "18:57:30",
      "cart": "6340",
      "client": "Beefy's ",
      "spotType": "Accuweather",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "CAP-KM-26",
      "bankId": 76543,
      "media": []
    },
    {
      "time": "19:20:00",
      "cart": "8370",
      "client": "Douglass Fudge",
      "spotType": "Spot",
      "length": 60,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "Douglass Fudge 2019 summer",
      "bankId": 125274,
      "media": {
        "mediaId": 33864,
        "intro": 0,
        "eom": 0,
        "length": 63.66,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/8223684bbe94ebe733476051b63d2a47.wav"
        }
      }
    },
    {
      "time": "19:22:30",
      "cart": "8144",
      "client": "Olivieri Chiropractic",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "6:00:00 AM - 11:59:00 PM",
      "spotTitle": "olivieri year round",
      "bankId": 82172,
      "media": []
    },
    {
      "time": "21:35:00",
      "cart": "4172",
      "client": "Fins Bar & Grille",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "7:00:00 PM - 11:59:59 PM",
      "spotTitle": "Fins Summer",
      "bankId": 131717,
      "media": {
        "mediaId": 35072,
        "intro": 0,
        "eom": 0,
        "length": 30.458,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/4ac1a75d322f44d9b1ed53e315e45138.wav"
        }
      }
    },
    {
      "time": "22:20:30",
      "cart": "4172",
      "client": "Fins Bar & Grille",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "7:00:00 PM - 11:59:59 PM",
      "spotTitle": "Fins Summer",
      "bankId": 131717,
      "media": {
        "mediaId": 35072,
        "intro": 0,
        "eom": 0,
        "length": 30.458,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/4ac1a75d322f44d9b1ed53e315e45138.wav"
        }
      }
    },
    {
      "time": "22:21:00",
      "cart": "3007",
      "client": "Sturdy Savings Bank",
      "spotType": "Spot",
      "length": 30,
      "orderedDayPart": "7:00:00 PM - 11:59:59 PM",
      "spotTitle": "Sturdy Sports",
      "bankId": 139811,
      "media": {
        "mediaId": 37589,
        "intro": 0,
        "eom": 0,
        "length": 60.06,
        "downloadLink": {
          "location": "https:\\/\\/www.radio-cdn.com\\/5e409df577a6e15749d4ac8c7799abeb.wav"
        }
      }
    },
    {
      "time": "22:21:30",
      "cart": "3010",
      "client": "East Coast Roofing, Siding & Windows",
      "spotType": "Spot",
      "length": 60,
      "orderedDayPart": "7:00:00 PM - 11:59:59 PM",
      "spotTitle": "East Coast 60 for News",
      "bankId": 132960,
      "media": []
    }
  ]
}

Responding to Webhooks

It is vital that you return an exact HTTP response code of 200; otherwise, Radio Workflow will consider the POST a failure and will retry the request. Another response code, such as 202, will be rejected.