---
search:
  tags:
    - Accounts
    - POST
seo:
  description: >-
    Connecting a channel needs a person in a browser. Give the returned…
    Reference for the POST /api/cli/accounts/connect-links endpoint in the
    BrainyShorts API.
sidebar:
  label: Get a link to connect or reconnect a channel
  badge: POST
title: Get a link to connect or reconnect a channel
type: openapi-operation
---
Connecting a channel needs a person in a browser. Give the returned `url` to the user, then poll `GET /api/cli/accounts` until the account appears. The same link reconnects an account whose `token_valid` is false. For `devto` and `hashnode` the page opens with the token field focused. MCP: `brainy_get_connect_link`.

`POST /api/cli/accounts/connect-links`
