Skip to main content
GET
/
api
/
social
/
posts
cURL
curl --request GET \
  --url https://api.recoupable.com/api/social/posts \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "posts": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "post_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "social_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "post_url": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "total_count": 123,
    "page": 123,
    "limit": 123,
    "total_pages": 123
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

social_id
string<uuid>
required

The unique identifier (UUID) of the social profile to fetch posts for

latestFirst
boolean
default:true

Sort posts by most recent first (default: true)

page
integer
default:1

The page number to retrieve (default: 1)

limit
integer
default:20

The number of records per page (default: 20, max: 100)

Required range: x <= 100

Response

Posts retrieved successfully

status
enum<string>

Status of the request

Available options:
success,
error
posts
object[]

List of social media posts

pagination
object