API guide
First comments
A post can carry a first comment: text that goes up under the post as soon as the post is live, from the same account. Use it to keep hashtags or a link out of the post itself. Send it as content.first_comment on POST /v1/posts, or type it into the box under the post text in the console.
curl -X POST https://api.relay.rutba.io/v1/posts \
-H "Authorization: Bearer $RELAY_API_KEY" \
-H "Idempotency-Key: release-4-1" \
-H "content-type: application/json" \
-d '{
"content": {
"text": "Version 4.1 is out, with faster exports and a calendar view.",
"first_comment": "Release notes: https://example.com/changelog/4-1 #changelog #opensource"
},
"platforms": ["bluesky", "mastodon", "telegram"]
}'Where it works
Destinations that take a first comment today
This list is read from the live catalogue, the same one GET /v1/platforms returns. A destination is on it when it can be connected now and its capabilities.comments.firstComment is true. A post to anywhere else goes out without the comment.
Bluesky
Social network
A reply to the post. Relay cuts it to Bluesky’s 300 characters.
Mastodon
Federated network
A reply to the post.
Telegram
Community and chat
A second message in the channel, sent as a reply to the post, so subscribers see it as a new message.
WordPress
Publishing
A comment on the article, from the connected user. Your site’s comment settings decide whether it shows at once or waits for approval.
- test destination
Sandbox
Testing
A recorded reply that reaches nobody, so you can test the whole flow.
What happens
The post comes first
The comment is sent once the platform has accepted the post. That order decides most of how it behaves.
- The comment goes up right after the post, from the account that published it.
- It never fails the post. The post is already live when the comment is sent, so the delivery reads
succeededwhatever became of the comment. - It is never added to the post text. Putting the hashtags or the link back into the post is what a first comment is there to avoid.
- A comment that fails is not retried. The delivery says why it failed, and
remote_idis the post’s id on the platform, so you can add the comment yourself if you want. - Each platform’s own length limit applies. Relay shortens a Bluesky comment to its 300 characters, and it still reads
posted. Elsewhere a comment the platform will not take comes back asfailed.
Mixed destinations
When a destination cannot take one
A post often goes to some destinations that take a first comment and some that do not. What happens to the others depends on validation, and you can see it before publishing with POST /v1/posts/preview.
lenient, the default
The post still goes to that destination, without the comment. The response lists a not_supported warning on first_comment for it, and its delivery later reports unsupported.
strict
That destination is refused: its delivery is rejected and the post goes only to the others. If no destination is left, the whole request is refused with validation_failed.
Reading what happened
One answer per destination
Every delivery carries a first_comment field. It is null when the post asked for no comment, so a comment you never sent is never confused with one that was dropped.
| status | What it means |
|---|---|
| posted | The comment is up. id is its id on the platform. |
| unsupported | The destination takes no first comment, so it was left off. |
| failed | The platform did not take the comment, and error says why. The post itself is live. |
The delivery.succeeded webhook carries the same first_comment object, and only when the post asked for one. Events for a post without a comment are exactly as they were.
{
"id": "…",
"platform": "mastodon",
"platform_label": "Mastodon",
"connection_id": "…",
"status": "succeeded",
"attempts": 1,
"remote_id": "113487…",
"remote_url": "https://…",
"error": null,
"error_code": null,
"scheduled_for": null,
"completed_at": "2026-11-13T09:00:03.120Z",
"first_comment": { "status": "posted", "id": "113487…" }
}In the console
The same thing, without code
The composer has a first comment box under the post text. The line under it names the chosen accounts that will carry the comment and the ones that will leave it off, before you publish. Afterwards, each destination on the post’s page has one line saying what became of the comment.
Every field, on one page
The field is in the API reference under POST /v1/posts, with the rest of the post’s content.