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 Post 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 be 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
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY
Profile-Key
string
Profile Key of a User Profile.

Format: Profile-Key: PROFILE_KEY

Path Parameters

socialId
string
required

The Social Post ID of the post.

Please see the /post endpoint Response 200 for another example of the Facebook Social Post ID 104923907983682_108329000309742

Query Parameters

searchPlatformId
boolean
required

Always equals true

platform
string
required

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