Add a new ChatroomMessageReaction

POST /api/cp/chat/chatroom_message_reaction/{chatroomMessageIdentifier}

Path parameters

  • chatroomMessageIdentifier string Required

Query parameters

  • iw-build-id string

    build id of the client

  • iw-package-id string

    package id of the client

application/json

Body Required

  • data object
    Hide data attributes Show data attributes object
    • id integer
    • emoji string

Responses

  • 200 application/json

    Add a new ChatroomMessageReaction

    Hide response attributes Show response attributes object
    • id integer
    • emoji string
POST /api/cp/chat/chatroom_message_reaction/{chatroomMessageIdentifier}
curl \
 --request POST 'https://replace-with-own-host.iw-erp.de/api/cp/chat/chatroom_message_reaction/{chatroomMessageIdentifier}' \
 --header "x-session-token: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"data":{"id":42,"emoji":"string"}}'
Request examples
{
  "data": {
    "id": 42,
    "emoji": "string"
  }
}
Response examples (200)
{
  "id": 42,
  "emoji": "string"
}