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

# Get started with API v2

> Create a company API key, choose what it can read, and make your first request.

API v2 gives other systems read access to your company's Triple Session data: meetings, their transcripts and scorecard results, scorecards, workspaces, members and people. One key covers the whole company or only the workspaces you choose.

> [!NOTE]
>
> API v2 is in early access. If you don't see **API keys** in your organization settings, email **[support@triplesession.com](mailto:support@triplesession.com)** to have it turned on for your company.

## Base URL

```text theme={null}
https://app.triplesession.com/api/public/v2
```

## Create an API key

Only company admins can create and revoke keys.

**1. Open API keys**

In Triple Session, go to **Settings** and select **API keys** under **Organization**.

**2. Create the key**

Click **Create API key** and fill in the form:

* **Name**: what the key is for, such as `Data warehouse sync`.
* **Data the key can read**: the scopes below. Pick only what the integration needs.
* **Workspaces**: leave empty for every workspace, or pick the workspaces the key may read.
* **Expiry**: no expiry, 30 days, 90 days or 1 year.

**3. Copy the key**

The key starts with `ts_v2_` and is shown once. Store it in a secrets manager. If you lose it, create a new key.

## Make your first request

Send the key as a Bearer token in the `Authorization` header:

```bash theme={null}
curl "https://app.triplesession.com/api/public/v2/calls?limit=5" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

A successful response wraps its result in `data`. Lists also return `pagination`:

```json theme={null}
{
  "data": [
    {
      "id": "6f1c2a7e-0c1b-4f1e-9a51-2a0d3c5e8b14",
      "name": "Discovery call with Acme",
      "created_at": "2026-11-20T14:03:11.512Z"
    }
  ],
  "pagination": { "page": 1, "limit": 5, "total_count": 128, "total_pages": 26 }
}
```

The example is shortened. Each endpoint in the reference lists every field.

## Scopes

Each scope matches an option under **Data the key can read**.

| Option in the app | Scope | Endpoints |
| - | - | - |
| Meetings | `calls.read` | `GET /calls`, `GET /calls/{callId}`, `/transcript`, `/scorecard` |
| Scorecards | `scorecards.read` | `GET /scorecards`, `GET /scorecards/{scorecardId}` |
| Workspaces | `company.read` | `GET /workspaces`, `GET /workspaces/{workspaceId}` |
| Members | `users.read` | `GET /workspaces/{workspaceId}/members`, `GET /users`, `GET /users/{userId}` |

A request to an endpoint whose scope the key lacks returns `403`.

## Workspace access

* **All workspaces**: the key reads every workspace in the company, including workspaces created later. On the calls endpoints, `workspace_id` is an optional filter.
* **Selected workspaces**: the key reads only the workspaces you picked and the child workspaces they had when the key was created. On the calls endpoints, `workspace_id` is required and must be one of them. Call `GET /workspaces` to list them.

Scorecards belong to the company, not to a workspace, so the scorecard endpoints don't accept `workspace_id`.

## Private meetings

Meetings marked private are never returned. They are left out of lists, and their detail endpoints answer `404`.

## Revoke or replace a key

On the **API keys** page, click **Revoke** next to the key. Any system using it loses access immediately, and this can't be undone.

To replace a key without downtime, create the new key, switch your integration to it, then revoke the old one. The **Last used** column shows when each key last made a request.

## Next steps

> [card] [Pagination, errors and rate limits](https://docs.triplesession.com/api-v2/conventions.md)
>
> How every endpoint pages, fails and limits requests.

> [card] [Sync meetings](https://docs.triplesession.com/api-v2/sync-calls.md)
>
> Export a date range, then fetch only what changed.


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