HiveMP Scheduling Quickstart

How did we do?

You can use HiveMP Scheduling to easily schedule operations to occur at a later date. This quickstart will guide you through scheduling your first callback.

Before you begin

Before you are able to schedule callbacks, you'll need to meet the domain verification requirements as outlined in Domain Verification. Once you have a verified domain you can use that operates a web server listening on HTTPS, you can continue with the rest of this guide.

Schedule the callback

You can now schedule the callback with HiveMP Scheduling. Make a request to the PUT /schedule endpoint with the required information:

curl -s \
  -H "X-API-Key: $apiKey" \
  -H "Accept: application/json" \
  -H "Content-Length: 0" \
  -X PUT \
  "https://scheduling-api.hivemp.com/v1/schedule"\
"?scheduleUtc=TARGET_UNIX_UTC_TIMESTAMP"\
"&callbackUrl=https%3A%2F%2Freplacewithyourdomain.com%2Fpath%3Fquery%3Dstring"

After executing this method, you'll receive a copy of the scheduled callback information:

{
  "callbackUrl": "https://replacewithyourdomain.com/path?query=string",
  "scheduleUtc": "TARGET_UNIX_UTC_TIMESTAMP"
}

Wait to receive the request

Once the callback is registered, you'll need to wait until the time you specified in the callback registration before you'll see the HTTPS request from HiveMP to the endpoint you specified.