---
title: "Get integration"
method: GET
path: "/integrations/{id}"
tags: ["Integrations"]
---

# Get integration

`GET /integrations/{id}`

Use this endpoint to retrieve all a single account integration.

## Path parameters

- `id` string, required

## Query parameters

- `fields` string

## Response `200`

User Integration

- object
  - `_id` string — Unique Id
  - `airbnb2` object — Only if platform is airbnb
    - `credentials` object
      - `code` string
      - `expiresAt` integer
      - `accessToken` string
      - `refreshToken` string
      - `lastForceRefresh` string — date
    - `forwardEmails` object
      - `all` boolean
      - `emails` string[]
    - `createdAt` string — date
  - `forwardEmails` object
    - `all` boolean
    - `emails` string[]
  - `active` boolean — Status of connection
  - `platform` string
  - `listings` object[]
  - `complexes` object[]
  - `nickname` string
  - `channelId` string
  - `activatedAt` string — Date
  - `disconnectedAt` string — Date
  - `proxyEmail` string
  - `incomingEmail` string
  - `externalAccountId` string
  - `id` integer — External ID
  - `companyName` string
  - `fetchRequests` object[]
    - `fetchAllListings` boolean
    - `externalListingIds` string[]
    - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'TIMEOUT'
    - `createTime` string — Date
    - `updateTime` string — Date
    - `finishedTime` string — Date
  - `status` 'NOT_CONNECTED' | 'CONNECTING' | 'CONNECTED' | 'FAILED' | 'TIMEOUT' | 'DISCONNECTED' | 'PENDING'
  - `migration` object
    - `status` 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'
    - `createTime` string — Date
    - `updateTime` string — Date
    - `finishedTime` string — Date
    - `steps` object[]
    - `discrepancyStepExecuted` boolean
    - `discrepancyResolution` 'GUESTY' | 'AIRBNB'
    - `listingQuantityDiscrepancyStepExecuted` boolean
    - `error` object
      - `at` string — Date
      - `code` string
      - `message` string
      - `raw` object
    - `notes` string
    - `isRollingBack` boolean
  - `userId` string
  - `accountId` string — Owner
  - `tripAdvisor` object — TripAdvisor details
  - `homeaway2` object — Homeaway details
  - `bookingCom` object — BookingCom details
    - `legalEntityId` string
  - `createdAt` string — Date
  - `missingStep` string
  - `steps` object[]
    - `type` string
    - `status` 'COMPLETED' | 'IN_PROGRESS'
    - `createTime` string — Date
    - `updateTime` string — Date
  - `newIntegrationBackup` object
  - `threadIdsMigrated` boolean
  - `isDeleted` boolean
  - `deletedAt` string — Date

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Unhandled exception. Something went wrong on server.

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
