Skip to main content
LunaCal API keys let you call supported LunaCal APIs from anywhere on behalf of your account. Create a key, add it to the request header, and LunaCal handles the rest. Responses match what the same API returns inside the LunaCal platform.

How it works

  1. Go to Settings → Developer and create an API key. If you do not see the Developer tab, contact support@lunacal.ai.
  2. Give the key a name, set an expiry, and copy it. The key is shown only once.
  3. Send the key in the Authorization header as a Bearer token with each request.
See API key authentication for the full walkthrough.

Quick example

This returns the same data the platform returns for the signed-in user. You only need to provide a valid API key.

Request conventions

  • Base URL: https://app.lunacal.ai
  • Auth: Authorization: Bearer lunacal_<your-key>
  • Method: POST only. Any other method returns 405.
  • Body: JSON, with Content-Type: application/json.

Supported APIs

These are the web-app routes that accept an API key from Settings → Developer.

Next steps