Chuyển đến nội dung chính
GET
List posts

Ủy quyền

Authorization
string
header
bắt buộc

Workspace API key with role viewer (read) or editor (read + write). Example (fake): smk_0a1b2c3d_ExampleFakeKeyForDocsOnly_0123456789abcZ. Created by a workspace admin on the web; shown once.

Tham số truy vấn

channel_id
string

Only posts with a target on this platform channel id.

Maximum string length: 100
status
enum<string>

Target status. Combined with channel_id, both must match the same target.

Tùy chọn có sẵn:
pending,
publishing,
published,
failed,
unverified,
cancelled
scheduled_from
integer

Unix seconds, inclusive lower bound on scheduled_at.

Phạm vi bắt buộc: x >= 0
scheduled_to
integer

Unix seconds, inclusive upper bound on scheduled_at.

Phạm vi bắt buộc: x >= 0
id_thirdparty
string

Your own post id.

Maximum string length: 200
page
integer
mặc định:1
Phạm vi bắt buộc: x >= 1
limit
integer
mặc định:20
Phạm vi bắt buộc: 1 <= x <= 100

Phản hồi

Page of posts.

success
boolean
bắt buộc
message
string
bắt buộc
Ví dụ:

"Operation successful"

data
object[]
bắt buộc
timestamp
string<date-time>
bắt buộc
meta
object