Skip to main content
GET
/
posts
/
{postId}
Get post
curl --request GET \
  --url https://api.woopsocial.com/v1/posts/{postId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "projectId": "<string>",
  "content": [
    {
      "text": "<string>",
      "media": [
        {
          "type": "MEDIA_LIBRARY",
          "mediaId": "<string>",
          "mediaType": "IMAGE",
          "url": "<string>",
          "thumbnailUrl": "<string>"
        }
      ]
    }
  ],
  "schedule": {
    "type": "DRAFT"
  },
  "socialAccountPosts": [
    {
      "platform": "PINTEREST",
      "socialAccountPostId": "<string>",
      "postId": "<string>",
      "projectId": "<string>",
      "socialAccountId": "<string>",
      "deliveryStatus": "NOT_STARTED",
      "content": [
        {
          "text": "<string>",
          "media": [
            {
              "type": "MEDIA_LIBRARY",
              "mediaId": "<string>",
              "mediaType": "IMAGE",
              "url": "<string>",
              "thumbnailUrl": "<string>"
            }
          ]
        }
      ],
      "schedule": {
        "type": "DRAFT"
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "pinterestBoardId": "<string>",
      "deliveryCompletedAt": "2023-11-07T05:31:56Z",
      "externalPostId": "<string>",
      "externalPostUrl": "<string>",
      "errorMessage": "<string>",
      "title": "<string>"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

postId
string
required

Post identifier.

Response

Post found.

id
string
required

Post identifier.

projectId
string
required

Project identifier that the selected social accounts belong to.

content
object[]
required

Post content expressed as thread items.

The array exists for future thread support. Currently exactly one item is returned.

Required array length: 1 element
schedule
Draft · object
required
socialAccountPosts
(Pinterest · object | Instagram · object | Facebook · object | TikTok · object | YouTube · object | X · object | LinkedIn · object | LinkedIn Pages · object | WoopTest · object)[]
required

Platform-specific post instances.

Minimum array length: 1
createdAt
string<date-time>
required

UTC time when the post was created.

updatedAt
string<date-time>
required

UTC time when the post was last updated.