Ping a heartbeat by slug, creating it on first ping
GET /hb/auto/{slug}
The one-line provisioning path. If no heartbeat with this slug
exists it is created (respecting plan limits, bound to the
account’s default escalation policy) and the ping is recorded; if
it exists, the ping is recorded. interval, grace, name, and
region apply only at creation, so configuration cannot drift ping
by ping.
curl -fsS -H "X-API-Key: $ALERTKICK_API_KEY" \
"https://acme.alertkick.com/api/v1/hb/auto/nightly-backup?interval=86400&grace=3600"
For long-lived jobs, prefer fetching the heartbeat’s scoped
api_key afterwards and pinging /hb/ping/{uuid} with it, so the
account key does not live in the crontab.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Example
nightly-backupQuery Parameters
Section titled “Query Parameters ”Expected seconds between pings (creation only).
Grace period in seconds (creation only).
Display name (creation only; defaults to the slug).
Responses
Section titled “ Responses ”Ping recorded against an existing heartbeat.
object
Example
pongExample
okExample
d1nq8sg44a5g5h3k2b7gExample
nightly-backupTrue when this request created the heartbeat.
Heartbeat created and first ping recorded.
object
Example
pongExample
okExample
d1nq8sg44a5g5h3k2b7gExample
nightly-backupTrue when this request created the heartbeat.
Missing or invalid API key.
object
Plan limit reached — upgrade to add more.