Docs
REST API reference
Use the same service capabilities with explicit inputs, permissions and results.
104 operations in the current generated reference.
Use the documented endpoint
Call the tool endpoint under /api/v1 with the documented authentication and input. Use the generated OpenAPI document for current request and response schemas.
Make retries deliberate
For create_content and create_post, use the supported idempotency key when retrying the same operation. A conflicting input with the same key is refused. Read the exact replay scope in the agent guide.
Respect permissions and confirmation
API access does not bypass workspace permissions, required review or publishing confirmation. A person confirms before anything goes live, unless you let a specific agent publish on its own (Autopilot).
Handle errors before continuing
Read the returned error and stop dependent actions when a request fails. Do not describe a request as scheduled or published until its returned state confirms that outcome.
Client behavior and result limits
- Transport: stateless Streamable HTTP, POST only. Both MCP generations are served on the same URL: - 2026-07-28:
server/discover, the per-request_metaenvelope, and theMCP-Protocol-Version,Mcp-MethodandMcp-Nameheaders. - 2025-11-25 back to 2024-11-05: theinitializehandshake. - Authorization follows the MCP 2026-07-28 authorization spec: - Protected resource metadata at
/.well-known/oauth-protected-resource/mcpand at the root. - Authorization server metadata at/.well-known/oauth-authorization-server. - Client ID Metadata Documents are preferred. Dynamic Client Registration is kept for older clients. - PKCE withS256only.resource(RFC 8707) binds each token to/mcpor/api/v1.issis sent in every authorization response (RFC 9207). - One scope,
agent. What an agent may do is decided per workspace by the person, not by scopes: access, read-only, and Autopilot with its channels and daily limit. A read-only token keepstools/listunchanged; write tools refuse it withforbiddenand a sentence saying it is read-only. - Errors: - An unknown tool is a JSON-RPC error
-32602. - A tool that fails returnsisError: truewith a text block<code>: <message>, for exampleforbidden: ...orconfirmation_required: .... - Retries:
create_contentandcreate_posttake an optionalidempotencyKey(on REST also theIdempotency-Keyheader). The same key from the same agent in the same workspace within 24 hours returns what the first call created (replayed: true) and creates nothing; the same key with a different input is refused (idempotency_conflict). Scheduling is already idempotent throughschedule_versions'confirmationToken. - Near duplicates:
get_publish_planlistsnearDuplicatesand anear_duplicatewarning when a version's text is nearly the same as a post published in the last 30 days or scheduled on the same channel. It never blocks; show it to the person. - Server identity (MCP
Implementation): nameheyeveryone, the version of@heyeveryone/mcp, a one-linedescription,websiteUrl(the app's origin) andicons(/icon.svg). The instructions start with the rules that keep people safe: "Humans publish", the confirmation step and credits, all in the first 512 characters. - Size (HEY-70, HEY-145):
tools/listsends nooutputSchemaand compact input schemas (no regex next to aformat): 104 tools in about 126,000 characters (HEY-156). Tests keep it at 120 tools or fewer (VS Code allows 128 across all of a person's servers) and 140,000 characters, with 12 tools and 10,000 characters of headroom (D-431). Results still carrystructuredContentand the same JSON as text. Full output schemas are inapps/web/src/generated/mcp-tools.jsonand the OpenAPI document. - Renamed and merged tools (D-431): 19 tools became parameters of others (for example
get_campaign_resultsisget_resultswithgroupBy: campaign). MCP lists only the new names. The old REST paths still answer until the next release: they run the new tool, return its result and sendDeprecationandLinkheaders. The tool surface freeze (HEY-156, D-470) then renamed tools to brand words (create_pieceiscreate_content,update_masterisupdate_original) and merged four more, with no aliases. Both tables are in docs/agents/tool-changes.md. - Result size: a query result over 75,000 characters (Claude Code's 25,000 tokens, conservatively) is refused with
result_too_large: ...saying how to ask for less (a smallerlimit, a shorterfrom/to, a filter). Mutations are never refused for size.query_contentpages at 40 rows for agents (a largerlimitis lowered;nextCursorsays there is more). REST is not limited this way.
Request limits
| Limit | Default | Counts |
|---|---|---|
agent | 120 a minute | every request of one agent (the agent a token belongs to, so refreshing a token doesn't reset it) |
heavy | 30 a minute | on top, per agent: calls of tools that cost credits or reach outside heyeveryone (publishing, URL fetches, platform checks; tools/list marks them with openWorldHint or a credit note) |
account | 600 a minute | every agent request of one account, all its agents together |
ip | 600 a minute | every request from one address (an IPv6 /64), signed in or not |
A refused request returns HTTP 429 with Retry-After in seconds. Wait that long, then retry.
Operations
- POST /adapt_content
Adapt content to its channels
- POST /add_comment
Comment on content
- POST /add_source
Add a source to content
- POST /add_to_queue
Add posts to the queue
- POST /archive_content
Archive content
- POST /ask_workspace
Ask heyeveryone
- POST /build_voice_profile
Build the voice profile
- POST /cancel_ai_run
Stop an AI run
- POST /cancel_schedule
Cancel a post's schedule
- POST /check_channel_health
Check a channel account's connection
- POST /connect_sandbox_account
Connect a Sandbox account
- POST /create_content
Create content
- POST /create_content_from_template
Create content from a template
- POST /create_post
Create a post for a channel
- POST /create_post_kit_link
Create a post kit link
- POST /create_workspace
Create a workspace
- POST /delete_media
Delete media
- POST /delete_snippet
Delete a snippet
- POST /delete_template
Delete a template
- POST /discard_empty_content
Discard empty content
- POST /draft_from_sources
Draft from sources
- POST /export_results_csv
Export results as CSV
- POST /find_post_on_channel
Find a post on its channel
- POST /follow_original
Link a channel version to the original
- POST /generate_alt_text
Generate alt text
- POST /get_activity
Get a content item's activity
- POST /get_billing
Get plan and billing
- POST /get_calendar
Get the calendar
- POST /get_channel_capabilities
Get channel capabilities
- POST /get_content
Get a content item
- POST /get_history
Get version history
- POST /get_media_upload_request
Check a file upload
- POST /get_notification_preferences
Get notification preferences
- POST /get_post_status
Get a post's publishing status
- POST /get_publish_plan
Get the publish plan of content
- POST /get_results
Get results
- POST /get_tiktok_creator_info
Get a TikTok account's creator info
- POST /get_transcript
Get a transcript
- POST /get_voice_profile
Get the voice profile
- POST /get_workspace
Get a workspace
- POST /import_content
Import content
- POST /link_post_to_channel_post
Link a post to its live post
- POST /list_ai_runs
List AI runs
- POST /list_channel_accounts
List channel accounts
- POST /list_comments
List comments
- POST /list_credit_ledger
List credit history
- POST /list_imports
List imports
- POST /list_live_post_comments
List comments on a published post
- POST /list_media
List media
- POST /list_members
List workspace members
- POST /list_notifications
List notifications
- POST /list_proposals
List suggestions
- POST /list_queue_slots
List queue slots
- POST /list_recent_content
List recently opened content
- POST /list_snippets
List snippets
- POST /list_sources
List sources
- POST /list_templates
List templates
- POST /list_updates
List updates
- POST /list_webhook_endpoints
List webhook endpoints
- POST /list_workspaces
List workspaces
- POST /mark_notifications_read
Mark notifications read
- POST /mark_post_published_manually
Mark a post as posted by hand
- POST /preview_ai_cost
Preview an AI action's cost
- POST /preview_import
Preview an import
- POST /propose_content
Suggest new content
- POST /propose_edit
Suggest an edit
- POST /publish_now
Publish a post now
- POST /query_content
Query content
- POST /refresh_tiktok_creator_info
Read a TikTok account's creator info again
- POST /remove_source
Remove a source
- POST /request_media_upload
Ask the person for a file
- POST /request_post_removal
Ask a person to delete a live post
- POST /request_review
Ask for a review
- POST /request_schedule
Schedule a post at a time
- POST /reschedule_post
Move a post to another time
- POST /resolve_comment
Resolve a comment
- POST /retry_post
Retry publishing a post
- POST /revoke_link
Revoke a link
- POST /rewrite_text
Rewrite text
- POST /save_snippet
Save a snippet
- POST /save_template
Save a template
- POST /schedule_versions
Schedule or post several channel versions
- POST /set_content_status
Move content to a board column
- POST /set_cover
Set a video's cover
- POST /set_evergreen
Mark content evergreen
- POST /set_queue_slots
Set queue slots
- POST /set_recurrence
Repeat content
- POST /skip_post
Skip a post
- POST /start_channel_connect
Start connecting a channel
- POST /suggest_angles
Suggest angles
- POST /suggest_posting_slots
Suggest posting times
- POST /transcribe_media
Transcribe media
- POST /try_voice_profile
Try the voice on a sample
- POST /update_content
Update content
- POST /update_media
Update media
- POST /update_original
Update the original draft
- POST /update_post
Update a post
- POST /update_sandbox_settings
Set Sandbox failure switches
- POST /update_source
Edit a source
- POST /update_voice_profile
Edit the voice profile
- POST /update_workspace
Change workspace settings
- POST /upload_media_from_url
Upload media from a URL
- POST /validate_post
Check a post against a platform's rules
- POST /whoami
Who am I