Skip to main content
PATCH
/
posts
/
{post}
/
info
Update post info
curl --request PATCH \
  --url https://api.postflow.app/v1/posts/{post}/info \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "note": "<string>",
  "is_publicly_shared": true,
  "should_skip": true,
  "visible_for_client": true,
  "labelIds": [
    "<string>"
  ]
}
'
{
  "public_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

post
string
required

The post ID

Body

application/json
name
string | null
Maximum string length: 100
note
string | null
Maximum string length: 2000
is_publicly_shared
boolean
should_skip
boolean

If true, post will not be published. The post will change its status to Skipped.

visible_for_client
boolean
labelIds
string[]
Maximum array length: 20

Response

public_id
string
required

If is_publicly_shared is true, you can use this ID to construct a link for public sharing. https://new.postflow.app/p/PUBLIC_ID