Ping responses

On this page

The ping host answers with a short plain-text body. Most answers are 200, even for a UUID that does not exist, so that a deleted check does not make its job fail. The table lists every case.

Which codes can a ping return?

Code and bodyWhen
200 OKThe ping was recorded, including a ping that was logged as ignored.
200 OK (not found)A UUID URL for a check that does not exist. Nothing is recorded.
200 OK (rate limited)A UUID URL over the per-check limit of five recorded pings a minute. Nothing is recorded.
201 CreatedA slug URL with create=1 created the check.
400 invalid url formatThe path or the rid does not parse.
403 check limit reachedcreate=1 would pass twice the account's check limit.
404 not foundA slug URL matched no check and did not ask to create one. Also a /log on an unknown UUID.
405A method other than HEAD, GET or POST.
409 ambiguous slugThe slug matches several checks. Nothing is recorded.
429 rate limit exceededA slug URL over the per-check limit, or any URL over the per-address limit.
503 temporarily unavailableThe database could not be reached. The response carries Retry-After: 1.

What should a client do with them?

  • Retry a 503 and a 429 after the delay given. curl --retry does this for a 503.
  • Treat a 200 from a UUID URL as delivered, but not as proof the check exists: "OK (not found)" tells you it does not.
  • Fix a 400, 404 or 409 in the job; retrying will not help.

Is there a limit on pings?

Each check records up to five pings a minute; more are answered and not recorded. Addresses that send hundreds of requests a minute to checks that do not exist are answered with 429 for the rest of the minute. An account that averages more than one ping per check per minute over a day is reviewed by a person, never blocked automatically.

Try it on one job

Create a check, copy its ping URL into the job, and watch the first ping arrive.

Start monitoring