# Get an integration

```http
GET https://trydimmi.com/api/v1/integrations/{integration}
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `settings:read`.

## Path parameters

- `integration` (string, required): Id of the connected integration, starting with itg_, such as itg_01jx2m8k4t. Find it with GET /integrations.

## Response 200 (OK)

- `data` (object, required)
  - `channel_ids` (string[] | null, required): Ids of the channel connections that run on this installation, each starting with chn_; empty when none.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `disconnected_at` (string | null, required): When the installation was disconnected. Null while it is connected.
  - `external_account_id` (string | null, required): The id of the connected account at the provider, such as a Jira site's id. Null when unknown.
  - `external_app_id` (string | null, required): The id of the provider app that was installed. Null when unknown.
  - `features` (object[] | null, required): The dimmi features that use this installation, each ready or blocked by scopes still missing.
    - `missing_scopes` (string[] | null, required): The scopes this feature still needs; empty when it is ready. Reconnect the provider to grant them.
    - `name` (string, required): The feature's name.
    - `status` (string, required): Whether the feature can work on this installation: ready or blocked_missing_scope.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `installed_at` (string, required): When the installation was connected.
  - `installed_by` (string | null, required): Id of the teammate who connected it, starting with mem_. Null when unknown or they are gone.
  - `last_checked_at` (string | null, required): When the connection's health was last checked. Null when never checked.
  - `last_error` (string | null, required): What went wrong with the connection last, in words. Null when there is no error.
  - `last_error_code` (string | null, required): Short code of the connection's last error. Null when there is no error.
  - `member_grant_count` (integer, required): How many teammates have connected their own account on this installation.
  - `metadata` (object, required): Provider-specific facts kept about the installation; its keys differ per provider and it is {} when empty.
  - `name` (string, required): The installation's name, usually the connected account's name at the provider.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `own_grant` (object, required)
    - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
    - `external_user_id` (string, required): The teammate's user id at the provider.
    - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
    - `member_id` (string, required): Id of the teammate who connected their own account, starting with mem_.
    - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
    - `revoked_at` (string | null, required): When the grant was revoked. Null while it stands.
    - `scopes` (string[] | null, required): The scopes the teammate granted from their own account.
    - `status` (string, required): Where the grant stands: active, revoked or error.
  - `provider` (string, required): The tool connected, such as linear, jira, github, notion, intercom or zendesk.
  - `scopes` (string[] | null, required): The permission scopes the provider granted to this installation.
  - `source` (string, required): How it was connected: oauth through the provider's approval page, or manual with pasted tokens or a key.
  - `status` (string, required): The connection's health: active, error (see last_error) or disconnected.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/integrations/{integration}' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "channel_ids": [
      "<string>"
    ],
    "created_at": "2026-11-01T09:30:00Z",
    "disconnected_at": "2026-11-01T09:30:00Z",
    "external_account_id": "<string>",
    "external_app_id": "<string>",
    "features": [
      {
        "missing_scopes": [
          "<string>"
        ],
        "name": "<string>",
        "status": "<string>"
      }
    ],
    "id": "<string>",
    "installed_at": "2026-11-01T09:30:00Z",
    "installed_by": "<string>",
    "last_checked_at": "2026-11-01T09:30:00Z",
    "last_error": "<string>",
    "last_error_code": "<string>",
    "member_grant_count": 123,
    "metadata": {
      "<key>": null
    },
    "name": "<string>",
    "object": "<string>",
    "own_grant": {
      "created_at": "2026-11-01T09:30:00Z",
      "external_user_id": "<string>",
      "id": "<string>",
      "member_id": "<string>",
      "object": "<string>",
      "revoked_at": "2026-11-01T09:30:00Z",
      "scopes": [
        "<string>"
      ],
      "status": "<string>"
    },
    "provider": "<string>",
    "scopes": [
      "<string>"
    ],
    "source": "<string>",
    "status": "<string>",
    "updated_at": "2026-11-01T09:30:00Z"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
