Skip to main content
POST
/
get-timeline-posts
Get token timeline posts
curl --request POST \
  --url https://yppncslmsswqydhhgygz.supabase.co/functions/v1/get-timeline-posts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "limit": 20,
  "offset": 0,
  "filter": "all"
}'
{
  "success": true,
  "posts": [
    "<any>"
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

JWT token or API key

Body

application/json
limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0
filter
enum<string>
default:all
Available options:
following,
all

Response

Successful response

success
boolean
required
posts
(any | null)[]
required
pagination
object
required