v1

latestOpenAPI 3.0.02026-07-14181255304.7 KB
Messages

Send event

This method is responsible for sending a event.

post/messages/event

Request body

tostring required

Use the phone number or Chat ID of the contact/group/channel to which you want to send the message. Use Get groups to get the group ID.

titlestring required

Event name.

descriptionstring

Event description.

startTimenumber required

Start time (format timestamp)

endTimenumber

End time (format timestamp)

degreesLatitudenumber double
degreesLongitudenumber double
locationNamestring
locationAddressstring
view_onceboolean

Is view once

Example request

{
  "to": "1234567891@g.us"
}

Response

Created

sentboolean required

Message sent