---
title: "Connect the chosen Campaign Manager 360 profile"
method: POST
path: "/v1/connect/campaignmanager360/select-profile"
tags: ["Connect"]
---

# Connect the chosen Campaign Manager 360 profile

`POST /v1/connect/campaignmanager360/select-profile`

## Request

- Base URL: `https://zernio.com/api`
- URL: `https://zernio.com/api/v1/connect/campaignmanager360/select-profile`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Connect-Token`

For headless flows. Connects the CM360 user profile the user picked as a `campaignmanager360` account and returns where to send the user next.

Consumes the `pendingDataToken`; a refused or failed attempt leaves it usable for a retry. Send your API key (or connect token) for the same profile with a headless token.

## Request body

- object
  - `pendingDataToken` string, required: Token from the headless redirect.
  - `cmProfileId` string, required: A profileId from the profiles list.

## Response `200`

The profile is connected, or the connect was refused with a reason in redirect_url

- object
  - `redirect_url` string: Where to send the user next.
  - `account` object, nullable: The connected account, or null when the connect was refused.
    - `accountId` string
    - `platform` string
    - `username` string
    - `displayName` string

## Other responses

- `400`: Invalid request
- `403`: The connect token was issued for a different profile or platform (INSUFFICIENT_PERMISSIONS).
- `404`: The pending sign-in expired or was already used. Start the connect again.
- `500`: Google or Zernio failed while saving. The pendingDataToken stays usable; retry.

## Changes

- **2026-11-22** `3f42bd842dee`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/connect/campaignmanager360/select-profile/post.md)

---

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