Build on socialGo
Let AI agents schedule posts through the MCP server, create posts from your own code with the REST API, and get signed webhooks when they publish.
https://app.socialgo.id/api/mcpREST https://app.socialgo.id/api/v1Your first post in three steps
Everything below works with a single API key. No SDK to install.
- Create a keyOn the Pro plan, open Settings › API and generate a key that starts with sg_.
- Pick a way inAdd the MCP server to your AI agent, or call the REST API from a script, n8n, Zapier or Make.
- Review and publishNew posts land in your calendar. Approve, edit or reschedule them like any other post.
One bearer token for everything
Send your API key in the Authorization header on every request. The same key signs your webhooks.
Authorization: Bearer sg_your_api_key
Keep keys on the server. Regenerating a key revokes the old one and clears its queue.
Let any AI agent post for you
socialGo speaks the Model Context Protocol over Streamable HTTP. Point your agent at the server URL with your key.
claude mcp add --transport http socialgo https://app.socialgo.id/api/mcp \ --header "Authorization: Bearer sg_your_api_key"
{
"mcpServers": {
"socialgo": {
"url": "https://app.socialgo.id/api/mcp",
"headers": { "Authorization": "Bearer sg_your_api_key" }
}
}
}Available tools
create_postDraft or schedule a post with a caption, target platforms, an optional time and up to 4 images.list_api_postsList the posts created through the API or MCP, newest first (limit 1 to 100).list_platformsReturn the platform ids socialGo accepts, so the agent never guesses.
Create and list posts
JSON in, JSON out. Posts created here join the same queue as posts from your AI agents.
/api/v1/postsCreate a draft or scheduled post| Field | Type | Description |
|---|---|---|
captionrequired | string | Post text, up to 5,000 characters. |
platformsrequired | string[] | One or more platform ids from the list below. |
scheduledAt | ISO 8601 | When to publish. Omit to save the post as a draft. |
status | "draft" | "scheduled" | Defaults to scheduled when scheduledAt is set, otherwise draft. |
media | string[] | Up to 4 public https image URLs. |
curl -X POST https://app.socialgo.id/api/v1/posts \
-H "Authorization: Bearer sg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"caption": "We just shipped dark mode 🌙",
"platforms": ["x", "linkedin", "threads"],
"scheduledAt": "2026-12-01T09:00:00+07:00"
}'HTTP/1.1 201 Created
{
"data": {
"id": "api_7f3c…",
"caption": "We just shipped dark mode 🌙",
"platforms": ["x", "linkedin", "threads"],
"media": [],
"status": "scheduled",
"scheduledAt": "2026-12-01T02:00:00.000Z",
"createdAt": "2026-11-21T08:12:44.000Z",
"state": "queued"
}
}/api/v1/postsPosts created with this key, newest firstcurl https://app.socialgo.id/api/v1/posts \ -H "Authorization: Bearer sg_your_api_key"
Platform ids
facebookinstagramxlinkedintiktokyoutubethreadspinterestblueskymastodonredditKnow the moment a post goes live
Add your endpoint in Settings › API. socialGo sends a signed POST for every event.
post.published A scheduled post went live.post.failed A platform rejected the post.ping Sent when you test the endpoint.POST https://your-app.com/webhooks/socialgo
X-SocialGo-Event: post.published
X-SocialGo-Signature: sha256=9b1c…
{
"id": "evt_2d41…",
"event": "post.published",
"createdAt": "2026-12-01T02:00:03.000Z",
"data": { … }
}import { createHmac, timingSafeEqual } from "crypto";
// rawBody: the exact request body string, before JSON.parse
export function isFromSocialGo(rawBody, signatureHeader, apiKey) {
const expected = "sha256=" + createHmac("sha256", apiKey).update(rawBody).digest("hex");
const a = Buffer.from(expected);
const b = Buffer.from(signatureHeader || "");
return a.length === b.length && timingSafeEqual(a, b);
}Respond with a 2xx within 10 seconds. Redirects are not followed.
Clear errors, sensible limits
Every error returns JSON with an "error" code and a human-readable "message".
- 400
invalid_jsonThe body is not valid JSON. - 401
unauthorizedThe Authorization header is missing or the key is malformed. - 403
pro_requiredThe key does not belong to an active Pro account. - 422
invalid_inputA field failed validation. The message says which one.
Frequently
Asked Questions
Start buildingDo I need the Pro plan to use the API?
Yes. The MCP server, REST API and webhooks are part of Pro. Free accounts can still use every platform and Nava AI inside the app.
Where do I get an API key?
Open socialGo, go to Settings › API and generate a key. Keys start with sg_ and can be regenerated at any time, which revokes the old one immediately.
When do API posts show up in my calendar?
Posts are queued the moment the API accepts them and are synced into your workspace the next time socialGo is open. From there they follow your normal schedule and approval flow.
Which MCP transport does socialGo use?
Streamable HTTP in stateless mode with JSON responses. It supports protocol versions 2025-06-18, 2025-03-26 and 2024-11-05, so current versions of Claude, Cursor, Codex and other MCP clients connect without extra setup.
Is there a rate limit?
Each key can hold up to 200 unsynced posts in its queue. Open socialGo to sync them and the queue empties again.