GET /api/v2/social_media_post_wrappers
List of sheduled posts

Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Success response body

{
  "social_media_post_wrappers": [
    {
      "id": 4176,
      "link_for_sharing": "https://d2tyu887lcxnka.cloudfront.net/B65EDF3554787C81DE073D04825A19AC.mp4",
      "status": "created",
      "social_media_type": "TemplateVideo",
      "social_media_id": 6003,
      "twitter_social_media_posts": [
        {
          "id": 21940,
          "message": "",
          "alt_text": "",
          "publication_date": "2024-09-28T19:27:00.000Z",
          "status": "created",
          "social_media": "twitter",
          "account_id": 2065,
          "social_account": {
            "id": 2065,
            "social_channel": "Twitter",
            "name": "gipper.worker@gmail.com",
            "nickname": "",
            "logo": "https://pbs.twimg.com/profile_images/1552335270254714882/2Oe-2PZu_normal.jpg",
            "twitter_nickname": "GipperWorker",
            "workspace_account": false
          },
          "publication_error": null
        }
      ],
      "facebook_social_media_posts": [],
      "instagram_social_media_posts": [],
      "social_media_size": null
    },
    ...
  ],
  "meta": {
    "total_count": 1
  }
}

Params

Param name Description
pending
required

Validations:

  • Must be one of: true, false, 1, 0.

page
required

Validations:

  • Must be a Integer


GET /api/v2/social_media_post_wrappers/:id
Get current social_post

Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Success response body

{
  "id": 4176,
  "link_for_sharing": "https://d2tyu887lcxnka.cloudfront.net/B65EDF3554787C81DE073D04825A19AC.mp4",
  "status": "created",
  "social_media_type": "TemplateVideo",
  "social_media_id": 6003,
  "twitter_social_media_posts": [
    {
      "id": 21940,
      "message": "",
      "alt_text": "",
      "publication_date": "2024-09-28T19:27:00.000Z",
      "status": "created",
      "social_media": "twitter",
      "account_id": 2065,
      "social_account": {
        "id": 2065,
        "social_channel": "Twitter",
        "name": "gipper.worker@gmail.com",
        "nickname": "",
        "logo": "https://pbs.twimg.com/profile_images/1552335270254714882/2Oe-2PZu_normal.jpg",
        "twitter_nickname": "GipperWorker",
        "workspace_account": false
      },
      "publication_error": null
    }
  ],
  "facebook_social_media_posts": [],
  "instagram_social_media_posts": [],
  "social_media_size": null
}

Params

Param name Description
id
required

Validations:

  • Must be a Integer