For developers and agents
Run your social media with your AI agents
Post content from
Claude
Give the agent you already use the context you approved, your finished media, drafts to review and the results you imported. Connect through MCP or build directly with the REST API.
Choose your AI agent
A short setup guide for each tool, with prompts you can actually use.
For your assistant
Give your agent a clear starting point
Send it the quickstart. It covers the connection, a read-only check, and the steps to verify a post before it goes live.
Paste into your agent
Read ezsocial.co/agent-quickstart.md and help me connect EzSocial. First check my workspaces and connected accounts. Ask before scheduling or publishing.
MCP server
Connect Claude, Cursor or another MCP client. Sign in and approve access in your browser.
Server URL
https://mcp.ezsocial.co/mcpBrowse MCP tools REST API
Build with your own code, n8n or Make. Create an API key and send it as a bearer token.
Base URL
https://api.ezsocial.co/api/v1Browse REST endpoints Start in three steps
- 01
Connect a social account
Connect the platforms you want to publish to in EzSocial.
Open connections - 02
Authorize your tool
Approve your MCP client or create an API key with the scopes you need.
Manage API keys - 03
Create and publish
Create a post, schedule it or publish now. Webhooks report the result.
Free includes read-only API and MCP connection checks. A subscription unlocks content creation, scheduling and publishing within your granted permissions. Manage API and MCP access
Reference
Find a tool, endpoint, permission or webhook event.
MCP tools 99
Grouped here for browsing. Your MCP client sees the full tool list.
Advertising campaigns (private pilot) (20)
- ezsocial_ad_accounts_search_targeting
- ezsocial_ad_accounts_list_posts
- ezsocial_ad_accounts_get_access
- ezsocial_ad_accounts_list
- ezsocial_ad_accounts_get_sync_job
- ezsocial_ad_accounts_sync
- ezsocial_ad_campaigns_get_activity
- ezsocial_ad_campaigns_get_results
- ezsocial_ad_campaigns_list_operations
- ezsocial_ad_campaigns_get_operation
- ezsocial_ad_campaigns_list
- ezsocial_ad_campaigns_create
- ezsocial_ad_campaigns_get
- ezsocial_ad_campaigns_update
- ezsocial_ad_campaigns_list_versions
- ezsocial_ad_campaigns_validate
- ezsocial_ad_campaigns_execute
- ezsocial_ad_campaigns_pause
- ezsocial_ad_campaigns_duplicate
- ezsocial_ad_campaigns_archive
Capabilities (1)
- ezsocial_get_capabilities
Business and jobs (2)
- ezsocial_create_business
- ezsocial_get_job
Business context (11)
- ezsocial_get_context
- ezsocial_list_context_proposals
- ezsocial_propose_context
- ezsocial_list_sources
- ezsocial_create_source_upload
- ezsocial_add_source_text
- ezsocial_add_source_url
- ezsocial_finalize_source
- ezsocial_get_source
- ezsocial_search_brain
- ezsocial_export_brain
Campaigns and decisions (7)
- ezsocial_list_campaigns
- ezsocial_create_campaign
- ezsocial_get_campaign
- ezsocial_update_campaign
- ezsocial_create_experiment
- ezsocial_list_decisions
- ezsocial_propose_decision
Results (5)
- ezsocial_get_results
- ezsocial_list_results_imports
- ezsocial_import_results
- ezsocial_get_results_import
- ezsocial_confirm_results_import
Ads profiles (beta) (5)
- ezsocial_ads_get_access
- ezsocial_ads_get_profile
- ezsocial_ads_update_profile
- ezsocial_ads_confirm_profile
- ezsocial_ads_list_profile_versions
Video projects (beta) (17)
- ezsocial_creative_get_access
- ezsocial_creative_list_projects
- ezsocial_creative_create_project
- ezsocial_creative_get_project
- ezsocial_creative_update_project
- ezsocial_creative_archive_project
- ezsocial_creative_start_operation
- ezsocial_creative_get_operation
- ezsocial_creative_approve_operation
- ezsocial_creative_cancel_operation
- ezsocial_creative_apply_proposal
- ezsocial_creative_list_characters
- ezsocial_creative_create_character
- ezsocial_creative_revise_character
- ezsocial_creative_get_render
- ezsocial_creative_create_post
- ezsocial_creative_create_variant
Workspaces, accounts and brand (4)
- ezsocial_list_workspaces
- ezsocial_list_platforms
- ezsocial_list_accounts
- ezsocial_get_brand_context
Content (12)
- ezsocial_create_post
- ezsocial_list_content
- ezsocial_get_content
- ezsocial_create_content
- ezsocial_update_content
- ezsocial_delete_content
- ezsocial_validate_content
- ezsocial_approve_content
- ezsocial_schedule_content
- ezsocial_unschedule_content
- ezsocial_publish_now
- ezsocial_get_publication_status
AI generation (existing accounts only) (4)
- ezsocial_plan_month
- ezsocial_generate_text
- ezsocial_generate_media
- ezsocial_get_generation
Media (5)
- ezsocial_upload_media
- ezsocial_list_media
- ezsocial_delete_media
- ezsocial_create_media_upload
- ezsocial_finalize_media_upload
Webhooks (6)
- ezsocial_create_webhook
- ezsocial_list_webhooks
- ezsocial_delete_webhook
- ezsocial_list_webhook_deliveries
- ezsocial_ping_webhook
- ezsocial_redeliver_webhook
REST endpoints 100
Paths are relative to the base URL. Each row shows its required scope.
Workspaces and accounts (5)
- GET
/capabilitiesaccounts:readThis key or connection: the account's plan and hub status, its scopes and workspaces, usage, and every operation it may call.
- GET
/workspacesaccounts:readThe brands on the account. Everything else is scoped to one.
- GET
/platformsaccounts:readWhich platforms a workspace can publish to.
- GET
/accountsaccounts:readThe social accounts connected to a workspace.
- GET
/brand-contextaccounts:readBrand voice, audience and DNA. Read it before writing copy.
Business context, campaigns and results (25)
- POST
/businessesbusinesses:createCreate a business workspace within the plan's limit.
- GET
/jobs/:jobIdbrain:readPoll a document read, an export or a results commit: state, progress, next step.
- GET
/brain/contextbrain:readThe approved facts, each with its sources, who confirmed it and whether it is due for review.
- GET
/brain/proposalsbrain:readContext changes waiting for the owner.
- POST
/brain/proposalsbrain:writePropose context changes against an expected revision, with sources. The owner confirms.
- GET
/brain/sourcesbrain:readThe workspace's documents and their reading status.
- POST
/brain/sources/uploadsbrain:writeReserve a private upload for a PDF, Word, text or Markdown file up to 25 MB.
- POST
/brain/sources/textbrain:writeAdd pasted text as a document; read in a job.
- POST
/brain/sources/urlbrain:writeFetch one public web page as a document; no crawling, no login.
- POST
/brain/sources/:sourceId/finalizebrain:writeFinish an upload and start reading it in a job.
- GET
/brain/sources/:sourceIdbrain:readOne document's revisions and status.
- POST
/brain/searchbrain:readSearch the documents. Excerpts come back quoted, with their location, as untrusted source text.
- POST
/brain/exportsbrain:exportStart an export of everything the workspace holds, with a checksum manifest.
- GET
/campaigns/decisionscampaigns:readDecisions, proposed and confirmed, with their evidence.
- POST
/campaigns/decisionscampaigns:writePropose a decision that rests on results, posts or experiments. The owner confirms.
- GET
/campaignscampaigns:readThe workspace's campaigns.
- POST
/campaignscampaigns:writeCreate a campaign with its objective, dates and brief.
- GET
/campaigns/:campaignIdcampaigns:readA campaign with its experiments, decisions and linked posts.
- PATCH
/campaigns/:campaignIdcampaigns:writeUpdate a campaign against its expected revision.
- POST
/campaigns/:campaignId/experimentscampaigns:writeAdd an experiment: hypothesis, variant, the result that decides it and its window.
- GET
/resultsresults:readImported results with coverage and freshness. Organic, paid and business numbers stay apart.
- GET
/results/importsresults:readPast results imports.
- POST
/results/importsresults:importPreview a CSV against a column mapping: every row error, duplicate and post match.
- GET
/results/imports/:importIdresults:readOne import's preview and state.
- POST
/results/imports/:importId/confirmresults:importCommit exactly the previewed import, in a job.
Posts and planning (15)
- GET
/contentcontent:readList content by state, platform or scheduled window.
- POST
/contentcontent:writeCreate a draft. Prefer POST /posts, which also schedules.
- POST
/postscontent:write + publishCreate and schedule across platforms in one call.
- POST
/content/validatecontent:readCheck a post against each platform's rules. Writes nothing.
- POST
/content/approvepublishApprove items waiting in the review queue.
- POST
/planscontent:writePlan a stretch of posts, one a day, written from the brand. Answers 202: the rows exist, their text does not yet.
- GET
/content/:contentIdcontent:readOne item in full, including per-platform variants.
- PATCH
/content/:contentIdcontent:writeEdit text, media, tags or the scheduled time.
- DELETE
/content/:contentIdcontent:writeDelete a post and every publication attached to it.
- POST
/content/:contentId/unschedulepublishTake a scheduled post off the calendar, back to draft.
- POST
/content/:contentId/schedulepublishSet a future date and time. Must be in the future.
- POST
/content/:contentId/publishpublishPublish immediately instead of queueing.
- GET
/content/:contentId/publicationscontent:readPer platform status, including why one failed.
- GET
/publicationscontent:readSweep every publication. The way to find what failed.
- POST
/generate-textcontent:writeWrite on-brand captions, one per platform.
Generation and media (7)
- POST
/generationsai:generateGenerate images or a video from one sentence. Answers 202: the job exists, the media does not yet.
- GET
/generations/:jobIdai:generatePoll one generation. Carries the media ids once it finishes, ready to attach to a post.
- POST
/mediamedia:writeImport media straight from a public URL.
- POST
/media/uploadsmedia:writeStart a local-file upload. Returns a presigned PUT URL.
- POST
/media/uploads/:uploadId/finalizemedia:writeClose the upload and get the media id back.
- GET
/mediamedia:writeThe media library, so you can reuse instead of re-upload.
- DELETE
/media/:mediaIdmedia:writeDelete one media item and detach it from any draft.
Webhooks (6)
- POST
/webhookswebhooks:manageSubscribe an endpoint to publish events.
- GET
/webhookswebhooks:manageList your subscriptions.
- DELETE
/webhooks/:webhookIdwebhooks:manageRemove a subscription.
- GET
/webhooks/:webhookId/deliverieswebhooks:manageEvery delivery attempt, with its response.
- POST
/webhooks/:webhookId/pingwebhooks:manageSend a test event to check the endpoint.
- POST
/webhooks/:webhookId/deliveries/:deliveryId/redeliverwebhooks:manageReplay one delivery that failed.
Permissions
Grant only the scopes your integration needs. Revoke access in the dashboard.
- accounts:read
- See your workspaces, brand profile, and connected social accounts
- content:read
- Read your content and its publishing status
- content:write
- Create and update content drafts on your behalf
- publish
- Schedule and publish posts to your connected accounts
- media:write
- Upload, list and delete media in your library
- webhooks:manage
- Create, list, and delete webhook subscriptions on your behalf
- ai:generate
- Generate images and video with AI, spending your AI credits
- ads:read
- Read Ads product profiles and their revision history
- ads:write
- Edit and confirm Ads product facts without spending credits
- ad_accounts:read
- Read advertising accounts and connection health in the workspaces you choose
- ad_campaigns:read
- Read ad campaigns, operations and paid results in the workspaces you choose
- ad_campaigns:write
- Create and edit ad campaign drafts and pause campaigns in the workspaces you choose
- ads:launch
- Request ad campaign execution and budget changes, subject to approval or owner-enabled Ads autonomy
- businesses:create
- Create new business workspaces within your plan
- brain:read
- Read the approved business context and documents of the workspaces you choose
- brain:write
- Add documents and propose context changes in the workspaces you choose, never confirm them
- brain:export
- Export the business context, documents and records of the workspaces you choose
- campaigns:read
- Read campaigns, experiments and decisions in the workspaces you choose
- campaigns:write
- Create and update campaigns and experiments, and propose decisions, in the workspaces you choose
- results:read
- Read imported results in the workspaces you choose
- results:import
- Import result files in the workspaces you choose
Webhooks
Get notified when a publication or media generation finishes.
- content.published
- A queued post went out. Carries the platform, the post id and the live URL.
- content.publish_failed
- A platform rejected it. Carries the reason the platform gave.
- content.publish_unknown
- The platform was asked but its answer was lost, so the post may be live. It is never retried; check the account and record what happened in EzSocial.
- job.completed
- A hub job (document ingestion, export, results import) finished. Carries the job id, kind, workspace, final state and resource ids; the event id is the job id and state.
- generation.completed
- A generation finished. Carries the media ids, ready to attach to a post.
- generation.failed
- A generation produced nothing. Carries the reason, and the credits were returned.
Verify X-EzSocial-Signature with your webhook secret. Dedupe retries using X-EzSocial-Delivery-Id.