Get bot

Use this method to get a bot. More info

Please log in to see full path URL. Learn why.
get
/ccaas/1/bots/{botId}
path Parameters
botId
required
string

Id of the Bot to get.

Responses

200

OK

400

Bad request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

Request samples

Example
cURL
Copy
curl -L -g 'https://{baseUrl}/ccaas/1/bots/{botId}' \
-H 'Authorization: {authorization}' \
-H 'Accept: application/json'

Response samples

Content type
application/json

Successful response

Copy
Collapse all
{
  • "id": "309BB921757DEAC9BE79EC6259B31C8A",
  • "displayName": "My Whatsapp Bot",
  • "channel": "WHATSAPP",
  • "destination": "447492263897",
  • "messagePersistencePolicy": "PERSIST_ALL",
  • "enabled": true,
  • "sessionTimeoutInSec": 120
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.