# Patreon: post by hand

Patreon is **BY HAND**, not automatic publishing. Flaghand prepares a post its owner confirms, then reminds them at
the chosen time. The person publishes it on Patreon. Patreon's public API cannot create posts; Flaghand never uses
private editor APIs or browser automation to publish through a person's account.

## Connect a creator campaign

Use `startConnection` with `platform: "patreon"`, or `POST /api/v1/workspaces/{workspace}/connections/patreon/start`.
CLI: `flaghand connections start patreon --json`. This needs `connections` scope; otherwise the owner connects in Settings.
Relay the returned `for_person` unchanged with `url`, then wait on the same `getConnectionAttempt` (`flaghand connections
wait cat_… --json`). Only the person signs in to Patreon and authorizes access.

The connection is pinned to the creator's campaign. Read it with `listConnections` and use that active connection's
explicit `connection_id` on every Patreon draft. `profile.campaign` identifies the campaign; `profile.tiers` lists
its tiers; `profile.webhook_enabled` says whether Patreon publish notifications are available. Never choose a campaign
or tier by its position in a list, or silently move a draft to another connection.

OAuth v2 requests `identity`, `campaigns` and `campaigns.posts`. `w:campaigns.webhook` lets Flaghand register its
optional publish-notification webhook. Without that permission, confirmation uses campaign-post reads instead.
No email, membership, member-list or member-address permission is requested. These permissions do not allow post creation.

## Draft and check

Upload any images to the workspace first, then create `kind: "patreon_post"` with this body:

```json
{
  "kind": "patreon_post",
  "connection_id": "con_PATREON",
  "post_at": "2026-11-10T17:00:00Z",
  "body": {
    "title": "This week's studio notes",
    "text": "Here is what we made this week.",
    "media": [{ "media_id": "med_IMAGE" }],
    "link_url": "https://example.com/studio-notes",
    "access": "tier",
    "tier_id": "123456",
    "by_hand": "all"
  }
}
```

`title` and `text` are the Patreon post's title and plain-text content. `media` contains uploaded image references;
use an empty array for a text post. `link_url` is an optional link attachment; include it in Patreon's link field,
not only in the copied text. Confirmation checks that attachment when provided. `access` is `"public"`, `"patrons"` or `"tier"`;
`"tier"` requires a `tier_id` from the connected campaign. Omit `tier_id` for the other access choices.
`by_hand: "all"` is required: it is not an option to turn automatic publishing on.

HTTP: `POST /api/v1/workspaces/{workspace}/drafts`. MCP: `createDraft`. CLI, with that JSON in `patreon-draft.json`:

```sh
flaghand drafts create -d '@patreon-draft.json' --json
flaghand drafts check drf_PATREON --mode schedule --json
```

Use the actual draft ID and current `rev`. Check with `checkDraft`, fix any blocking problems, and say plainly that
the owner must copy the confirmed title and text, upload the confirmed images, select the confirmed audience and publish
in Patreon. The preview is a preparation aid, not a pixel-exact reproduction of Patreon's editor or live page.

## Owner confirmation before the handoff is scheduled

Every Patreon post needs the owner's passkey confirmation **before scheduling**, even with an active plan and a future
time. Direct `schedulePost` is forbidden. `createPost` and `requestApproval` return an `approval_url`; give it to the
owner and stop for their decision. A successful request alone does not mean a Patreon handoff is scheduled or posted.

For an existing checked draft, MCP `requestApproval` or `POST /api/v1/workspaces/{workspace}/approval-requests`:

```json
{
  "items": [{ "draft_id": "drf_PATREON", "rev": 1, "mode": "schedule" }],
  "note": "Patreon BY HAND: at the chosen time, copy this post, upload its images, select the confirmed tier and publish on Patreon."
}
```

Use the draft's current revision, not the example's `1`. CLI: `flaghand approvals request drf_PATREON --mode schedule
--note "Patreon BY HAND: the owner publishes the confirmed post in Patreon." --json`.

To draft, check and request the owner's decision together, `createPost` (`POST …/posts`, CLI `flaghand posts create`)
takes the same draft object inside `drafts`, with `"mode": "schedule"` on that item. Use a fresh idempotency key for
the plan. `post_at` is the future handoff time, not an automatic Patreon publish time. `post_now` requests an immediate
handoff only after the owner's passkey confirmation; it never publishes. `mode: "approve"` is refused: choose a handoff time.

Editing confirmed content or changing its handoff time needs a fresh owner decision. Do not bypass owner confirmation through
direct scheduling or a manual posted-link record.

## At the chosen time

The job waits for the person; it is **not posted**. Read `getDraft` or `getJob` for the `hand_off` built from the exact
confirmed snapshot:

- `title`, `text`, `media`, `link_url`, `access` and `tier_id`: what the owner confirmed, not a later mutable draft.
- `for_person`: the instructions to relay unchanged.
- `url`: `https://www.patreon.com/posts/new`, also exposed as `handoff_url`.

The link opens Patreon's composer; it does not fill or submit it. The person selects the connected campaign, copies
the confirmed content, uploads the supplied images, adds any confirmed link attachment, checks the audience or tier and
presses Publish themselves.
The schedule, a confirmation and opening this link are never proof of publication.

Flaghand emits `patreon.handoff_ready` and notifies the owner. An agent can subscribe to that action through the
workspace's [signed webhooks](https://app.flaghand.com/docs/agents.md#signed-webhooks), with `webhooks` scope, or read `listEvents`.
The event targets the job and carries `platform: "patreon"`, `draft_id` and `handoff_url`; fetch `getDraft` or `getJob`
for the confirmed `hand_off`. Do not substitute text from the event or the current editable draft.

## Confirmation and honest results

A signed Patreon `posts:publish` webhook, or a fallback read of the connected campaign's posts, can confirm publication.
Flaghand accepts only one uniquely matching post: the same campaign, title, plain-text content and access, including
the chosen tier and link attachment where applicable, published after the handoff. An old, different, ambiguous or unreadable post is not proof.

`job.result.patreon` exposes `handoff_at`, `confirmed_at`, `not_posted_yet`, `images_verifiable` and
`confirmation_source`. `patreon.confirmed` targets the job with `source: "webhook"` or `"readback"` and
`images_verifiable`; the ordinary `job.posted` event follows. Give the person the confirmed post link.

Image posts can be confirmed from the exposed textual fields, but Patreon does not expose original-media evidence.
For them, report **"Posted; images not verifiable via Patreon API"**. Never claim that images, crop, placement or the
complete live appearance match the confirmed files. Textual confirmation is not pixel fidelity.

If no unique match appears within a day of the handoff, the status is **"Not posted yet"**, not posted or a successful
send. Keep that distinction when reporting through HTTP, MCP or CLI. Do not retry a publication: Flaghand never
publishes to Patreon in the first place. The owner checks Patreon before publishing anything again.

## Storage and removal

Flaghand keeps the connected identity, campaign and tiers, encrypted OAuth access and refresh tokens, and any
webhook registration and signing secret. It reads candidate posts to compare publication with the confirmed handoff,
and keeps confirmation status and a confirmed post's ID and link with the job. Drafts, confirmed snapshots and uploaded
images follow the workspace's ordinary storage and deletion rules.

Disconnecting cancels pending jobs and removes the local login, campaign profile and webhook secret; Flaghand also
asks Patreon to remove its webhook. Removing the local connection is not proof that Patreon revoked the OAuth grant:
manage that access in Patreon too. Deleting a workspace follows the same export and deletion rules as its other content.
Nothing here deletes a post on Patreon; the person manages live posts there.

## Patreon sources

Checked November 7, 2026:

- [Patreon API v2 reference](https://docs.patreon.com/): OAuth scopes, campaign/tier/post reads and publish webhooks.
- [Creating Posts Via API, Patreon Developers](https://www.patreondevelopers.com/t/creating-posts-via-api/11305):
  the public API does not create posts.
