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

# Post to Social

> Publish content to connected social media platforms.

Publish a post to one or more connected social media platforms.

## Endpoint

```
POST /functions/v1/post-to-social
```

## Request body

| Parameter   | Type      | Description                                          |
| ----------- | --------- | ---------------------------------------------------- |
| `platforms` | string\[] | Target platforms (e.g., `["instagram", "facebook"]`) |
| `caption`   | string    | Post caption                                         |
| `media_url` | string    | URL of the image or video to post                    |
| `hashtags`  | string\[] | Hashtags to include                                  |

## Response

```json theme={null}
{
  "results": {
    "instagram": { "success": true, "post_id": "..." },
    "facebook": { "success": true, "post_id": "..." }
  }
}
```
