Authorizations
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
Request body to create a Post
Business to create post
List of publisher to diffuse the post
[
"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
Response
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"
}
]