Skip to main content
Use the Lunacal API when you want your own app, script, or automation to act on a Lunacal account: look up the user, read open times, and create or change bookings and event types. Every call runs as the person who owns the API key. The key does not have separate permissions. If that person can do it in Lunacal, the key can do it through these routes. AI assistants such as Claude do not use this key. They connect through MCP and ask the user to sign in.

Before you start

API access is included on Tier 4 and above. On a lower plan, Settings → Developer stays locked until the plan is upgraded or Lunacal turns the feature on for that account. Agency client accounts do not see the Developer tab.
  1. Sign in to Lunacal.
  2. Open Settings → Developer.
  3. Create a key and store it somewhere only your server can read. The steps are on Create and use an API key.

How a request is shaped

A successful call returns the result as JSON. A failed call returns JSON with a message field. The status codes are explained on Errors. Keep the key in an environment variable named LUNACAL_API_KEY. The examples on these pages use that name.

What you can call

If the account later drops below Tier 4, most of these routes answer 403. Creating and cancelling a booking still accept a key that was valid when it was issued. See Errors.

Try it

This call returns the profile of the key’s owner. You need id, email, username, and timeZone for almost every other call. The response also includes plan and branding fields that the Lunacal app uses. Rely on the four fields above.

Next