---
title: "Save ActiveCampaign credentials"
method: POST
path: "/api/v1/activecampaign/connection"
tags: ["ActiveCampaign"]
---

# Save ActiveCampaign credentials

`POST /api/v1/activecampaign/connection`

## Request

- Base URL: `https://localhost:3000`
- URL: `https://localhost:3000/api/v1/activecampaign/connection`
- Auth: `BearerAuth` (a scheme the document does not define)

Validates and saves API URL + API Key for the authenticated user. Credentials are tested against GET /api/3/users/me before persisting.

## Request body

- ActiveCampaignConnectionRequest
  - `api_url` string, required: Your ActiveCampaign API URL, e.g. https://myaccount.api-us1.com
  - `api_key` string, required: Your ActiveCampaign API Key (from Settings → Developer)
  - `account_name` string: Optional display label for this connection

## Response `200`

Credentials saved

- ActiveCampaignConnectionStatus
  - `configured` boolean
  - `connector_id` string
  - `api_url` string
  - `account_name` string
  - `api_key_set` boolean
  - `updated_at` number

## Other responses

- `400`: Validation error (missing fields or invalid credentials)
- `401`: Unauthorized

---

[API](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api.md) · [All operations](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/revisions/e25648ba6027?raw)
