---
title: "Connect migration source"
method: POST
path: "/migrations/{runId}/connect-source"
tags: ["Migrations"]
---

# Connect migration source

`POST /migrations/{runId}/connect-source`

Stores a provider credential on an existing migration run connection.

## Path parameters

- `runId` string, required

## Request body

- object
  - `provider` string, required — Provider adapter ID. Supported values include `active-campaign`, `brevo`, `constant-contact`, `customer-io`, `drip`, `hubspot`, `kit`, `klaviyo`, `loops`, `mailchimp`, `mailerlite`, `mailjet`, `omnisend`, `resend`, and `sendgrid`.
  - `credential` string, required — Provider API credential.
  - `providerLabel` string — Optional display label for manual providers.

## Response `200`

Source connected

- object
  - `success` boolean
  - `data` object

## Other responses

- `400` — Provider unavailable
- `401` — Unauthorized
- `404` — Migration run not found

## Changes

> 121 revisions in range; 9 could not be searched.

- **2026-08-19** `ba3a29c6eb33` — 3 info
  - added the optional property `retryable` to the response with the `400` status
  - added the optional property `retryable` to the response with the `401` status
  - added the optional property `retryable` to the response with the `404` status
- **2026-08-16** `6fd2903b91ce` — 3 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `404` status
- **2026-08-02** `36f92fc0caa2` — 3 breaking
  - the response property `success` became optional for the status `400`
  - the response property `success` became optional for the status `401`
  - the response property `success` became optional for the status `404`
- **2026-06-18** `7510100bfe08` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/migrations/:runId/connect-source/post.md)

---

[API](https://skmtc.dev/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.dev/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/revisions/73f826277d9a/schema)
