customer-engagement
conversations
bots
Get Bots
Use this method to get bots with pagination. <a href="https://www.infobip.com/docs/conversations/supervisor-guide#connect-external-bots-self-service-automation" target="_blank">More info</a>
get/ccaas/1/bots
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
- or API key in header Authorization
- or API key in header Authorization
- or HTTP basic
Query parameters
limitinteger
Size of the result page.
pageinteger
Number of the current page.
orderBystring
This parameter is used to order your results. If an order is not given, the default order id:asc will be applied. Possible ordering fields are properties. Ordering direction can be specified with modifiers asc for the ascending ordering or desc for the descending one.
Response
OK
Example response
{
"bots": [
{
"id": "309BB921757DEAC9BE79EC6259B31C8A",
"webhookUrl": "www.webhookurl.com/link1",
"displayName": "My Whatsapp Bot",
"channel": "WHATSAPP",
"destination": "447492263897",
"messagePersistencePolicy": "PERSIST_ALL",
"enabled": true,
"sessionTimeoutInSec": 120
},
{
"id": "6988D4642270FD8EF9EA833DCD972BB1",
"webhookUrl": "www.webhookurl.com/link2",
"displayName": "My Secret Bot",
"channel": "WHATSAPP",
"destination": "447492263899",
"messagePersistencePolicy": "PERSIST_NONE",
"enabled": true,
"sessionTimeoutInSec": 120
}
],
"pagination": {
"totalItems": 2,
"page": 0,
"limit": 10,
"orderBy": "id:ASC"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.