This endpoint lets you create a post or a draft post on Google / Facebook / Instagram.
The creation of a post will not happen in real time and might take a few minutes.
A draft post can only be created by Org Admins and is not immediately published. An expiration date must be specified when creating a draft post. In order to be published, a draft needs to be updated by a BM/GM user before the expiration date.
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.
Request body to create a Post
Business to create post
List of publisher to diffuse the post
google_my_business, facebook, instagram [
"google_my_business",
"facebook",
"instagram"
]Information on post to create
If true, the post will be created as a draft. You must then also specify an expiration_time in the body's data.
If true, a notification email will be sent to all BM/GM users that have access to this draft post
OK
Request status
success Request code
200
Number of post(s) created
"2 posts have been created."
Id(s) of post(s) created
"45,46"
Post ID and relative business ID pair list
[
{
"post_id": 101,
"business_id": "1234567890"
},
{
"post_id": 102,
"business_id": "1234567891"
}
]