---
title: "Discover Accounts"
method: GET
path: "/api/connections/{provider}/accounts"
tags: ["connections"]
---

# Discover Accounts

`GET /api/connections/{provider}/accounts`

## Request

- Base URL: `https://api.heymetra.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.heymetra.com/api/connections/{provider}/accounts`
- Auth: none declared

Ask the provider what this grant can actually reach.

Run once, right after consent. The customer picks from this list; nothing
later in the product ever calls it again.

## Path parameters

- `provider` 'google_ads' | 'meta_ads' | 'meta_instagram' | 'meta_page' | 'ga4' | 'gsc' | 'zoho_crm' | 'zoho_salesiq' | 'zoho_marketing' | 'telegram' | 'slack' | 'email' | 'adapty' | 'trendyol' | 'revenuecat' | 'appsflyer' | 'app_store_connect' | 'woocommerce' | 'shopify' | 'stripe' | 'posthog' | 'jira' | 'hepsiburada' | 'n11' | 'ciceksepeti' | 'amazon_seller' | 'ikas', required

## Query parameters

- `nango_connection_id` string, required
- `write` boolean

## Headers

- `authorization` string, nullable
- `x-workspace-id` string, nullable

## Response `200`

Successful Response

- DiscoveredAccountsOut
  - `provider` 'google_ads' | 'meta_ads' | 'meta_instagram' | 'meta_page' | 'ga4' | 'gsc' | 'zoho_crm' | 'zoho_salesiq' | 'zoho_marketing' | 'telegram' | 'slack' | 'email' | 'adapty' | 'trendyol' | 'revenuecat' | 'appsflyer' | 'app_store_connect' | 'woocommerce' | 'shopify' | 'stripe' | 'posthog' | 'jira' | 'hepsiburada' | 'n11' | 'ciceksepeti' | 'amazon_seller' | 'ikas', required
  - `nango_connection_id` string, required
  - `accounts` DiscoveredAccount[], required
    - `account_id` string, required
    - `name` string, nullable
    - `currency` string, nullable
    - `is_manager` boolean
    - `status` string, nullable
    - `kind` 'google_ads' | 'meta_ads' | 'meta_instagram' | 'meta_page' | 'ga4' | 'gsc' | 'zoho_crm' | 'zoho_salesiq' | 'zoho_marketing' | 'telegram' | 'slack' | 'email' | 'adapty' | 'trendyol' | 'revenuecat' | 'appsflyer' | 'app_store_connect' | 'woocommerce' | 'shopify' | 'stripe' | 'posthog' | 'jira' | 'hepsiburada' | 'n11' | 'ciceksepeti' | 'amazon_seller' | 'ikas', required
    - `url` string, nullable
    - `platform` string, nullable
    - `already_connected` boolean
  - `chosen_at_provider` boolean

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-20** `877b0f87d6d0`: 2 breaking, 4 info
  - removed the enum value `google_calendar` from the `path` request parameter `provider`
  - removed the enum value `google_meet` from the `path` request parameter `provider`
  - removed the `google_calendar` enum value from the `accounts/items/kind` response property for the response status `200`
  - removed the `google_calendar` enum value from the `provider` response property for the response status `200`
  - …2 more
- **2026-10-20** `488ce9683884`: 2 warning, 1 info
  - added the new `ikas` enum value to the `accounts/items/kind` response property for the response status `200`
  - added the new `ikas` enum value to the `provider` response property for the response status `200`
  - added the new enum value `ikas` to the `path` request parameter `provider`
- **2026-10-19** `8153ccd4dea1`: 8 warning, 4 info
  - added the new `amazon_seller` enum value to the `accounts/items/kind` response property for the response status `200`
  - added the new `amazon_seller` enum value to the `provider` response property for the response status `200`
  - added the new `ciceksepeti` enum value to the `accounts/items/kind` response property for the response status `200`
  - added the new `ciceksepeti` enum value to the `provider` response property for the response status `200`
  - …8 more

[Operation history](https://skmtc.dev/heymetra/apis/heymetra-api/changes/api/connections/:provider/accounts/get.md)

---

[API](https://skmtc.dev/heymetra/apis/heymetra-api.md) · [All operations](https://skmtc.dev/heymetra/apis/heymetra-api/llms.txt) · [OpenAPI document](https://skmtc.dev/heymetra/apis/heymetra-api/revisions/877b0f87d6d0?raw)
