Connect your tool to the Sofia API
The Sofia API lets your own software publish on a business's social networks, schedule, list posts and read statistics. A personal key in a header is enough to get started. Each network is judged on its real rules, and a simulation mode tells you in advance what a send would do, without publishing anything.
What you can do
- Publish now, schedule or save a draft with POST /v1/posts, then edit with PATCH as long as the post has not gone out.
- Import a media from an https address or upload it as a file with POST /v1/media, then list the media library.
- Read a business's statistics over the period of your choice with GET /v1/establishments/:id/insights.
- Register a signed webhook with POST /v1/webhooks to be told when a post goes live (post.published) or fails (post.failed).
Step 1
In Sofia, open Settings › API › Personal access, create a key with a name, an expiry and permissions, and copy it: it is only shown once.
Step 2
Send the key in the Authorization: Bearer header of every call, to https://api.sofia-post.com/api/v1.
Step 3
Check the key with GET /v1/me, then get your business's identifier with GET /v1/establishments.
Step 4
Create a post with POST /v1/posts, adding an Idempotency-Key header; add ?dry_run=true to check everything without publishing.
A check call
POST /v1/posts?dry_run=true with one target per account: Sofia answers ready, or refused with the reason for each network, without writing or sending anything.
Still have a question?
Answers to the questions we hear most.
ContactA question or a demo? The team answers quickly.Personal key or OAuth client: which one should I choose?
If you automate your own publishing, take the personal key, which acts as you on all your businesses, and is set up by simply copying it. Only create an application client for a product that other Sofia users will authorize: it acts for the person who authorizes it, and each person can revoke it at any time.
How can I test without publishing anything?
Add ?dry_run=true to POST /v1/posts: Sofia runs the checks of a real post (each network's rules, connected account, media, date and plan) without saving or sending anything. An application in test mode also simulates its posts and reads your real Workspace without ever writing to it: any real write answers 403 live_mode_required.
What are the limits and how do I read errors?
A personal key can make 600 reads per 15 minutes, and 100 writes per hour within a limit of 1,000 per 24 hours. Beyond that, the API answers 429 with Retry-After. Every error has the same JSON shape: a code your program reads, a message for a human, a docUrl that explains the code, and a requestId to give to support.
Other integrations
- Sofia in ClaudePaste one address into Claude, then ask for your posts in plain language.See the integration
- Sofia in ChatGPTAdd Sofia to ChatGPT as a connector and manage your posts from the conversation.See the integration
- Sofia in n8nAn n8n node to publish, schedule and follow your posts from your workflows.See the integration
- Sofia in ZapierConnect Sofia to your other tools: a Zap can publish a post, or react when one goes live.See the integration
- The Sofia CLIPublish, schedule and read your posts from a terminal or a script, with the sofia command.See the integration
Start with Sofia, connect later
The connector for AI assistants is included in every plan, the free one too. Create your account, connect your networks, then plug in the tool you prefer.