Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 1.73 KB

api-mgm.md

File metadata and controls

70 lines (46 loc) · 1.73 KB

ROLLOUT REST API

Signup

curl -v -X POST -d '[email protected]&password=123456' https://api.rollout.com/v1/auth/signup

Signin

curl -v -X POST -d '[email protected]&password=123456' https://api.rollout.com/v1/auth/signin

Firebase signin

curl -v -X POST -d '[email protected]&password=123456' https://api.rollout.com/v1/firebase/auth/signin

Departments

curl -v -X GET -u [email protected]:123456 https://api.rollout.com/v1/5ab0f32757066e0014bfd718/departments

Get the available operator for a specific department

curl -v -X GET -u [email protected]:123456 https://api.rollout.com/v1/5ad4c101e774ac0014ae0d07/departments/5ad5c2c9c975820014ba901b/operators

Bots

List

curl -v -X GET -u [email protected]:123456 https://api.rollout.com/v1/5ab0f32757066e0014bfd718/faq_kb

Create

curl -v -X POST -u [email protected]:123456 -d '{"name":"testbot"}' https://api.rollout.com/v1/5ab0f32757066e0014bfd718/faq_kb

Analytics

curl -v -X GET -u [email protected]:123456 https://api.rollout.com/v1/5ad5bd52c975820014ba900a/analytics/requests/count

curl -v -X GET -u [email protected]:123456 https://api.rollout.com/v1/5ad5bd52c975820014ba900a/analytics/requests/waiting

curl -v -X GET -u [email protected]:123456 https://api.rollout.com/v1/5ad5bd52c975820014ba900a/analytics/requests/waiting/day/last
curl -v -X GET -u [email protected]:123456 https://api.rollout.com/v1/5ad5bd52c975820014ba900a/analytics/requests/waiting/month
curl -v -X GET -u [email protected]:123456 https://api.rollout.com/v1/5ad5bd52c975820014ba900a/analytics/requests/aggregate/dayoftheweek/hours