---
title: "List Provider Import Sources"
method: GET
path: "/v1/contacts/imports/providers/{provider}/sources"
tags: ["Contacts"]
---

# List Provider Import Sources

`GET /v1/contacts/imports/providers/{provider}/sources`

## Request

- Base URL: `https://api.migma.ai`
- URL: `https://api.migma.ai/v1/contacts/imports/providers/{provider}/sources`
- Auth: API key in header `Authorization`

List audiences, lists, segments, and tags available to import from a connected Klaviyo, Mailchimp, or HubSpot account. Requires API key with audience:read and brand access. Pass `connectionId` when more than one account is connected for the provider.

## Path parameters

- `provider` 'klaviyo' | 'mailchimp' | 'hubspot', required

## Query parameters

- `projectId` string, required
- `connectionId` string

## Response `200`

Importable sources for the provider

- ApiResponseProviderImportSources
  - `success` boolean, required
  - `data` object, nullable
    - `sources` ProviderImportSource[], required
      - `id` string, required: Provider-specific source identifier
      - `type` 'audience' | 'segment' | 'tag' | 'list', required
      - `name` string, required
  - `error` string, nullable

## Other responses

- `400`: Bad request (code: INTEGRATION_ACCOUNT_REQUIRED when multiple accounts are connected and connectionId is omitted)
- `401`: Unauthorized
- `403`: Forbidden - Missing required permissions or access denied
- `409`: Provider not connected or reconnect required (codes: PROVIDER_NOT_CONNECTED, PROVIDER_RECONNECT_REQUIRED). The error message includes a connect link; `data.connectUrl` has the same URL.

## Changes

- **2026-10-03** `3559ca4c97d3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/migma/apis/migma-ai-api-v1/changes/v1/contacts/imports/providers/:provider/sources/get.md)

---

[API](https://skmtc.dev/migma/apis/migma-ai-api-v1.md) - [All operations](https://skmtc.dev/migma/apis/migma-ai-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/migma/apis/migma-ai-api-v1/revisions/2ce0e1e4d856?raw)
