Interaction schema for comments, DMs, mentions, and reviews across every connected platform.
This walks you from zero to a published post in seven steps. By the end you will have a working API key, a connected social account, a comment listed and replied to, and a post live on at least one platform. Total time: about five minutes if your social account is ready, ten if you need to create one.
1. Create your account
Sign up at app.social-api.ai. Verify your email and log in. Not sure which plan you need? See plans and pricing.2. Get an API key
In the dashboard, go to Keys, then New Key. Give it a name and click Create. Store it in your environment:3. Connect a social account
No platform developer app required. Click Connect and you’re authorizing through SocialAPI’s pre-approved app. Twitter is the one exception - it requires a one-time BYOK setup. See Platform credentials for the full story.
auth_url. Redirect the user there to complete OAuth.
4. List your accounts
id. You’ll use it to scope inbox queries and publish posts.
5. Read your inbox
List posts that have comments:6. Reply to a comment
7. Publish a post
Create a post and publish it to one or more platforms:account_id, no platform field is required. Set scheduled_at instead of publish_now to queue the post for later. Omit both to save as a draft.
Omitting
scheduled_at does not publish immediately, you must pass "publish_now": true. A post created without publish_now or scheduled_at is saved as a draft (drafts are free, no post credit is charged). To publish an existing draft later, call POST /v1/posts/{pid}/publish.Publish a post with an image
Text-only posts need just the call above. To attach an image, upload it first, verify it, then pass its ID inmedia_ids (a flat array of strings). This is a four-step flow:
media_ids, a flat array of ID strings. A raw image URL, or a different shape such as media: [{ "media_id": "..." }], is not applied, and the post publishes without the image. Skipping step 3 leaves the media pending, and the publish fails rather than posting without it. See Media uploads for videos, carousels, and the server-side upload path.
What you just built
You now have a working integration: an API key authenticated through SocialAPI, a connected social account whose tokens we manage for you, the ability to read and respond to comments, and the ability to publish posts. Everything else in the docs builds on these primitives. If you want to understand the data model behind what you just used, read Core concepts. It explains the five nouns the API exposes (Brand, which pricing calls a social profile, plus Account, Post, Interaction, and Capability) in about five minutes.Where to go next
Core concepts
Brand, Account, Post, Interaction, Capability.
Authentication
API keys, JWTs, and OAuth tokens.
Publishing
Per-platform fields, media constraints, scheduling.
Pagination
Page through large result sets with cursors.
Webhooks
Get notified of new comments, messages, and events.
Platform support
Capabilities by platform.