> ## 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.

# LiveSwitch

> Integrate your application with the LiveSwitch Public API

## 🚀 Quickstart

Connect to LiveSwitch with Nango and make your first API request.

**1. Create the integration**

In Nango ([free signup](https://app.nango.dev)), go to the **Integrations** tab, select **Configure New Integration**, then select **LiveSwitch**. In **Scopes**, add `openid`, `profile`, `email`, and `me` for this quickstart. The `offline_access` scope is selected by default.

> **For agents**
>
> Ask the user to sign in to Nango and create an Environment API key under **Environment Settings > API Keys**. Send it as `Authorization: Bearer <NANGO-API-KEY>` when calling Nango's HTTP APIs.
>
> Create the LiveSwitch integration with [`POST /integrations`](https://nango.dev/docs/reference/backend/http-api/integration/create), setting `provider` to `liveswitch`, choosing a `unique_key` for the integration ID, and supplying the OAuth credentials described in the setup guide below. Include `openid`, `profile`, `email`, `me`, and `offline_access` in the comma-separated `credentials.scopes` value. To initiate authorization, create a short-lived session with [`POST /connect/sessions`](https://nango.dev/docs/reference/backend/http-api/connect/sessions/create), include that integration ID in `allowed_integrations`, and open the returned `connect_link` so the user can complete LiveSwitch's interactive OAuth flow.

**2. Authorize LiveSwitch**

Go to the **Connections** tab, select **Add Test Connection**, then select **Authorize**. Log in as a LiveSwitch user and approve the requested access. An organization administrator is required when your integration requests webhook permissions.

**3. Call the LiveSwitch API**

Fetch the current user. This request requires the `me` scope selected in the first step. Replace the placeholders below with your Nango API key, integration ID, and connection ID:

**cURL**

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

**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/me',
    providerConfigKey: '<INTEGRATION-ID>',
    connectionId: '<CONNECTION-ID>'
});

console.log(res.data);
```

✅ You're connected! Check the **Logs** tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow Nango's [Auth implementation guide](https://nango.dev/docs/guides/primitives/auth.md). To obtain production LiveSwitch credentials, follow the setup guide below.

## 📚 LiveSwitch integration guides

* [How to register your own LiveSwitch API OAuth app](https://nango.dev/docs/api-integrations/liveswitch/how-to-register-your-own-liveswitch-api-oauth-app)
  Request a LiveSwitch Developer App and configure its callback URL and scopes.

Official docs: [LiveSwitch API documentation](https://developer.liveswitch.com/)

## 🧩 Pre-built syncs & actions for LiveSwitch

Explore Nango-provided actions in your dashboard. Extend and customize them to fit your needs.

*No pre-built syncs or actions available yet.*

> [!TIP]
>
> Not seeing the integration you need? [Build your own](https://nango.dev/docs/guides/functions/functions-guide.md) independently.

***


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