Skip to main content
POST
/
posts
/
query
List Posts
curl --request POST \
  --url https://api.teleskop.dev/posts/query \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "projects": [],
  "start_date": "2025-01-01 14:30:00",
  "end_date": "2025-01-02 14:30:00",
  "channels": [],
  "categories": [],
  "search": "<string>",
  "sentiments": [],
  "labels": [],
  "excludes": [],
  "favorites": [],
  "min_score": 123,
  "max_score": 123,
  "min_followers": 123,
  "max_followers": 123,
  "next_cursor": "<string>",
  "prev_cursor": "<string>",
  "limit": 123
}
'

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
projects
string[]
required

Arrays of project IDs

start_date
string
required

Start date in YYYY-MM-DD HH:mm:ss format

Example:

"2025-01-01 14:30:00"

end_date
string
required

End date in YYYY-MM-DD HH:mm:ss format

Example:

"2025-01-02 14:30:00"

channels
string[]

Arrays of channel

categories
string[]

Arrays of category

sentiments
string[]
labels
string[]
excludes
string[]
favorites
string[]
min_score
number
max_score
number
min_followers
number
max_followers
number
next_cursor
string
prev_cursor
string
limit
number

Response

200 - undefined