---
title: "Connect a WordPress site"
method: POST
path: "/api/v1/channels/connect/wordpress"
tags: ["channels"]
---

# Connect a WordPress site

`POST /api/v1/channels/connect/wordpress`

## Request

- Base URL: `https://api.cadencz.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cadencz.com/api/v1/channels/connect/wordpress`
- Auth: HTTP bearer

Validates a site URL plus an application password and stores the credential encrypted. Application passwords are issued by WordPress core under Users → Profile and are revocable on their own, so there is no OAuth app to register and no review to wait on.

## Request body

- WordPressConnectRequest: Connect a self-hosted or WordPress.com site with an application password.
  - `site_url` string, required: Your site address.
  - `username` string, required: Your WordPress username.
  - `app_password` string, required: Application password from Users -> Profile.
  - `display_name` string, nullable: Optional label for the channel.

## Response `200`

Successful Response

- ChannelRead
  - `id` string, required
  - `workspace_id` string, required
  - `platform` string, required
  - `handle` string, required
  - `display_name` string, nullable, required
  - `avatar_url` string, nullable, required
  - `status` string, required
  - `byo_app` boolean, required
  - `token_expires_at` string, date-time, nullable, required
  - `followers` integer, required
  - `capabilities` object
  - `plan_entitled` boolean
  - `entitlement_status` 'available' | 'plan_paused' | 'disconnected'
  - `plan_pause_reason` 'plan_required' | 'workspace_limit' | 'platform_limit', nullable

## Other responses

- `401`: Missing or invalid Supabase bearer token.
- `422`: Validation Error
- `502`: The upstream provider rejected the request.

---

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