Eko API Integration
Search…
Sending a Message
post
https://customer-h1.ekoapp.com
/bot/v1/direct/message
Sending a text message to a user
curl -X POST \
https://app-h1.sea.ekoapp.com/bot/v1/direct/message \
-H 'Authorization: Bearer 835c1bc124ca99be1c6a8a175018252c84b22bbf' \
-H 'Content-Type: application/json' \
-d '{
"uid" : "5d8c318c22fba500114ed1c5",
"message": {
"type": "text",
"data": "hi"
}
}'
post
https://customer-h1.ekoapp.com
/bot/v1/group/message
Sending a text message to a group chat
curl -X POST \
https://app-h1.sea.ekoapp.com/bot/v1/group/message \
-H 'Authorization: Bearer 835c1bc124ca99be1c6a8a175018252c84b22bbf' \
-H 'Content-Type: application/json' \
-d '{
"gid" : "5d8af2ff8a63093716267ecf",
"tid" : "5d8af2ff8a6309492e267ed1",
"message": {
"type": "text",
"data": "hi"
}
}'
post
https://customer-h1.ekoapp.com
/bot/v1/direct/picture
Sending a picture to a user
curl -X POST \
https://app-h1.sea.ekoapp.com/bot/v1/direct/picture \
-H 'Authorization: Bearer 835c1bc124ca99be1c6a8a175018252c84b22bbf' \
-H 'Content-Type: multipart/form-data' \
-F uid=5d8af2ff164176ecaec49e5c \
-F caption=test \
post
https://customer-h1.ekoapp.com
/bot/v1/group/picture
Sending a picture to a group chat
curl -X POST \
https://app-h1.sea.ekoapp.com/bot/v1/group/picture \
-H 'Authorization: Bearer 835c1bc124ca99be1c6a8a175018252c84b22bbf' \
-H 'Content-Type: multipart/form-data' \
-F gid=5d8af2ff164176ecaec49e5c \
-F tid=d8a42f164176ecwec4sda95c \
-F caption=test \
post
https://customer-h1.ekoapp.com
/bot/v1/direct/file
Sending a file to a user
curl -X POST \
https://app-h1.sea.ekoapp.com/bot/v1/direct/file \
-H 'Authorization: Bearer 835c1bc124ca99be1c6a8a175018252c84b22bbf' \
-H 'Content-Type: multipart/form-data' \
-F uid=5d8af2ff164176ecaec49e5c \
post
https://customer-h1.ekoapp.com
/bot/v1/group/file
Sending a file to a group chat
curl -X POST \
https://app-h1.sea.ekoapp.com/bot/v1/group/file \
-H 'Authorization: Bearer 835c1bc124ca99be1c6a8a175018252c84b22bbf' \
-H 'Content-Type: multipart/form-data' \
-F gid=5d8af2ff164176ecaec49e5c \
-F tid=d8a42f164176ecwec4sda95c \
Copy link
On this page
post
Sending a text message to a user
post
Sending a text message to a group chat
post
Sending a picture to a user
post
Sending a picture to a group chat
post
Sending a file to a user
post
Sending a file to a group chat