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": 3865,
      "publication_date": "2024-05-20T12:59:00.000Z",
      "publication_date_format": {
        "day": "Mon",
        "date": "20 May",
        "time": "12:59 PM",
        "year": "2024"
      },
      "message": "nknknknkj",
      "medias": [
        "https://d2tyu887lcxnka.cloudfront.net/EE2500D0EAE9E4D5C8A7606CB1C53E14.jpeg",
        ...
      ],
      "twitter_social_media_posts": [
        {
          "id": 21481,
          "account_id": 2018,
          "publication_error": null
        },
        ...
      ],
      "facebook_social_media_posts": [
        {
          "id": 21482,
          "account_id": 5937,
          "publication_error": null
        },
        ...
      ],
      "instagram_social_media_posts": []
    },
    ...
  ],
  "meta": {
    "total_count": 1
  }
}

Params

Param name Description
pending
required

Validations:

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

date_from
optional

Validations:

  • Must be a String

date_to
optional

Validations:

  • Must be a String

social_media
optional

Validations:

  • Must be an array of [“twitter”, “facebook”, “instagram”]

page
required

Validations:

  • Must be a Integer

per_page
required

Validations:

  • Must be a Integer