Skip to main content

Overview

Retrieves the bot list.

Request

Authentication: Add authentication headers to the request. See Authentication

Method: GET

Rate limit: 100 requests/second

Endpoint: https://API domain/jim/bots/list

Content-Type: application/json

Request parameters

ParameterData typeRequiredDescription
offsetstringNoPagination offset; the starting position for retrieving the bot list.
countintNoItems per page. Default: 20. Maximum: 50.

Request example

GET /jim/bots/list?count=50 HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

Response example

{
"code":0,
"msg":"sucess",
"data":{
"items":[
{
"bot_id":"botid1",
"nickname":"bot1",
"avatar":"https://file.juggle.im/abcdfafsdaf.png"
},{
"user_id":"botid2",
"nickname":"bot2",
"avatar":"https://file.juggle.im/abcdfafsdaf.png"
}
],
"offset":"xxxx"
}
}