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}
Authorizations:
Scopes:
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
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g 'https://{baseUrl}/ccaas/1/bots/{botId}' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
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
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See