Countdown Timer API Documentation

Everything needed to create a countdown with the REST API, read its remaining time from an authoritative server clock, control duration timers, and receive signed webhook events. Every example is plain HTTP against the live API — there is no SDK to install and nothing to compile.

Base URL
https://countdownshare.com/api/v1
Protocol
REST over HTTPS, JSON
Authentication
Bearer API key
Environments
Sandbox · Production

OpenAPI 3.1 specification

Import the spec into Postman or Insomnia, or generate a typed client in your language. It is public and needs no key.

Download openapi.yaml

The whole API in one request

Creating a timer returns an ID. Every other call in this documentation takes that ID. If you read nothing else, read the quick start and this snippet.

Your first request

curl -X POST https://countdownshare.com/api/v1/timers \
  -H "Authorization: Bearer $COUNTDOWNSHARE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: first-timer" \
  -d '{
    "name": "Product launch",
    "type": "fixed",
    "deadline_at": "2030-01-01T14:00:00Z"
  }'

Browse the documentation

Read straight through in this order, or jump to what you need. Each page ends with a link to the next one.

Ready to connect your first countdown?

Sandbox is free with any account and needs no plan. When you are ready to publish, pick a plan and swap your cs_test_ key for a cs_live_ one.