Comment on page

Managing Chat

get
https://customer-h1.ekoapp.com
/bot/v1/users
Get specific users
curl -X GET \
'https://customer-h1.ekoapp.com/bot/v1/[email protected]' \
-H 'Authorization: Bearer 6a2d844924de1b396dcb58af4684fa769bf8984b' \

Get Group ID and Topic ID

The group id and topic can be found on the URL. Once you click on group chat, the url will include group id of the group chat and topic id of general topic
If you want a specific topic id, just click on the topic you want and the topic id will show on the URL.
post
https://customer-h1.ekoapp.com
/bot/v1/groups
Create a group chat
curl -X POST \
https://app-h1.sea.ekoapp.com/bot/v1/groups \
-H 'Authorization: Bearer 8fadfb49d0d87e0ac24e25a2468b09650470310d' \
-H 'Content-Type: multipart/form-data' \
-F 'uids=["5d8c318c22fba500114ed1c5","5d8af2ff164176ecaec49e5c"]' \
-F 'name=My first group' \
post
https://customer-h1.ekoapp.com
/bot/v1/groups/group_id/topics
Create a topic in a group chat
curl -X POST \
https://app-h1.sea.ekoapp.com/bot/v1/groups/5d91c6017755dba7a80a93c6/topics \
-H 'Authorization: Bearer 8fadfb49d0d87e0ac24e25a2468b09650470310d' \
-H 'Content-Type: application/json' \
-d '{
"name": "My first Topic"
}'