> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sapt.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Endpoint index

> Every organic social endpoint on the public API, generated from the live OpenAPI document.

Every organic social endpoint the public API exposes — **27** of them. Ads
endpoints live under `/socials/ads/…` and are listed in the
[API reference](/api-reference/socials/create-post) under **Ads**.

## Accounts

| Method | Path                            | What it does                   |
| ------ | ------------------------------- | ------------------------------ |
| `GET`  | `/socials/accounts/{projectId}` | List connected social accounts |

## Media

| Method   | Path                                                  | What it does        |
| -------- | ----------------------------------------------------- | ------------------- |
| `PUT`    | `/socials/media/{projectId}/stream-upload`            | Stream media upload |
| `DELETE` | `/socials/posts/{projectId}/{postId}/media/{mediaId}` | Delete post media   |

## Posts — create, schedule, publish

| Method   | Path                                          | What it does             |
| -------- | --------------------------------------------- | ------------------------ |
| `POST`   | `/socials/posts/{projectId}`                  | Create post              |
| `GET`    | `/socials/posts/{projectId}`                  | List scheduled posts     |
| `GET`    | `/socials/posts/{projectId}/{postId}`         | Get scheduled post       |
| `PUT`    | `/socials/posts/{projectId}/{postId}`         | Update scheduled post    |
| `DELETE` | `/socials/posts/{projectId}/{postId}`         | Delete scheduled post    |
| `POST`   | `/socials/posts/{projectId}/{postId}/publish` | Publish post immediately |
| `GET`    | `/socials/posts/{projectId}/{postId}/status`  | Get post status          |

## Comments

| Method   | Path                                                        | What it does                  |
| -------- | ----------------------------------------------------------- | ----------------------------- |
| `DELETE` | `/socials/comments/facebook/{projectId}/{commentId}`        | Delete Facebook comment       |
| `POST`   | `/socials/comments/facebook/{projectId}/{commentId}/hide`   | Hide/unhide Facebook comment  |
| `POST`   | `/socials/comments/facebook/{projectId}/{commentId}/reply`  | Reply to Facebook comment     |
| `GET`    | `/socials/comments/facebook/{projectId}/{postId}`           | Get Facebook comments         |
| `DELETE` | `/socials/comments/instagram/{projectId}/{commentId}`       | Delete Instagram comment      |
| `POST`   | `/socials/comments/instagram/{projectId}/{commentId}/hide`  | Hide/unhide Instagram comment |
| `POST`   | `/socials/comments/instagram/{projectId}/{commentId}/reply` | Reply to Instagram comment    |
| `GET`    | `/socials/comments/instagram/{projectId}/{mediaId}`         | Get Instagram comments        |

## Engagement

| Method   | Path                                                           | What it does                     |
| -------- | -------------------------------------------------------------- | -------------------------------- |
| `POST`   | `/socials/engagement/facebook/{projectId}/{postId}/comments`   | Create comment on Facebook post  |
| `POST`   | `/socials/engagement/facebook/{projectId}/{postId}/like`       | Like Facebook post as Page       |
| `DELETE` | `/socials/engagement/facebook/{projectId}/{postId}/like`       | Unlike Facebook post as Page     |
| `DELETE` | `/socials/engagement/facebook/{projectId}/{postId}/published`  | Delete published Facebook post   |
| `POST`   | `/socials/engagement/instagram/{projectId}/{mediaId}/comments` | Create comment on Instagram post |

## Analytics

| Method | Path                                                         | What it does                      |
| ------ | ------------------------------------------------------------ | --------------------------------- |
| `GET`  | `/socials/analytics/facebook/{projectId}/{accountId}`        | Get Facebook Page analytics       |
| `GET`  | `/socials/analytics/facebook/{projectId}/{accountId}/posts`  | Get Facebook Page posts analytics |
| `GET`  | `/socials/analytics/instagram/{projectId}/{accountId}`       | Get Instagram account analytics   |
| `GET`  | `/socials/analytics/instagram/{projectId}/{accountId}/media` | Get Instagram media analytics     |
