# Ayrshare Post To Bluesky

Blocks for posting content to Bluesky using the Ayrshare social media management API.

## Post To Bluesky

### What it is

Post to Bluesky using Ayrshare

### How it works

This block uses Ayrshare's social media API to publish content to Bluesky. It handles text posts (up to 300 characters), images (up to 4), and video content with support for scheduling, accessibility features like alt text, and link shortening.

The block authenticates through your Ayrshare credentials and sends the post data to Ayrshare's unified API, which then publishes to Bluesky. It returns post identifiers and status information upon completion, or error details if the operation fails.

### Inputs

| Input              | Description                                                                         | Type            | Required |
| ------------------ | ----------------------------------------------------------------------------------- | --------------- | -------- |
| post               | The post text to be published (max 300 characters for Bluesky)                      | str             | No       |
| media\_urls        | Optional list of media URLs to include. Bluesky supports up to 4 images or 1 video. | List\[str]      | No       |
| is\_video          | Whether the media is a video                                                        | bool            | No       |
| schedule\_date     | UTC datetime for scheduling (YYYY-MM-DDThh:mm:ssZ)                                  | str (date-time) | No       |
| disable\_comments  | Whether to disable comments                                                         | bool            | No       |
| shorten\_links     | Whether to shorten links                                                            | bool            | No       |
| unsplash           | Unsplash image configuration                                                        | str             | No       |
| requires\_approval | Whether to enable approval workflow                                                 | bool            | No       |
| random\_post       | Whether to generate random post text                                                | bool            | No       |
| random\_media\_url | Whether to generate random media                                                    | bool            | No       |
| notes              | Additional notes for the post                                                       | str             | No       |
| alt\_text          | Alt text for each media item (accessibility)                                        | List\[str]      | No       |

### Outputs

| Output       | Description                           | Type         |
| ------------ | ------------------------------------- | ------------ |
| error        | Error message if the operation failed | str          |
| post\_result | The result of the post                | PostResponse |
| post         | The result of the post                | PostIds      |

### Possible use case

**Cross-Platform Publishing**: Automatically share content across Bluesky and other social networks from a single workflow.

**Scheduled Content Calendar**: Queue up posts with specific publishing times to maintain consistent presence on Bluesky.

**Visual Content Sharing**: Share image galleries with accessibility-friendly alt text for photo-focused content strategies.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://agpt.co/docs/integrations/block-integrations/post_to_bluesky.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
