/bots.info
GET
/bots.infoGets information about a bot user.
Request
Query Params
token
string
required
Authentication token. Requires scope: users:read
bot
string
optional
Bot user to get info on
Request samples
Responses
When successful, returns bot info by bot ID.(200)
When no bot can be found, it returns an error.(500)
When successful, returns bot info by bot ID.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
bot
object
required
app_id
#/definitions/700136required
deleted
boolean
required
icons
object
required
id
#/definitions/700137required
name
string
required
updated
integer
required
user_id
#/definitions/700157optional
ok
#/definitions/700149required
Exampleresponse
{
"bot": {
"app_id": "A161CLERW",
"deleted": false,
"icons": {
"image_36": "https://...",
"image_48": "https://...",
"image_72": "https://..."
},
"id": "B061F7JD2",
"name": "beforebot",
"updated": 1449272004,
"user_id": "U012ABCDEF"
},
"ok": true
}
Last modified: a year ago