Skip to main content
PATCH
Update a post

Authorizations

Authorization
string
header
required

An API key from Settings › AI apps & API in Postploy. Keys start with ppk_.

Path Parameters

id
string<uuid>
required

The post's id.

Body

application/json
socialAccountId
string<uuid>

Move the post to another channel.

text
string
title
string
mediaIds
string<uuid>[]

Replaces the post's media.

Maximum array length: 35
scheduledAt
string<date-time>

A new time, ISO 8601 with an offset. Must be in the future unless status is draft.

timezone
string
status
enum<string>

scheduled publishes at scheduledAt. draft saves it without going out. pending_approval keeps its time but waits for someone to approve it.

Available options:
scheduled,
draft,
pending_approval
thread
string[]

X only. Replaces the follow-up posts. [] makes it a single post again.

Maximum array length: 25
platformFields
object

Options for the post's platform, under the platform's name. See Platform options.

Response

The post after your changes.

data
object
required