โ† All Docs
๐Ÿ”‘

Authentication

All authenticated endpoints require a Bearer token in the Authorization header. Get your API key from Settings โ†’ Developer Mode โ†’ API Keys.

Tokens are scoped to your user account โ€” all kids and data under your account are accessible with a single key.

Public endpoints (kid profiles, bill redemption) don't require authentication.

POST/api/v1/api-keys

Create a new API key

Request Body
{ "name": "My Integration" }
Response
{ "id": "uuid", "key": "kc_xxxxxxxxxxxx", "name": "My Integration" }

Requires Clerk session (browser only). The key is only shown once โ€” save it immediately.

GET/api/v1/api-keys

List your API keys

Response
[{ "id": "uuid", "name": "My Integration", "keyPreview": "kc_xxx...xxx", "createdAt": "..." }]
DELETE/api/v1/api-keys/:id

Delete an API key

Response
{ "success": true }
Authentication โ€” KidCash Developer Docs โ€” KidCash