Skip to main content
POST
Create a post

Authorizations

x-APIKey
string
header
required

The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.

Body

application/json

Request body to create a Post

Business to create post

publishers
enum<string>[]
required

List of publisher to diffuse the post

Available options:
google_my_business,
facebook,
instagram
Example:
data
object
required

Information on post to create

is_draft
boolean
default:false

If true, the post will be created as a draft. You must then also specify an expiration_time in the body's data.

send_notifications
boolean
default:false

If true, a notification email will be sent to all BM/GM users that have access to this draft post

Response

OK

status
enum<string>

Request status

Available options:
success
code
number

Request code

Example:

200

message
string

Number of post(s) created

Example:

"2 posts have been created."

ids
string
deprecated

Id(s) of post(s) created

Example:

"45,46"

data
object[]

Post ID and relative business ID pair list

Example: