New Scheduling API available in HiveMP

June Rhodes
Feb 1, 2018 · Unlisted

HiveMP now offers a REST-based scheduling API, which you can use to schedule callbacks to HTTPS endpoints at certain times.

Lightweight, reliable scheduling

When rolling out the new reservation-based ticketing system for JamHost, we needed an efficient and reliable way to automatically expire reservations after 15 minutes. To help us achieve this, we built a generic scheduling API that everyone can use into HiveMP.

It’s pretty simple to use; just call the /schedule endpoint with the full HTTPS URL and the UNIX timestamp (UTC) when you expect HiveMP to call it, and we’ll take care of the rest.

To prevent abuse, you first need to validate that the endpoint should receive callbacks from HiveMP.

Validating an endpoint

To prove that the endpoint should be called by HiveMP, you need to add a DNS TXT record with a list of valid paths that can be called by HiveMP. More details are here, but roughly if you wanted to have callbacks sent to, you’d need to create a DNS record like so, where the JSON value is the text value of the record.:

TXT    ["/callback"]


While the scheduling API is available in an Alpha launch status, pricing for the API is currently set at $0.0001/callback. If you utilise the scheduling API, you’ll see these billing items appear on your invoice.

We’ll be adding appropriate product pages to the main website for the scheduling API in the future.

If you have any feedback, suggestions or issues with the new scheduling API, please get in touch via our support channels.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store