Skip to main content
GET
/
social
/
post
/
{post_id}
Get Social Post
curl --request GET \
  --url https://api.example.com/social/post/{post_id}
Returns post status, post links, and analytics (when available). post_id should be the provider post ID returned from POST /social/post.

Request

curl -X GET "https://api.mosaic.so/social/post/[post_id]" \
  -H "Authorization: Bearer mk_your_api_key"

Response

{
  "post_id": "1c08fd57-f0b0-4d10-bf7a-1df2e03c1a96",
  "status": "success",
  "links": [
    {
      "platform": "linkedin",
      "post_url": "https://www.linkedin.com/feed/update/..."
    }
  ],
  "results": [
    {
      "platform": "linkedin",
      "status": "success",
      "post_id": "7351291821454032896",
      "post_url": "https://www.linkedin.com/feed/update/...",
      "message": null
    }
  ],
  "stats": {
    "status": "success"
  },
  "error": null,
  "tracking_id": "2d8ca860-f8e0-4f3f-9f2c-337ead6ed91e",
  "tracked_status": "posted"
}

Response Notes

  • Mosaic reads status from Ayrshare GET /api/post/{id} and attempts analytics lookup.
  • stats can be null when analytics is unavailable.
  • If Ayrshare reports an error status, the response includes error with provider details.
  • If a matching tracked Mosaic record exists, tracking_id and tracked_status are returned and kept in sync.

Ayrshare References