Sqabl APIs
  1. Posts
Sqabl APIs
  • https
    • v1
      • Auth
        • Sign Up
        • Sign In
        • Sign Out
        • Refresh Access Token
        • Get user by token
        • Change password
      • OTP
        • Verify OTP
        • Generate OTP
        • OTP Status
      • User
        • Get user
        • Get user by token
        • Update user
        • Get user's followers
        • Get user's followees
        • Get user's referred members
        • Get user's interacted items
        • Get user's bookmarks
        • Flag a user
        • Follow user
        • Unfollow user
        • Block a user
        • Unblock a user
        • Delete user's picture
        • Delete user
      • Users
        • Get users
      • Arenas
        • Get arenas
        • Create an arena
        • Invite users to arenas
      • Arena
        • Get arena
        • Update arena
        • Join an arena
        • Leave an arena
        • Get arena members
        • Add users to arena
        • Remove members from an arena
        • Update an arena member
      • Posts
        • Get posts
          GET
        • Create a post
          POST
      • Post
        • Get a post
        • Update a post
        • Delete a post
        • Flag a post
        • Flame a post
        • Unflame a post
        • Save a post
        • Unsave a post
        • Hide a post
        • Get post participants
        • Participate in a post
        • Get post comments
        • Comment on a post
      • Comment
        • Get comment
        • Delete a comment
        • Flag a comment
        • Flame a comment
        • Unflame a comment
        • Save a comment
        • Unsave a comment
      • Alerts
        • Get user's alerts
        • Mark some or all alerts read
      • Flags
        • get flags
      • Faqs
        • get faqs
      • Interests
        • get interests
      • Search
        • get popular search keywords
      • Signed Upload URL
        • get signed url for upload
    • v2
      • alerts
        • get alerts
      • arena
        • create post
        • get arena
        • get arena posts
        • get fans
        • get members
        • get moderators
        • update arena
      • arenas
        • get arenas
        • create arena
      • auth
        • get user by access token
        • get user by refresh token
        • sign in
        • sign up
      • comment
        • get comment
        • get replies
        • flame comment
        • unflame comment
        • save comment
        • unsave comment
      • existence
        • check email
        • check username
      • post
        • get post
        • flame post
        • unflame post
        • update post
        • participate in a post
        • get all participants
        • get opposing participants
        • get supporting participants
        • get option participants
        • save post
        • unsave post
        • get comments
        • comment on a post
        • get opposing comments
        • get supporting comments
      • posts
        • get posts
        • get trending posts
        • get your-feed posts
      • signed-urls
        • files
      • support
        • send a message
        • get messages
      • user
        • get user
        • get user's posts
        • get arenas user belongs
        • get arenas user owns
        • update user
        • follow user
        • unfollow user
        • block user
        • unblock user
        • get user's interactions
        • get user's bookmarks
        • get user's followees
        • get user's followers
        • get user's arenas
        • get user's referrals
      • users
        • get users
  1. Posts

Get posts

Deprecated
prod-v1
https://api.sqabl.com/v1
prod-v1
https://api.sqabl.com/v1
GET
/posts

Request

Query Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.sqabl.com/v1/posts?whereArenaId&whereOwnerId&whereType&whereInteractedByUserId&whereSavedByUserId&whereInteractedOrSavedByUserId&checkActivitiesOfThisUserId&pageSize&lastEvaluatedKey&sortBy&order&fromArenasOfThisUserId&keyword'

Responses

🟢200Success
application/json
Body

Examples
{
    "success": true,
    "statusCode": 200,
    "data": [
        {
            "id": "cm1z85gzp0000vwv3du1egxjw",
            "type": "debate",
            "dateCreated": "2024-10-07 16:26:42.125Z",
            "owner": {
                "id": "cm1n5ubk200008ov3f8907ugy",
                "displayName": "Hiseous Hiseous",
                "imageSrc": "https://lh3.googleusercontent.com/a/ACg8ocICrDCtTUBH6BWXwWnRJkBHknyk9iHBfjupK_mhZrdj13z0EQ=s96-c"
            },
            "arena": {
                "id": "cm1p9es41000008ii30np3dix",
                "name": "Coverless Block",
                "hasModerator": false
            },
            "closingDate": "2024-10-07T17:05:42.000Z",
            "description": "Perceived end knowledge certainly day sweetness why cordially. Ask quick six seven offer see among. Handsome met debating sir dwelling age material. As style lived he worse dried. Offered related so visitor we private removed. Moderate do subjects to distance.\r\n\r\nAre own design entire former get should. Advantages boisterous day excellence boy. Out between our two waiting wishing. Pursuit he he garrets greater towards amiable so placing. Nothing off how norland delight. Abode shy shade she hours forth its use. Up whole of fancy ye quiet do. Justice fortune no to is if winding morning forming.",
            "title": "Geo Thomason",
            "imageSrc": "https://s3.eu-north-1.amazonaws.com/api.sqabl.com/arenas/cm1p9es41000008ii30np3dix/posts/cm1z85gzp0000vwv3du1egxjw/cm1z85gzp0001vwv39yw61gv4.jpg",
            "totalOpposers": 30,
            "totalSupporters": 24,
            "totalOpposingArgs": 10,
            "totalSupportingArg": 12,
            "totalFlames": 234,
            "userFlamed": false,
            "totalComments": 2
        },
        {
            "id": "cm1z66sxy0000u4v311cjcpzo",
            "type": "poll",
            "dateCreated": "2024-10-07 15:31:43.751Z",
            "owner": {
                "id": "cm1n5ubk200008ov3f8907ugy",
                "displayName": "Hiseous Hiseous",
                "imageSrc": "https://lh3.googleusercontent.com/a/ACg8ocICrDCtTUBH6BWXwWnRJkBHknyk9iHBfjupK_mhZrdj13z0EQ=s96-c"
            },
            "arena": {
                "id": "cm1xknwrc000008jp5hnu84m0",
                "name": "United for life",
                "hasModerator": true
            },
            "closed": true,
            "closingDate": "2024-10-07T16:10:43.000Z",
            "pollOptions": [
                {
                    "text": "Some option text",
                    "totalVoters": 2
                },
                {
                    "text": "Some option text",
                    "totalVoters": 1,
                    "userVoted": true
                }
            ],
            "pollContent": "Some poll content.",
            "userParticipated": true,
            "totalParticipants": 3
        }
    ]
}
Modified at 2025-06-23 10:38:26
Previous
Posts
Next
Create a post
Built with