[Tenjin API Reference](https://api-docs.tenjin.com/llms.txt) › [Campaign Management API](https://api-docs.tenjin.com/campaign-management-api.md) › Get callback settings

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

# Get callback settings

- **Method:** `GET`
- **Path:** `/v2/apps/{app_id}/integrations/{integration_id}/callback_settings`
- **Operation ID:** `get_apps_app_id_integrations_integration_id_callback_settings`
- **Tags:** Callback Settings

## 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
- **`integration_id` (required)**: `integer`

  Id of the integration: its channel id

## Responses

### 200 The callback settings

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

schema: `CallbackSettingsDocument`

- **`data` (required)**: `object`, schema: `CallbackSettingsResource`
  - **`attributes` (required)**: `object`
    - **`app_id` (required)**: `string`, format: `uuid`

      Id of the app
    - **`callback_settings` (required)**: `object`

      Settings for every callback group of the app and integration
    - **`integration_id` (required)**: `integer`

      Id of the integration: its channel id
  - **`id` (required)**: `string`, format: `uuid`
  - **`type` (required)**: `string`, possible values: `"callback_setting"`
- **`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`

  Always empty

**Example: The callback settings**

```json
{
  "data": {
    "id": "1268b1a2-57b7-484d-a598-8fd88ea27949",
    "type": "callback_setting",
    "attributes": {
      "app_id": "17ef8c1a-5729-456e-98db-ccc104bdf860",
      "integration_id": 18,
      "callback_settings": {
        "game_id": "abcde12345"
      }
    }
  },
  "links": {
    "self": "https://api.tenjin.com/v2/apps/1268b1a2-57b7-484d-a598-8fd88ea27949/integrations/18/callback_settings"
  },
  "meta": {}
}
```

### 400, 401, 403, 498

- `400` A param is missing or invalid, a record is not found, or the organization has no ad account for the integration
- `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": ""
}
```

## Schemas

- `Error` — shown above.
- `CallbackSettingsDocument` — shown above.
- `Links` — shown above.
- `CallbackSettingsResource` — shown above.
