[Tenjin API Reference](https://api-docs.tenjin.com/llms.txt) › [Campaign Management API](https://api-docs.tenjin.com/campaign-management-api.md) › List an app's SDK keys

- Campaign Management API OpenAPI spec: https://api-docs.tenjin.com/openapi/campaign-management-api.json

# List an app's SDK keys

- **Method:** `GET`
- **Path:** `/v2/apps/{app_id}/sdk_keys`
- **Operation ID:** `get_apps_app_id_sdk_keys`
- **Tags:** SDK Keys

The enabled keys of the app itself, oldest first. An app with none returns an empty list. Organization-level keys are not listed.

## Effective servers

- `https://api.tenjin.com`

## Authentication

- **Bearer**: HTTP bearer (`JWT`)

  Generate an access token on the [Access Tokens](https://dashboard.tenjin.com/dashboard/access_tokens) page of the Tenjin dashboard and send it as `Authorization: Bearer <access token>`. [API access tokens](https://tenjin.com/docs/api-access-tokens/) explains them.

## Path parameters

- **`app_id` (required)**: `string`, format: `uuid`, maxLength: `36`

  Id of the app

## Query parameters

- **`page`**: `integer`, default: `1`

  Page of results to fetch.
- **`per_page`**: `integer`, default: `25`, minimum: `0`, maximum: `1000`

  Number of results to return per page.

## Responses

### 200 SDK keys

**Headers:**

- **`Link`**

  URLs of the first, previous, next and last pages (RFC 8288); sent only when the list has more than one page

  `string`
- **`Total`**

  Number of items on all pages

  `integer`
- **`Per-Page`**

  Number of items per page

  `integer`

**Content type:** `application/json`

schema: `SdkKeyListDocument`

- **`data` (required)**: `array`

  **Items:**

  schema: `SdkKeyResource`
  - **`attributes` (required)**: `object`
    - **`created_at` (required)**: `string`, format: `date-time`

      When the SDK key was created
    - **`key` (required)**: `string | null`

      The key the Tenjin SDK sends
    - **`name` (required)**: `string | null`

      Name of the SDK key
  - **`id` (required)**: `string`
  - **`type` (required)**: `string`, possible values: `"sdk_key"`
- **`links` (required)**: `object`, schema: `Links`
  - **`self` (required)**: `string`, format: `uri`

    URL of this request
  - **`first`**: `string`, format: `uri`

    URL of the first page of a list
  - **`last`**: `string`, format: `uri`

    URL of the last page of a list
  - **`next`**: `string`, format: `uri`

    URL of the next page of a list
  - **`prev`**: `string`, format: `uri`

    URL of the previous page of a list
- **`meta` (required)**: `object`, schema: `PageMeta`
  - **`count` (required)**: `integer`

    Number of items on all pages
  - **`per_page` (required)**: `integer`

    Number of items per page

**Example: SDK keys**

```json
{
  "data": [
    {
      "id": "950001",
      "type": "sdk_key",
      "attributes": {
        "name": "Older Key",
        "created_at": "2026-08-30T12:00:00.000Z",
        "key": "recorder-sdk-older"
      }
    },
    {
      "id": "950002",
      "type": "sdk_key",
      "attributes": {
        "name": "Newer Key",
        "created_at": "2026-08-31T12:00:00.000Z",
        "key": "recorder-sdk-newer"
      }
    }
  ],
  "links": {
    "self": "https://api.tenjin.com/v2/apps/92de8255-26c4-4182-9ee4-a1e5a4dcf6c9/sdk_keys"
  },
  "meta": {
    "count": 2,
    "per_page": 25
  }
}
```

### 400, 401, 403, 498

- `400` A param is missing or invalid, a record is not found, or the request cannot be served
- `401` Missing or invalid credentials, or no access to the requested data
- `403` Invalid token, or the user's role does not allow the request
- `498` Expired token, or a token with an invalid signature

**Content type:** `application/json`

schema: `Error`

- **`error` (required)**: `string`

  What went wrong

**Example:**

```json
{
  "error": ""
}
```

### 429 More than 30 SDK key reads in a minute by one user

**Headers:**

- **`X-Retry-After`**

  Length of the rate limit period, in seconds

  `integer`

**Content type:** `application/json`

*Schema `Error` is shown above.*

**Example:**

```json
{
  "error": ""
}
```

## Schemas

- `Error` — shown above.
- `SdkKeyListDocument` — shown above.
- `Links` — shown above.
- `PageMeta` — shown above.
- `SdkKeyResource` — shown above.
