Resume interrupted publishing
curl --request POST \
--url https://posted-api.example.com/api/posts/{postId}/resume \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"connectionId": "11111111-1111-4111-8111-111111111111",
"version": 1,
"idempotencyKey": "studio-resume-2027-01-18"
}
'import requests
url = "https://posted-api.example.com/api/posts/{postId}/resume"
payload = {
"connectionId": "11111111-1111-4111-8111-111111111111",
"version": 1,
"idempotencyKey": "studio-resume-2027-01-18"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
connectionId: '11111111-1111-4111-8111-111111111111',
version: 1,
idempotencyKey: 'studio-resume-2027-01-18'
})
};
fetch('https://posted-api.example.com/api/posts/{postId}/resume', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://posted-api.example.com/api/posts/{postId}/resume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'connectionId' => '11111111-1111-4111-8111-111111111111',
'version' => 1,
'idempotencyKey' => 'studio-resume-2027-01-18'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://posted-api.example.com/api/posts/{postId}/resume"
payload := strings.NewReader("{\n \"connectionId\": \"11111111-1111-4111-8111-111111111111\",\n \"version\": 1,\n \"idempotencyKey\": \"studio-resume-2027-01-18\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://posted-api.example.com/api/posts/{postId}/resume")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"connectionId\": \"11111111-1111-4111-8111-111111111111\",\n \"version\": 1,\n \"idempotencyKey\": \"studio-resume-2027-01-18\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://posted-api.example.com/api/posts/{postId}/resume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"connectionId\": \"11111111-1111-4111-8111-111111111111\",\n \"version\": 1,\n \"idempotencyKey\": \"studio-resume-2027-01-18\"\n}"
response = http.request(request)
puts response.read_body{
"post": {
"resumableConnectionIds": [],
"id": "22222222-2222-4222-8222-222222222222",
"text": "A small update from the studio.",
"additionalPosts": [],
"mediaOverrides": {},
"scheduledAt": "2027-01-18T09:30:00.000Z",
"idempotencyKey": "studio-update-2027-01-18",
"state": "scheduled",
"version": 2,
"createdAt": "2027-01-18T09:30:00.000Z",
"media": [
{
"id": "44444444-4444-4444-8444-444444444444",
"fileName": "studio.jpg",
"contentType": "image/jpeg",
"sizeBytes": 245760,
"width": 1600,
"height": 900,
"alt": "A bright studio desk beside a window",
"durationSeconds": null
}
],
"managedBy": {
"id": "66666666-6666-4666-8666-666666666666",
"name": "Alex Morgan",
"avatarUrl": null
},
"deliveries": [
{
"id": "77777777-7777-4777-8777-777777777777",
"postIndex": 0,
"connectionId": "11111111-1111-4111-8111-111111111111",
"provider": "bluesky",
"accountName": "Alex Morgan",
"accountHandle": "alex.example.test",
"textOverride": null,
"state": "scheduled",
"attempts": 0,
"nextAttemptAt": null,
"providerPostId": null,
"publishedUrl": null,
"error": null,
"publishedAt": null
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}Resume interrupted publishing
Resume an interrupted account’s unpublished posts using its current version. Confirm the account and remaining content with the user. Published posts are preserved; uncertain results cannot be resumed. Reuse the same idempotencyKey for retries.
POST
/
api
/
posts
/
{postId}
/
resume
Resume interrupted publishing
curl --request POST \
--url https://posted-api.example.com/api/posts/{postId}/resume \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"connectionId": "11111111-1111-4111-8111-111111111111",
"version": 1,
"idempotencyKey": "studio-resume-2027-01-18"
}
'import requests
url = "https://posted-api.example.com/api/posts/{postId}/resume"
payload = {
"connectionId": "11111111-1111-4111-8111-111111111111",
"version": 1,
"idempotencyKey": "studio-resume-2027-01-18"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
connectionId: '11111111-1111-4111-8111-111111111111',
version: 1,
idempotencyKey: 'studio-resume-2027-01-18'
})
};
fetch('https://posted-api.example.com/api/posts/{postId}/resume', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://posted-api.example.com/api/posts/{postId}/resume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'connectionId' => '11111111-1111-4111-8111-111111111111',
'version' => 1,
'idempotencyKey' => 'studio-resume-2027-01-18'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://posted-api.example.com/api/posts/{postId}/resume"
payload := strings.NewReader("{\n \"connectionId\": \"11111111-1111-4111-8111-111111111111\",\n \"version\": 1,\n \"idempotencyKey\": \"studio-resume-2027-01-18\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://posted-api.example.com/api/posts/{postId}/resume")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"connectionId\": \"11111111-1111-4111-8111-111111111111\",\n \"version\": 1,\n \"idempotencyKey\": \"studio-resume-2027-01-18\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://posted-api.example.com/api/posts/{postId}/resume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"connectionId\": \"11111111-1111-4111-8111-111111111111\",\n \"version\": 1,\n \"idempotencyKey\": \"studio-resume-2027-01-18\"\n}"
response = http.request(request)
puts response.read_body{
"post": {
"resumableConnectionIds": [],
"id": "22222222-2222-4222-8222-222222222222",
"text": "A small update from the studio.",
"additionalPosts": [],
"mediaOverrides": {},
"scheduledAt": "2027-01-18T09:30:00.000Z",
"idempotencyKey": "studio-update-2027-01-18",
"state": "scheduled",
"version": 2,
"createdAt": "2027-01-18T09:30:00.000Z",
"media": [
{
"id": "44444444-4444-4444-8444-444444444444",
"fileName": "studio.jpg",
"contentType": "image/jpeg",
"sizeBytes": 245760,
"width": 1600,
"height": 900,
"alt": "A bright studio desk beside a window",
"durationSeconds": null
}
],
"managedBy": {
"id": "66666666-6666-4666-8666-666666666666",
"name": "Alex Morgan",
"avatarUrl": null
},
"deliveries": [
{
"id": "77777777-7777-4777-8777-777777777777",
"postIndex": 0,
"connectionId": "11111111-1111-4111-8111-111111111111",
"provider": "bluesky",
"accountName": "Alex Morgan",
"accountHandle": "alex.example.test",
"textOverride": null,
"state": "scheduled",
"attempts": 0,
"nextAttemptAt": null,
"providerPostId": null,
"publishedUrl": null,
"error": null,
"publishedAt": null
}
]
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>"
}
}Write access: a member/administrator with a write-enabled credential, or an authorized signed-in user.
Resume an interrupted account’s unpublished posts using its current version. Confirm the account and remaining content with the user. Published posts are preserved; uncertain results cannot be resumed. Reuse the same idempotencyKey for retries.
Resume one connected account’s failed remainder without creating a new posting group. Confirmed posts, their IDs and original request key are preserved. Active, cancelled or uncertain sequences cannot be resumed. Reuse the same resume key and payload after a lost response. A new failure requires a new key and the latest group version.
MCP clients can use
resume_post for this operation.
Request conventions · API keys · MCP connectionsAuthorizations
bearerAuthsessionCookie
Personal or team Posted REST API key
Path Parameters
The postId from the corresponding list, record or authorization response.
Body
application/json
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Required range:
x <= 9007199254740991Pattern:
^[A-Za-z0-9._:-]{8,128}$Response
Successful response. Examples are illustrative; field values vary by record.
Show child attributes
Show child attributes
Was this page helpful?
