---
title: "Connect Account"
method: POST
path: "/api/channels/{channel}/accounts/connect"
tags: ["channels", "channels", "channel-accounts"]
---

# Connect Account

`POST /api/channels/{channel}/accounts/connect`

## Request

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

Connect a new channel account.

Args:
    channel: Channel name
    request: Connection credentials

Returns:
    Account information with connection status

## Path parameters

- `channel` string, required

## Request body

- ConnectAccountRequest: Request to connect a channel account.
  - `display_name` string, nullable
  - `credentials` object, required: Channel-specific credentials
  - `return_to` string, nullable: Browser origin (or full URL) to open after Google OAuth; must be allowlisted

## Response `200`

Successful Response

- SrcApiChannelsCommonAccountResponse: Channel account response.
  - `id` string, required
  - `channel` string, required
  - `display_name` string, required
  - `status` string, required
  - `metadata` object, nullable
  - `created_at` string, nullable
  - `updated_at` string, nullable
  - `phone` string, nullable
  - `accountId` string, nullable
  - `message` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
