AUTOSOCIALS FOR DEVELOPERS
API and MCP reference
Find every AutoSocials MCP tool by workflow, with its purpose, scope and required inputs, plus the REST API schemas.
Connect your AI agent
Choose your client, then copy and paste the setup prompt into your agent.
Already connected? Open Meta Ads permissions.
MCP workflow chapters
- Social Media MCP for AI agents
Connect a compatible MCP client to review drafts, schedule approved social posts and check each destination in AutoSocials.
- Social Media API for developers
Integrate social media scheduling with the scoped AutoSocials REST API or OAuth MCP. Review publishing permissions and read per-channel status.
- Organic social media content creation
Turn Brand DNA and owned creative into social posts, branded tiles, written LinkedIn drafts, carousel PDFs and rendered videos.
- Social media scheduling and publishing
Resolve live connected accounts, adapt captions, publish or schedule eligible content in bulk, and track each destination and its email notification.
- Meta Ads MCP for Facebook and Instagram campaigns
Research Meta accounts, build private drafts from multiple images and videos, choose ad sets and daily budgets, and review paid campaign delivery.
- Social media research and creator discovery
Find relevant public social profiles, inspect content evidence and research the formats, topics and hooks worth exploring.
- Social media analytics and organic winners
Find measured organic winners, compare social post performance and use the evidence to plan the next content cycle.
- Creator outreach and replies
Bring creator research into outreach campaigns, prepare personalised drafts, review exact messages and follow replies.
- Agency workspaces, team access and billing
Manage clients and leads, review permissions, approve invitations and see current plan, usage and credit allowances.
- Higgsfield image and video API via AutoSocials
Discover and use supported Higgsfield image and video models through the AutoSocials MCP, with private media references and approved credit quotes.
- Virlo social video search API via AutoSocials
Search public TikTok, Instagram and YouTube short-form videos through the AutoSocials Virlo integration and use the linked results in social research.
- Brand Assets and file management
Store, organise, inspect and reuse private media.
- Creation model guides
Browse the integrated image and video models and their controls.
On this page
OpenAPI
The application exposes its API description at https://autosocials.com/openapi.json. Treat the deployed specification as the source of truth for available routes and schemas.
MCP tool reference by workflow
Each workflow chapter lists its tools with their purpose, required OAuth scope and required inputs. Start at https://autosocials.com/developers/social-media-mcp and open the chapter that matches your task. The full schemas and machine-readable tool catalogue are at https://autosocials.com/mcp-tools.json.
Pilot interfaces
Use GET /api/v1/channels (channels:read), GET /api/v1/brand-summary (brand:read), POST /api/v1/written-drafts and POST /api/v1/publication-previews (drafts:write), and GET /api/v1/publication-status (posts:read). Writes require an Idempotency-Key. Written drafts save supplied copy. REST uses workspace API keys. MCP uses OAuth. A workspace owner can grant text-only LinkedIn scheduling (posts:schedule) and a separate Publish now permission (posts:publish). Use the delivery status to confirm publication.
Research and Organic Winners
Read saved reports with research:read. Provider-backed research needs the current workspace scopes, provider access and metered consent. See https://autosocials.com/developers/social-media-research.
The organic analytics tools use saved, measured posts and report freshness. Read the ranking and measurement workflows at https://autosocials.com/developers/social-media-analytics.
Brand Assets over MCP
Request assets:read to browse folders, search files and read saved assets. Request assets:write to create folders, import attachments, upload your own files, and move or rename them. The workflow guide at https://autosocials.com/developers/asset-workflows covers both attachment imports and signed uploads.
Models and workspace credits
Use list_creation_models to browse all registered KIE, Higgsfield and other configured image/video styles. Filter by provider, output or query and follow nextCursor. Availability means provider configuration, not a proven paid generation. creditPricing distinguishes published customer rates from unpriced models.
Use get_creation_model for supported settings, private reference roles and rates. quote_model_asset validates the complete request and returns the exact workspace credits with quoteReference. Show those credits and settings in the host confirmation if it is available, or ask once in chat. After approval, send quoteReference, confirmed true and a stable idempotencyKey to create_model_asset. Clients that use a native confirmation can include approvedCredits.
Follow the job card or use get_model_asset_request at nextCheckAt. The worker saves the untouched original privately even if the chat disconnects and prepares a verified MP4 preview when possible. The status gives the approved credits, video metadata, private playback link and original download. Use the same job and key after reconnecting. Ask support to reconcile an uncertain submission before starting a replacement.
Meta Ads over MCP
Connect Meta in Campaigns. The workspace owner authorises an OAuth connection under their own AutoSocials account, then enables Meta Ads for that connection in Connect your AI Agent → Permissions & webhooks. On an agency connection these checks apply to each chosen workspace.
Use list_meta_ad_accounts, list_meta_campaign_settings and read_meta_ad_insights to inspect connected Meta ad accounts, campaigns, ad sets, ads and performance. Follow nextCursor for additional results.
Use prepare_meta_campaign with up to six supported creatives and a shared daily budget or custom ad sets with individual daily budgets. The website objectives are Traffic, Leads and Sales, subject to campaign and dataset requirements. The full workflow, spending limits, approvals and delivery check are at https://autosocials.com/developers/meta-ads.
Draft and reporting tools require channels:read and the owner’s Meta grant. Live campaign edits additionally require ads:write and action-specific access. Paid launch requires a separate owner allowance and explicit user approval.
Responses and discovery
REST success responses wrap results as { requestId, data }; errors use { requestId, error: { code, message } }, and X-Request-Id is returned in the response headers. Channels data has channels and nextCursor; brand summary data has name, website and voice; a written draft returns postId and status. Preview and status data include previewId, state and snapshot; status also includes post and deliveries. The deployed OpenAPI schema is authoritative for complete fields.
The hosted service exposes a machine-readable tool catalogue at https://autosocials.com/mcp-tools.json. list_workspace_capabilities (channels:read) describes available tools, browser handoffs and limitations. list_publishing_calendar uses schedule:read; list_organic_content_plans and get_organic_content_plan use planning:read. Check the deployed catalogue and grants for availability.
Signed webhook events
The signed webhook event types are post.scheduled, post.queued, post.published, post.failed and post.held. Delivery requires an active worker for the installation. Verify X-AutoSocials-Signature (v1=hex) as HMAC-SHA256 over the exact X-AutoSocials-Timestamp value, a period and the raw request body, using the signing secret. Reject stale timestamps and compare signatures in constant time. X-AutoSocials-Event-Id identifies the event for deduplication.
Current gaps
Check client support and provider delivery separately. A LinkedIn standing grant covers text posts and the owner's selected accounts, limits and expiry. Use AutoSocials to publish approved media.
Permissions and errors
Access is limited to the authorised workspace or the workspaces explicitly approved at agency consent. Follow the deployed specification for authentication, errors, pagination and rate limits; do not assume a successful connection grants permission to publish or change data.
Your first REST request
Use a securely stored workspace key with channels:read. Compare the returned request ID with the API Centre log.
PowerShell
$headers = @{ Authorization = "Bearer $env:AUTOSOCIALS_API_KEY" }
Invoke-RestMethod -Uri "https://autosocials.com/api/v1/channels" -Headers $headerscurl
curl --fail-with-body -H "Authorization: Bearer $AUTOSOCIALS_API_KEY" https://autosocials.com/api/v1/channelsJavaScript
const response = await fetch("https://autosocials.com/api/v1/channels", {
headers: { Authorization: `Bearer ${process.env.AUTOSOCIALS_API_KEY}` },
});
const result = await response.json();
if (!response.ok) throw new Error(result.error?.message ?? "Request failed");
console.log(result.data.channels);Python
import os
import requests
response = requests.get("https://autosocials.com/api/v1/channels", headers={"Authorization": f"Bearer {os.environ['AUTOSOCIALS_API_KEY']}"}, timeout=30)
response.raise_for_status()
print(response.json()["data"]["channels"])