Post
Get a Post
Retrieve a post by Ayrshare Post ID
GET
/
post
/
:id
Get the history for a specific posts sent via Ayrshare. Returns the status, post parameters, and other details. Replace :id
with the Ayrshare Post ID.
Call the /history by id endpoint for the same data.
Post Statuses
The following statuses are returned for a post.
Status | Description |
---|---|
awaiting approval | Posts are waiting to be approved via the Approval Workflow. |
deleted | Post has been deleted. Note: deleted posts are only returned with the status query filter. Please see below. |
error | An error occurred with one or more social networks. |
pending | The post has not yet been processed. Typically a scheduled post. |
success | The post was successfully sent to all social networks. |
See the /history endpoint for retrieving all posts, including post not sent via Ayrshare.
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
id
string
requiredAyrshare Post ID from /post