Join the waitlist

Docs · Running PingDing

API and tokens

Manage checks from scripts with a team API token and the REST API.

Everything the dashboard does goes through a REST API, described by an OpenAPI document at https://api.pingding.dev/openapi.json.

Team API tokens

Admins and owners make tokens on the dashboard's Team → API tokens page. A token acts in its team with the role you choose (viewer, member or admin), can expire after 1 to 365 days, and is shown once. Send it as a bearer token:

curl -s https://api.pingding.dev/api/v1/checks \
  -H "Authorization: Bearer $PINGDING_API_TOKEN"
Role Can
Viewer Read checks, runs and channels. Not ping keys.
Member Also create and edit checks, change schedules, pause and resume, rotate ping keys.
Admin Also delete checks and manage channels.

Tokens can't manage members or other tokens: that needs a person.

Create a check

curl -s https://api.pingding.dev/api/v1/checks \
  -H "Authorization: Bearer $PINGDING_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"nightly backup",
       "schedule":{"kind":"cron","cron_expr":"0 3 * * *","timezone":"Europe/Berlin","grace_seconds":900},
       "tags":["backups"]}'

The answer includes the check's ping_key. Sending the same Idempotency-Key again within 24 hours returns the same check instead of making a second one.

A period schedule looks like {"kind":"period","period_seconds":3600,"grace_seconds":300}.

Common calls

Call Does
GET /api/v1/checks List checks, most severe first. Filter with status, tag and q.
GET /api/v1/checks/{id} One check, with its ping key.
PATCH /api/v1/checks/{id} Rename, reschedule or retag.
POST /api/v1/checks/{id}/pause Pause (and /resume).
GET /api/v1/checks/{id}/runs Run history, newest first.
POST /api/v1/checks/{id}/ping-key/rotate New ping key; the old one stops at once.

Limits

Each token may make 120 calls a minute. Over that, the API answers 429 with Retry-After.

$ waiting for first ping

Be first to know when we launch.

One email at launch, and nothing else unless you ask for it.