# HeyMySocial documentation

These pages describe how HeyMySocial behaves, exactly: the addresses, the fields, the limits and the error codes. They are written for two kinds of reader, and most pages say at the top which one they are for.

## Who it is for

**People who work through an assistant.** You connect Claude, ChatGPT, Grok, Gemini or a command-line assistant to your workspace and do the work from there. You need the [assistant connector](https://heymysocial.com/docs/assistant) pages: how to connect, how sign-in works, how the tools behave and what the assistant is told to do. You do not need to write any code.

**Developers.** You send events, leads and sales from a website, a form backend or a CRM, or read and create content from your own scripts. You need the [REST API](https://heymysocial.com/docs/api), the [webhooks](https://heymysocial.com/docs/webhooks), the [tracking script](https://heymysocial.com/docs/tracking) and the [file formats](https://heymysocial.com/docs/files).

Both kinds of reader meet the same rules. HeyMySocial runs no AI model of its own, an assistant or an API key can prepare and request but never approve, and a missing number is shown as missing. [Concepts](https://heymysocial.com/docs/concepts) explains those rules once, so the other pages can be short.

## The four addresses

| What | Address | Who uses it |
|---|---|---|
| Assistant connector (MCP) | `https://heymysocial.com/mcp` | An assistant, after sign-in or with a personal key |
| REST API | `https://heymysocial.com/api/v1` | Your own code, with a workspace API key |
| OpenAPI document | `https://heymysocial.com/api/v1/openapi.json` | Code generators and API clients; no key needed to read it |
| Page list for assistants | [llms.txt](https://heymysocial.com/llms.txt) | An assistant that wants to read these pages |

Every guide and every documentation page, except the two generated references (tools and API operations), is also served as plain Markdown: add `.md` to its address. The page list above links to those Markdown versions, so an assistant can read the documentation without parsing a web page.

## Start here

- [Quickstart](https://heymysocial.com/docs/quickstart): three short tracks. Connect an assistant, send your first event with the API, and put the tracking script on your website.
- [Concepts](https://heymysocial.com/docs/concepts): organization and workspace, roles, the demo workspace and the practice channel, evidence tiers, the approval rule, what "N/A" means, money and time zones.
- [Glossary](https://heymysocial.com/docs/glossary): the product's words, one or two sentences each, with a link to the page that explains each one.

## Assistant connector

- [Overview](https://heymysocial.com/docs/assistant): what the connector is and what an assistant gets when it connects.
- [Connect an assistant](https://heymysocial.com/docs/assistant/connect): the steps, by sign-in or with a personal key, and how to check that it works.
- [Sign-in and keys](https://heymysocial.com/docs/assistant/sign-in-and-keys): OAuth with PKCE and dynamic client registration, scopes, token lifetimes, personal keys and revoking.
- [How tools behave](https://heymysocial.com/docs/assistant/how-tools-behave): the workspace argument, safety hints, search and execute, confirmations, error codes and reply conventions.
- [The playbook](https://heymysocial.com/docs/assistant/playbook): the method an assistant reads before it builds a campaign.
- [Prompts](https://heymysocial.com/docs/assistant/prompts): the four ready tasks an assistant can start from.
- [Tool reference](https://heymysocial.com/docs/assistant/tools): one page per tool, 126 in all, with arguments and hints read from the tools themselves.

## REST API

- [Overview](https://heymysocial.com/docs/api): what the API covers today: event ingestion, content drafts and approval requests, ad result import and CRM records.
- [Authentication](https://heymysocial.com/docs/api/authentication): workspace API keys, their scopes and the idempotency header.
- [Errors](https://heymysocial.com/docs/api/errors): the error body and every code.
- [Operations](https://heymysocial.com/docs/api/operations): every operation with its parameters and fields, read from the OpenAPI document.

## Webhooks

- [Overview](https://heymysocial.com/docs/webhooks): which webhooks exist and how they are signed.
- [Tracking webhook](https://heymysocial.com/docs/webhooks/tracking): a signed address per tracking site for leads and later events from your own form or calculator.
- [CRM, inbound](https://heymysocial.com/docs/webhooks/crm-inbound): your CRM tells HeyMySocial what became of a lead.
- [CRM, outbound](https://heymysocial.com/docs/webhooks/crm-outbound): HeyMySocial tells your CRM when a lead changes status.

## Tracking

- [Overview](https://heymysocial.com/docs/tracking): how a click, a visit, a lead and a sale are tied together.
- [The site script](https://heymysocial.com/docs/tracking/script): the two lines for your website and the calls it understands.
- [Consent](https://heymysocial.com/docs/tracking/consent): what is stored and sent before and after a visitor chooses.
- [Tracked links](https://heymysocial.com/docs/tracking/links): short links that carry the campaign with them.
- [Server events](https://heymysocial.com/docs/tracking/server-events): sending lead and sale events from a server.
- [Landing page forms](https://heymysocial.com/docs/tracking/landing-page-forms): the forms on hosted landing pages.

## Files

HeyMySocial imports CSV files where no connection exists. Each format has its own page with the columns it accepts: [overview](https://heymysocial.com/docs/files), [leads](https://heymysocial.com/docs/files/leads), [sales](https://heymysocial.com/docs/files/sales), [ad results](https://heymysocial.com/docs/files/ad-results), [observations](https://heymysocial.com/docs/files/observations) and [CRM records](https://heymysocial.com/docs/files/crm).

## Reference

- [Event types](https://heymysocial.com/docs/reference/event-types): the event types the event log accepts.
- [Lead statuses](https://heymysocial.com/docs/reference/lead-statuses): the statuses a lead moves through.
- [Roles and permissions](https://heymysocial.com/docs/reference/roles-and-permissions): what each role may do.
- [Plan limits](https://heymysocial.com/docs/reference/plan-limits): every limit per plan.
- [Attribution](https://heymysocial.com/docs/reference/attribution): the models and the window.

## Guides

The documentation says how each part behaves. The [guides](https://heymysocial.com/guides) are tasks you can follow in the app from start to finish: your first fifteen minutes, building a campaign with your assistant, installing tracking, following a lead to a sale, importing ad results.

## What is live and what waits

The documentation describes the product as it works today. Publishing to Facebook, Instagram and LinkedIn, ad account sync, the CRM connector and paid checkout are built but switched off, so pages describe the routes that work now: the practice channel, posting by hand and marking a post as published elsewhere, ad results by file, and CRM by webhook or file. The [integrations page](https://heymysocial.com/integrations) lists the state of each connection.
