History
Posts History by Social ID
Retrieve history for a post that did not originate via Ayrshare.
GET
/
history
/
:socialId
Available on Business, Enterprise plans.
Retrieve history for posts that did not originate via Ayrshare by providing the low-level Social post ID. This Social ID is returned in the postIds
field of the post endpoint or the id
field from the get all history endpoint or the ID from a post URL, such as from this Facebook post.
The linked account must the owner of the post to retrieve the history.
Supported platforms: Facebook, Instagram, Twitter, and YouTube with the following platform
values: facebook
, instagram
, linkedin
, twitter
, youtube
.
Header Parameters
Authorization
string
requiredFormat:
Authorization: Bearer API_KEY
. See API overview for more information.Profile-Key
string
Profile Key of a user profile.
Path Parameters
socialId
string
requiredThe social ID of the post.
Please see the /post endpoint Response 200 for another example of the Facebook Social ID
104923907983682_108329000309742
Query Parameters
searchPlatformId
boolean
requiredAlways equals true
platform
string
requiredValues: facebook
, instagram
, linkedin
, tiktok
, twitter
, youtube