OmniSocials Connect: social posting inside your product
OmniSocials Connect lets your product post to social networks for your customers. Your customers connect their social accounts on a page we host, with your name and colour on it. Your server then posts, reads statistics and answers comments for each customer through the API, and receives events on its own webhook.
Connect is in a private beta. Access is on request: use Request access in the Connect console, or ask support.
The words
These docs use each word in one meaning.
- Partner: you, the company that builds Connect into its own product. The examples call it Acme.
- Customer: one customer of yours whose social accounts get connected. The examples use Harbor Coffee, with your own id
hc-1042. In the API a customer iscust_…, orext:hc-1042when you name it by your own id. - Account: one connected social account of a customer, for example Harbor Coffee's Instagram.
- Network: Instagram, TikTok, LinkedIn and the others.
- Team: the people of your company who sign in to the Connect console. Each has a role: admin, developer, billing or viewer.
How it works
- One customer per customer of yours. Your server creates it the first time it is needed, with your own id as
external_id. - A connect link. When the customer wants to connect a social account, your server creates a connect link and opens it. The customer signs in to the networks on the connect page and returns to your product.
- Posts for the customer. Your server calls the posting API and names the customer in the
OmniSocials-Customerheader. Posts, the media library, statistics, the inbox and comment to DM all work this way. - Events on your server. An account that connects or needs a new sign-in, and a post that publishes or fails, arrive as events on your webhook endpoint.
Two APIs
| API | Path | Works on |
|---|---|---|
| Connect API | /connect/v1 | Your whole Connect account: customers, connect links, webhook endpoints, events |
| Posting API | /v1 | One customer per call, named in the OmniSocials-Customer header. These are the endpoints of the OmniSocials API |
Both take the same key, sent as Authorization: Bearer <key>. Keep the key on your server. Never send it to a browser or a mobile app.
Two environments
| Environment | Key prefix | Connect API | Posting API |
|---|---|---|---|
| Sandbox | omsk_org_test_ | https://sandbox-api.omnisocials.com/connect/v1 | https://sandbox-api.omnisocials.com/v1 |
| Live | omsk_org_live_ | https://api.omnisocials.com/connect/v1 | https://api.omnisocials.com/v1 |
In the sandbox, test accounts connect at once and posts are simulated. Nothing there reaches a real social account, and the sandbox is free. Live keys come after we review your account once. See Sandbox and live.
Networks
A connect link can offer instagram, facebook, threads, tiktok, linkedin (a personal profile), linkedin_page (a company page), pinterest, bluesky, mastodon, telegram, discord and x. X shows once you added your own X app, see X through your own app.
What Connect leaves to you
- The screens in your product. The connect page is a full page on our host with your brand. There is no embedded widget.
- Reviews before posting. The approval workflows of the OmniSocials app are not open to Connect keys. Keep drafts and approvals in your product, see Review before posting.
- Messages to your customers. OmniSocials never contacts your customers. A message for one of them, such as a reconnect link, comes to you as a
notification.requestedevent, and you send it by email, SMS or in your product.
Next steps
- Quickstart: a test customer, a test account and a test post in the sandbox, in about five minutes.
- Customers and connect links: the connect page, the return to your product, account states and reconnects.
- Posting for a customer: the
/v1endpoints with the customer header. - Events and webhooks: event types, signatures and test events.
- Set up with your AI: let your assistant walk your team through the setup in a chat.
- Errors and limits: error codes, rate limits and request ids.