1. Events
Umum
  • Ayasya WAGW API
    • Instance
      • Create Instance
      • Generate QR Instance
      • Get Pairing Code Instance
      • Pairing Code Instance
      • Get All Instance
      • Status Instance
      • Info Instance
      • Edit Instance
      • Delete Instance
      • Restart Instance
      • Logout Instance
    • Profile
      • Get Profile
      • Update Name
      • Update profile status (about)
      • Update profile picture
      • Delete profile picture
    • Message
      • Basic
        • Send Text
        • Send Image
        • Send File
        • Send Voice
        • Send Video
        • Send Link Preview
      • Interactive
        • Send List Poll
      • Location & Contact
        • Send Location
        • Send Contact
      • Action
        • Reaction
        • Forward
        • Seen (Not Support)
        • Star Message
        • Start Typing
        • Stop Typing
    • Chats
      • Get Chats
      • Delete Chat (Not Working)
      • Get Picture
      • Get Message In Chat
      • Delete Message In Chat
      • Read Chat
    • Channels
      • Get Channels (Not Smoth)
      • Create Channels (Not Smoth)
    • Groups
      • Get Groups
      • Count Groups
      • Create Group
      • Group Join Info
      • Get Info Group
      • Get Group Invite Code
      • Group Join
      • Leave Group
      • Get Participants Group
      • Add Participants Group
      • Remove Participants Group
      • Promote Participants Group
      • Demote Participants Group
      • Get Picture Group
      • Set Picture Group
      • Delete Picture Group
      • Update Group Description
      • Update Group Name
      • Get Info Admin Group Setting
      • Edit Info Admin Group Setting
      • Get Message Admin Group Setting
      • Edit Message Admin Group Setting
    • Status
      • Generate New Message ID
      • Text
      • Image
      • Voice
      • Video
      • Delete
    • Contacts
      • Get Contacts (Comming Soon)
      • Get Contact Info (Comming Soon)
      • Block Contact
      • Unblock Contact
      • Update Contact (Comming Soon)
      • Get All Lids Contact (Comming Soon)
      • Count Lids Contact (Comming Soon)
      • Get Phone Number By Lid (Comming Soon)
      • Get Lid By Phone Number (Comming Soon)
    • Presence
      • Set session presence
      • Get all subscribed presence information
      • Get presence for specific chat ID
      • Subscribe to presence events for chat
    • Events
      • Send event message (Comming Soon)
        POST
    • Observability
      • Ping Server
      • Health Check Server
      • Check Version
      • Check Environment
      • Check Status
      • Restart Server
      • Stop Server
  1. Events

Send event message (Comming Soon)

Developing
POST
http://localhost:3000/api/events/{instanceID}
Last modified:2025-11-10 18:20:11
Maintainer:rama adhitya setiadi
Send event message (Comming Soon)

Request

Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://localhost:3000/api/events/ba7c1e06-870c-4405-bb87-479b2f1f4b4c' \
--header 'x-api-key: {{api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
  "to": "62895347113987@c.us",
  "name": "John'\''s Nail Appointment šŸ’…",
  "description": "It'\''s time for your nail care session! 🌟\\n\\nYou'\''ll be getting a *classic gel manicure* – clean, polished, and long-lasting. šŸ’–\\n\\nšŸ“ *Location:* Luxe Nail Studio\\nWe'\''re on the *2nd floor of the Plaza Mall*, next to the flower shop. Look for the *pink neon sign*!\\n\\nFeel free to arrive *5–10 mins early* so we can get started on time 😊",
  "startTime": 2063137000,
  "endTime": 2063137000,
  "location": "Luxe Nail Studio šŸ’…",
  "callLink": ""
}'
Response Response Example
{
    "success": true,
    "message": "Event message sent successfully",
    "data": {
        "key": {
            "remoteJid": "11111111@c.us",
            "fromMe": true,
            "id": "3EB01F0B17483EB031B4FF"
        },
        "message": {
            "extendedTextMessage": {
                "text": "šŸ“… *John's Nail Appointment šŸ’…*\n\nšŸ“ Description: It's time for your nail care session! 🌟\\n\\nYou'll be getting a *classic gel manicure* – clean, polished, and long-lasting. šŸ’–\\n\\nšŸ“ *Location:* Luxe Nail Studio\\nWe're on the *2nd floor of the Plaza Mall*, next to the flower shop. Look for the *pink neon sign*!\\n\\nFeel free to arrive *5–10 mins early* so we can get started on time 😊\n\nšŸ“ Location: \n\nšŸ• Start: 25/01/1970, 04.05.37\nšŸ• End: 25/01/1970, 04.05.37\n"
            }
        },
        "messageTimestamp": "1762798161",
        "status": "PENDING"
    }
}
Modified atĀ 2025-11-10 18:20:11
Previous
Subscribe to presence events for chat
Next
Ping Server
Built with