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
required
Format: Authorization: Bearer API_KEY. See API overview for more information.
Profile-Key
string
Profile Key of a user profile.

Path Parameters

socialId
string
required

The 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
required

Always equals true

platform
string
required

Values: facebook, instagram, linkedin, tiktok, twitter, youtube