---
title: "Link a PERSON opens to connect one OAuth account"
method: POST
path: "/publishing/accounts/connect"
tags: ["Publishing"]
---

# Link a PERSON opens to connect one OAuth account

`POST /publishing/accounts/connect`

## Request

- Base URL: `https://app.makeaivideo.ai/api/v1`
- URL: `https://app.makeaivideo.ai/api/v1/publishing/accounts/connect`
- Auth: HTTP bearer

## Request body

- object
  - `platform` 'tiktok' | 'instagram' | 'youtube' | 'facebook' | 'linkedin' | 'threads' | 'pinterest' | 'bluesky' | 'telegram' | 'discord' | 'x', required: OAuth platforms only. bluesky, telegram and discord return 422 connect_in_web_app.

## Response `200`

Link. A person must open `url` in a browser and approve; afterwards they land on the web app's Accounts page. Poll GET /publishing/accounts for the new account.

- object
  - `data` object
    - `platform` string
    - `url` string, uri
    - `expires_in_seconds` integer
    - `note` string
  - `error` unknown
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time

## Other responses

- `403`: publishing_unavailable
- `409`: account_limit: the plan's account limit is reached (details.limit)
- `422`: connect_in_web_app (Bluesky, Telegram, Discord)
- `502`: The publishing service refused or failed (retryable)

---

[API](https://skmtc.dev/makeaivideo/apis/makeaivideo-api.md) · [All operations](https://skmtc.dev/makeaivideo/apis/makeaivideo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/makeaivideo/apis/makeaivideo-api/revisions/8c6351087d6d?raw)
