---
title: "Posts on Any Server: Mastodon Post API"
description: "Publish text, images, video and threads to any Mastodon server with the AdaptlyPost Mastodon post API. One REST call, first comments and per-network results."
url: "https://adaptlypost.com/usages/mastodon-post-api"
---

# Publish to Any Server With One Mastodon Post API Call

Send one POST /social-posts request to the AdaptlyPost Mastodon post API and it publishes text, images, a video or a thread to a connected account on any Mastodon server.

[Start Your 7-Day Free Trial](https://adaptlypost.com/signup)[See How It Works](#features)

adaptlypost.com/posted

PostedView all your published posts2 posts

![](https://adaptlypost.com/_next/static/media/kawaguchiko.1p6qq6_czszrf.jpg-aa5407f0-760f-4afd-8078-6ed07435a4ea)

Throwing a set of six on the wheel today.

Platforms

PublishedWed, Dec 9, 4:30 PM

Platforms

PublishedSun, Dec 6, 10:00 AM

Platforms

{

"contentType": "VIDEO",

"accountIds": \["md\_9w3"\],

"mediaUrls": \[

"https://kawa.co/clay.mp4"

 \],

"platformTexts": \[{

"platform": "MASTODON",

"text": "On the wheel"

 }\],

"timezone": "Europe/London"

}

Send

"…/1134829"PUBLISHED

Threads

### Post a Mastodon Thread

threadReplies adds up to 25 replies under your post, each up to 500 characters or your server's own limit.

Networks

### One Call, 14 Networks

Add Bluesky, Threads, Telegram or any other connected account to the same request, each with its own settings.

First comment

### Reply With Up to 4 Images

Post a first comment of up to 500 characters with up to 4 images, right away or up to 7 days later.

Results

### Read Each Network's Result

GET /social-posts/:id/results returns PUBLISHED or FAILED per account, and the retry call resends only the failed ones.

MastodonPUBLISHED"platformPostId": "mas.to/@kawa/1134829"BlueskyFAILED"errorMessage": "Bluesky video upload rejected"retryPOST /​social-posts/​:id/​retry

1. Step 1  
### Create an API Key  
Open API & AI Agents in your dashboard and create a key. It starts with adaptly\_ and goes in the Authorization header as a Bearer token.
2. Your Mastodon account is connected  
Step 2  
### Connect Your Server  
Enter your server, such as mastodon.social, in Connectors and approve AdaptlyPost there. You never share your password.
3. Step 3  
### Send POST /social-posts  
Send the text, the media URLs and threadReplies. AdaptlyPost answers 201 with a postId and publishes now or at scheduledAt.

### Creator

Perfect for individuals and solopreneurs

$19012345678901234567890123456789012345678901234567890123456789

/month

[Start Free TrialStart Your 7-Day Free Trial](https://adaptlypost.com/signup)

* 30 connected social accounts
* Team collaboration
* 1 workspace
* 150 AI credits/month
* AI Image Studio

### Pro

Most Popular

For professionals and growing teams

$39012345678901234567890123456789012345678901234567890123456789

/month

[Start Free TrialStart Your 7-Day Free Trial](https://adaptlypost.com/signup)

* 60 connected social accounts
* 3 team members
* 3 workspaces
* 400 AI credits/month
* AI Image Studio

### Enterprise

For agencies and enterprises ready to scale

$89012345678901234567890123456789012345678901234567890123456789

/month

[Start Free TrialStart Your 7-Day Free Trial](https://adaptlypost.com/signup)

* 90 connected social accounts
* 10 team members
* 10 workspaces
* 1,000 AI credits/month
* AI Image Studio

### Every plan includes

* Unlimited scheduled posts
* AI Captions
* Image, video & carousel posts

Works with

### Custom

Custom limits, white-label and priority support

* Unlimited social accounts
* Unlimited team members
* Unlimited workspaces
* Unlimited AI credits
* AI Image Studio

Want to see the full feature comparison? [View pricing page](https://adaptlypost.com/pricing)

### 

You post to Mastodon with the AdaptlyPost API by sending POST /social-posts with a Bearer key, the text, any media URLs and the Mastodon account id. AdaptlyPost publishes the post and returns a postId.

### 

The AdaptlyPost Mastodon post API works with any public Mastodon server. Enter the server or your full handle, such as @name@mastodon.social, in Connectors and approve AdaptlyPost on that server.

### 

A Mastodon post sent through AdaptlyPost takes text up to 500 characters, or the server's own limit, with up to 4 images or one video. Images go up to 16 MB and a video up to 99 MB.

### 

threadReplies turns a Mastodon post into a thread: each text goes out as a reply to the one before, from the same account. Mastodon takes up to 25 replies, each with up to 4 images.

### 

firstComments posts a reply of up to 500 characters and up to 4 images under a Mastodon post, right away or up to 7 days later. A Mastodon post takes either a first comment or threadReplies, not both.

### 

platformTexts gives Mastodon its own text while the other networks in the request keep the default text. Use it to add hashtags that only Mastodon gets.

### 

GET /social-posts/:id/results returns PUBLISHED with a platformPostId such as mas.to/@kawa/1134829, or FAILED with the error message. POST /social-posts/:id/retry resends the failed networks.

### 

The AdaptlyPost API comes with every plan: Creator at $19 a month, Pro at $39 and Enterprise at $89, each with a 7-day free trial.

Need every field and response? [Read the API docs](https://adaptlypost.com/docs/introduction) Still have questions? Contact support [contact@adaptlypost.com](mailto:contact@adaptlypost.com)

## Publish Your First Mastodon Post Over the API

Create a key, connect your server and send your first request today. Try any plan free for 7 days.

[Start Your 7-Day Free Trial](https://adaptlypost.com/signup)[Compare Plans & Features](https://adaptlypost.com/pricing)

adaptlypost.com/analytics

Top Performing PostsLast 7 days

PostViewsLikes

Product launch12.4K1.9K

Behind the scenes9.8K2.3K

Weekly tips6.1K740

9:41

Tuesday, November 17

9:41

InstagramnowYour reel is getting more views than usual.
