Get Published Bot by PublicId
curl --request GET \
--url http://127.0.0.1:3333/v3/bots/slug/{publicId} \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:3333/v3/bots/slug/{publicId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:3333/v3/bots/slug/{publicId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>"
}Publishing & Discovery
Get Published Bot by PublicId
Retrieve a published bot by its publicId (slug). Used by the chat/viewer app.
GET
/
v3
/
bots
/
slug
/
{publicId}
Get Published Bot by PublicId
curl --request GET \
--url http://127.0.0.1:3333/v3/bots/slug/{publicId} \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:3333/v3/bots/slug/{publicId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:3333/v3/bots/slug/{publicId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": "<string>"
}