Team Cake

Team Cake Day REST API

Read members and locations from your own scripts. JSON over HTTPS.

Authentication

Create a key in Settings. It is shown once; we store only a hash. Send it as a bearer token. Keys start with tcd_.

curl -H "Authorization: Bearer tcd_..." https://www.teamcakeday.com/api/v1/members

Revoke a key in Settings at any time. Keys act on the account they were created in.

Rate limits

Keep to 60 requests per minute per key. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. Over the limit you may get 429 with Retry-After; back off and retry.

Endpoints

MethodPathWhat it does
GET/api/v1/membersList people Team Cake Day celebrates.
GET/api/v1/monitorsList locations (the shared monitor API).

Birth year is never returned, even if a member chose to store it.

Errors

Errors return {"error": "code", "message": "..."} with codes unauthorized, invalid_json, plan_limit, not_found and rate_limited.