Push Message

Push

POST http://h1.eko12.local/bot/v2/message/push

curl --location '{process.env.EKO_HTTP_URI}/bot/v2/message/push' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {token}' \
--data '{
    "tid": "67f8b9d48233e6b19c8501f1",
    "gid": "67f8b9d48233e6a3b68501ef",
    "messages": [
        {
            "type": "text",
            "text": "OTP test: 12345"
        }
    ]
}'

Request Body

Name
Type
Description

tid

string

Thread ID

gid

string

Group ID

messages

array

An array of messages object (see "Message Schema")

Last updated