# OmniSocials Connect: social posting inside your product

> Index of all OmniSocials docs pages: https://docs.omnisocials.com/llms.txt

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.

:::note
Connect is in a private beta. Access is on request: use **Request access** in the Connect console, or ask [support](https://omnisocials.com/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 is `cust_…`, or `ext:hc-1042` when 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

1. **One customer per customer of yours.** Your server creates it the first time it is needed, with your own id as `external_id`.
2. **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.
3. **Posts for the customer.** Your server calls the posting API and names the customer in the `OmniSocials-Customer` header. Posts, the media library, statistics, the inbox and comment to DM all work this way.
4. **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](https://docs.omnisocials.com/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](https://docs.omnisocials.com/connect/sandbox-and-live.md).

## 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](https://docs.omnisocials.com/connect/connect-links.md#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](https://docs.omnisocials.com/connect/posting.md#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.requested` event, and you send it by email, SMS or in your product.

## Next steps

- [Quickstart](https://docs.omnisocials.com/connect/quickstart.md): a test customer, a test account and a test post in the sandbox, in about five minutes.
- [Customers and connect links](https://docs.omnisocials.com/connect/connect-links.md): the connect page, the return to your product, account states and reconnects.
- [Posting for a customer](https://docs.omnisocials.com/connect/posting.md): the `/v1` endpoints with the customer header.
- [Events and webhooks](https://docs.omnisocials.com/connect/webhooks.md): event types, signatures and test events.
- [Set up with your AI](https://docs.omnisocials.com/connect/mcp.md): let your assistant walk your team through the setup in a chat.
- [Errors and limits](https://docs.omnisocials.com/connect/errors-and-limits.md): error codes, rate limits and request ids.
