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.
Path Parameters
Post id
Body
Request body to update a Post
Title of the post.
"Great post title !"
Main text content of the post.
"Wonderful post summary !"
URLs of the images displayed with the post.
Note:
- Add up to 10 images for multi-image post on Facebook and IG
- Multi-image is not supported by Google, only the first image will be displayed
- Image ratio must be between 4:5 and 16:9 for IG
- All images must be same ratio for IG or they will be crop at the first image ratio by IG
[
"https://example.com/1.png",
"https://example.com/2.png"
]
The type of the post to be created. Some type mig.
book
, order
, shop
, learn_more
, sign_up
, call
, no_cta
Link displayed in the post to redirect the client clicking on it. Use can only have one of the following parameters ('use_business_url' or 'custom_url').
Date and time of when the post will be diffused corresponding platforms. It needs to be at least 2 hours after the time of the request. The timezone used is UTC.
"2050-01-01T09:00:00"
For either event or offer post type. Defined when it start. Timezone is defined by the business timezone.
"2050-01-01T09:00:00"
For either event or offer post type. Defined when it end. Timezone is defined by the business timezone.
"2050-01-01T09:00:00"
Offer code that is usable in store or online
"PROMO25"
Terms and conditions of the offer
"These are the conditions"
Response
OK
Post
The Post id
34
Business id
"5409c35a97bbc544d8e26737"
The type of the post to be created. Event and Offer are not yet available for Facebook.
news
, event
, offer
, covid
Main text content of the post.
"Wonderful post summary !"
Date when the Post will be published. No scheduled start time means that the Post will be published immediately.
"2020-01-01T12:00:00+02:00"
If this post is a draft, this indicates the date when it will be expired (= date after which the BM/GM user will no longer be able to validate and publish).
"2020-01-01T12:00:00+02:00"
Date when the Draft post has been validated by the BM or GM user If the post doesn't also have a schedule time, this date coincides with the publishing date
"2020-01-01T12:00:00+02:00"
The photo that will be on the Post
Creation date on Partoo
"2019-08-01T19:15:54.256000+02:00"
Last update date (either on Partoo or on Partner platform)
"2019-09-01T15:12:35.256000+02:00"
Indicates whether or not the post was created using Partoo App/API
false
Indicates whether or not the post was updated using Partoo App/API
false
name and address of the business that the post is related to.
"Rick - HQ - 157 boulevard Macdonald, Paris"
Statistics related to the posts on the different platforms. ⚠️ Due to a Google deprecation, on 20/02/2023, Google views and counts won't be available anymore. Old insights will still be sent. Facebook ones will still be available.
Status related to the posts on the different platforms.
Terms and conditions of the offer
"These are the conditions"
Offer code that is usable in store or online
"PROMO25"
Link displayed in the post to redirect the client clicking on it.
"www.partoo.co"
The type of the post to be created. Some type mig.
book
, order
, shop
, learn_more
, sign_up
, call
, no_cta