---
title: "Fetch Connected Account Details"
method: GET
path: "/connected-accounts/{connectedAccountId}/details"
tags: ["Connected Accounts"]
---

# Fetch Connected Account Details

`GET /connected-accounts/{connectedAccountId}/details`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/connected-accounts/{connectedAccountId}/details`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/connected-accounts/:connectedAccountId/details/get.ts> (a function with typed inputs; its response is checked against the schema)

This API retrieves detailed information about a specific connected account.

**Behavior:**

- Returns account details only if the account is currently connected.
- If the account has been disconnected, no data will be returned.

## Path parameters

- `connectedAccountId` string, uuid, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Response `200`

Successfully retrieved connected account details

- ConnectedAccountDetailsResponseV2
  - `data` object
    - `connectedAccountDetails` object
      - `details` object
        - `connectedAccountId` string, uuid, required: ID of the connected account
        - `connectedAccountType` 'GoogleAccount' | 'FacebookAccount', required: Type of the connected account
        - `connectedLocationsCount` integer, required: Number of locations connected with the account
        - `connectivityIssue` string, nullable: Connection error message if any
        - `email` string, email, required: Email of the user for the connected account
        - `lastFetchMatchesRequestedAt` string, date-time: Timestamp when the last matches requests were fetched
        - `requestMatches` boolean, required: Indicates whether the connected account can trigger for matches
        - `requestMatchesStatus` 'MATCH_COMPLETED' | 'MATCH_IN_PROGRESS' | 'MATCH_FAILED': Status of the last request matches triggered
        - `status` 'CONNECTED' | 'DISCONNECTED' | 'CONNECTION_ISSUE', required: Connection status of the connected account
        - `remarks` string, nullable: Connected Account Fetch Status Error

## Other responses

- `401`: Unauthorized - Invalid API key
- `404`: Connected account not found
- `500`: Internal server error

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
