跳转到主要内容
GET
预定发送列表列表

授权

Authorization
string
header
必填

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

请求头

X-Device-Id
string

多设备支持的设备标识符。 当多个设备被注册时需要. 如果只有一个设备被注册,它将被用作默认。 也可以以 device_id 查询参数提供。

示例:

"my-device-id"

查询参数

status
enum<string>

仅此状态中的Schedules

可用选项:
active,
running,
paused,
completed,
failed,
cancelled

匹配收件人或消息文本

message_type
enum<string>

仅此类型的预定发送

可用选项:
text,
image,
file,
video,
audio,
sticker,
contact,
link,
location,
poll,
forward
limit
integer
默认值:25

返回计划的最大数量

必填范围: 1 <= x <= 100
offset
integer
默认值:0

要跳过的计划数 (用于分页)

必填范围: x >= 0

响应

好的

code
string
示例:

"SUCCESS"

message
string
示例:

"Schedules fetched"

results
object