PostsGet a post

Posts

Get a post

Returns a post with the state of each network, its link once published and its error if it failed. Live reads any post of the Workspace, test a simulated one.

GEThttps://api.sofia-post.com/api/v1/posts/{id}
GEThttps://api.sofia-post.com/api/v1/posts/{id}

Get a post

Returns a post with the state of each network, its link once published and its error if it failed. Live reads any post of the Workspace, test a simulated one.

Authorizations

Authorizationstringrequired

Your personal key or OAuth access token, sent as Bearer <token>.

Kept in this tab only, and sent only to api.sofia-post.com. Get an API key

Path parameters

idstringrequired

Identifier of the post.

Read a post to track the state of each of its networks: each target moves to published with its permanent link, or to failed with its reason. To be notified without polling the API, register a webhook.

{
  "id": "efc578cc-ef79-40e9-876d-be1a33d3b8db",
  "status": "published",
  "targets": [
    {
      "platform": "instagram",
      "state": "published",
      "publishedAt": "2026-11-02T20:17:25.453Z",
      "permalink": "https://www.instagram.com/p/DfQJVPGFfb_/"
    }
  ]
}

States

StateMeaning
draftSaved, does not go out
scheduledWill go out at scheduledAt
publishingBeing sent to the network
publishedLive, with its permalink
failedThe network rejected it; error says why
sent_to_inboxSent to the network’s app, where the owner finishes it (TikTok)

The post’s status summarizes its targets. It is partial when one network published and another failed.

Authorizations

  • Authorizationstringheaderrequired

    Your personal key or OAuth access token, sent as Bearer <token>.

Path parameters

  • idstringrequired

    Identifier of the post.

Response

The post and the state of each target.

  • idstringrequired

    Identifier of the post

  • statusstringrequired

    Across all networks; partial: published on one, failed on another

    Allowed values: draftscheduledpublishingpublishedsent_to_inboxfailedpartial

  • establishmentIdstringrequired

    Establishment of the post

  • createdAtstring<date-time>required

    When the post was created

  • targetsobject[]required

    One entry per network and account: two accounts on one network, two entries

    Show child attributes
    • platformstringrequired

      Network of the target

    • accountIdstringrequired

      The account that publishes (GET /v1/establishments/:id/accounts)

    • statestringrequired

      State of the target on its network

      Allowed values: draftscheduledpublishingpublishedsent_to_inboxfailed

    • publishedAtstring<date-time>

      When the target was published

    • permalinkstring

      Link to the published post on the network

    • errorstring

      Why the network refused

  • scheduledAtstring<date-time>

    When the post is scheduled to be published

Was this page helpful?