> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Luma (v2)

> Integrate your application with the Luma API

## Quickstart

Connect to Luma with Nango and see data flow in 2 minutes. The Luma API uses API key authentication, so no user redirect is required.

**1. Create the integration**

In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Luma (v2)*.

**2. Connect Luma**

Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection*. Enter your Luma API key, then save.

**3. Call the Luma API**

Let's make your first request to the Luma API: fetch the user the API key belongs to. Replace the placeholders below with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

> [tab] cURL
>
> ```bash theme={null}
> curl "https://api.nango.dev/proxy/v1/users/get-self" \
>   -H "Authorization: Bearer <NANGO-API-KEY>" \
>   -H "Provider-Config-Key: <INTEGRATION-ID>" \
>   -H "Connection-Id: <CONNECTION-ID>"
> ```

> [tab] Node
>
> Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
>
> ```typescript theme={null}
> import { Nango } from '@nangohq/node';
>
> const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
>
> const res = await nango.get({
>     endpoint: '/v1/users/get-self',
>     providerConfigKey: '<INTEGRATION-ID>',
>     connectionId: '<CONNECTION-ID>'
> });
>
> console.log(res.data);
> ```

Or fetch credentials with the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).

You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow our [Auth implementation guide](https://nango.dev/docs/guides/auth/auth-guide.md) to integrate Nango in your app.

To obtain your own credentials, follow the setup guide linked below.

## Luma integration guides

Nango maintained guides for common use cases.

* [How to get your Luma API key](https://nango.dev/docs/api-integrations/luma-v2/connect)
  Create an API key in your Luma calendar settings and connect it to Nango

Official docs: [Luma API docs](https://docs.luma.com/reference)

## Common scopes

Luma does not use scopes. An API key grants full access to the single calendar it was created on.

## API gotchas

* Targets `https://public-api.luma.com`, the domain in Luma's current API reference. The legacy `luma` provider targets `https://api.lu.ma`, which Luma keeps available for backward compatibility.
* `public-api.luma.com` serves both the current `/v1/...` routes and the legacy `/public/v1/...` paths, so requests written for the legacy provider work here unchanged.
* The Luma API requires a Luma Plus subscription.
* Luma authenticates with an `x-luma-api-key: API_KEY` request header.
* Luma rate-limits per minute: 200 requests for calendar API keys and OAuth tokens, 500 for organization API keys. Exceeding the limit returns `429 Too Many Requests` and blocks for one minute; honor the `Retry-After` header. For more details, check [Luma rate limits](https://docs.luma.com/reference/rate-limits).

> [!NOTE]
>
> Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/api-integrations/luma-v2.mdx)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.