Medium
Publishes Markdown or HTML articles to your profile or Medium publications.
Connection note
Connect using a Medium integration token or OAuth2 bearer token. Use list_publications to discover publication IDs.
Specification summary
- Text limit
- 100,000 charactersUnicode graphemes (Intl.Segmenter)
- Media attachments
- Text only (no media attachments)
- Threads and parts
- Single part only
- Authentication
- API keyNo shared central platform app required.
- Approvals and autonomy
- Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish)Default publish:
in_the_loop· Ceiling:on_the_loop - Analytics and API cost
- Allowed for analytics and learningIncluded (no per-call platform API surcharge)
Authentication and token lifecycle
Credentials are encrypted at rest and scoped to the connected channel. You can revoke and scrub stored tokens immediately via POST /v2/channels/disconnect or from the web app; see Data deletion for full revocation and deletion details.
| Variant | Flow | Refresh policy | Platform scopes |
|---|---|---|---|
| Connect with Integration Token | API key | none | None declared |
Content and media constraints
Editor mode: markdown. Minimum text length: 1. Polls: not supported. AI content disclosure: no API disclosure field.
Guardrails, rate limits and compliance
Manifest validation rules
- Hard rule
medium.title_requiredProvide a non-empty story title in settings.title before publishing to Medium.
- Hard rule
medium.tags_limitInclude at most 5 tags per Medium story, each 25 characters or fewer.
- Advice
medium.canonical_urlSet settings.canonical_url to an https:// URL when cross-posting to preserve search attribution.
Queue and rate-limit windows
Worker queue: medium (max 3 concurrent jobs).
| Scope | Operation | Window | Max operations |
|---|---|---|---|
channel | publish | 24 hours | 50 |
Shipped platform guardrails
- forbidApplies to: agent, oauth_client, api_key, user
Medium does not support automated third-party replies (26 R4-N1).
- forbidApplies to: agent, oauth_client, api_key
Automated third-party replies are out of scope (26 R4-N1).
- forbidApplies to: user, api_key, oauth_client, agent
Direct messages are out of scope (constitution §1).
Manifest helper tools
Invoke via POST /v2/providers/invoke_tool or MCP invoke_provider_tool:
- List Medium publications
list_publicationschannels:readList Medium publications the connected author can publish to. Example: {} returns [{"id":"b969ac62a46b","name":"Honeloop Engineering","url":"https://medium.com/honeloop"}].
Publish to Medium
Every call passes the same 12-stage policy gate, manifest preflight check and audit trail. Under the default in_the_loop policy, scheduling returns HTTP 202 ApprovalDiversion until a reviewer approves.
# Draft and schedule for your Medium channel (provider: medium) hl posts create --channels "$CHANNEL_ID" --text "Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00." hl posts schedule "$POST_ID" --version 1 --at 2026-11-26T09:30:00Z hl posts status "$POST_ID"
curl -sS -X POST "https://api.honeloop.example/v2/posts/create" \
-H "Authorization: Bearer $HONELOOP_AGENT_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: create-medium-0001" \
-d '{
"channel_ids": ["0197e3a0-0000-7000-8000-0000000000a5"],
"parts": [
{ "kind": "text", "text": "Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00." }
]
}'Common questions
How does Honeloop count characters for Medium?
Medium allows up to 100,000 characters by default using Unicode graphemes (Intl.Segmenter). Honeloop validates text length before scheduling and rejects over-limit drafts with 400 validation_failed instead of failing after approval.
What media and multi-part formats does Medium support?
Text only (no media attachments). Single part only.
How do authentication and approvals work on Medium?
Medium connects via API key. Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish). Disconnecting the channel immediately revokes and scrubs stored credentials.
What compliance guardrails apply to Medium?
Analytics AI posture is allowed. Cost model: Included (no per-call platform API surcharge). Access status: development access (connects with your own site, bot token, API key or platform app credentials).