Mobile - InWan
  1. Chat
Mobile - InWan
  • 🐶 Walk through Apidog
  • CMS
    • V1
      • Video
        • GET - LIST Videos
        • POST - Videos
        • Featured Video
        • POST - Featured Videos
      • Auth
        • Login
        • Logout
        • Firebase Token
      • Profile
        • Profile
      • Customer
        • Address
          • List
          • Update
        • Point History
          • List
        • Referral
          • Update Referral
          • List HIstory
        • Summary
        • Statistic
        • List
        • Show
        • Update
        • Change Password
      • Admin
        • List
        • Create
        • Show
        • Update
        • Change password
        • Delete
      • Event
        • Update
        • Show
      • Product
        • Category
          • List
          • Create
          • Show
          • Update
          • Delete
          • Subcategory list
          • Order position
        • Variant
          • Toggle Product Variant Status
        • Review
          • List
          • Reply
          • Delete Reply
        • Sync Stock
          • Check
          • Bulk Update
        • Bulk Create
          • Check
          • Bulk Create
        • List
        • Create
        • Toggle Product Status
        • Show
        • Update
        • Delete
        • Summary
        • Top sales
      • News
        • List
        • Create
        • Show
        • Update
        • Delete
        • Broadcast
      • Promo
        • List
        • Create
        • Show
        • Update
        • Delete
        • Referral
      • Home
        • Banner
          • List
          • Create
          • Delete
          • Sort
        • Popup Banner
          • GET - LIST PopBanner
          • POST - PopBanner
          • DELETE - PopBanner
        • Featured Product
          • List
          • Create
          • Delete
          • Sort
        • Featured Category
          • List
          • Create
          • Delete
          • Sort
      • Setting
        • List
        • Update
      • Order
        • List
        • Detail
        • Update
        • Update payment status
        • Change shipping price
        • Update shipping fee
        • Statistic
        • Summary weekly report
        • Invoice
      • Chat
        • Messages
          GET
        • Send
          POST
        • Read Message
          POST
        • GET - Messages Copy
          GET
        • Room
          GET
        • Create Room
          POST
        • Notification Unread
          GET
        • Pin Chat Room
          POST
      • Broadcast
        • List
        • Create
        • Update
        • Delete
        • Send
        • Detail
      • Fcm
        • Save
      • Report
        • List
        • Export
    • V2
      • Video
        • Index
        • Create
        • Update
        • Delete
        • Show
      • Chat
        • GET - Messages
        • Send
        • Room
      • Order
        • GET - List Order By Customer
        • Detail
        • GET - Order
        • GET - List order based on customer
        • Statistic
        • Update
        • Summary weekly report
      • Home
        • Featured Video
          • Index
          • Delete
          • Sort
          • Create
      • Customer
        • Point History
          • List
          • Add point
        • GET - Summary
        • GET - Summary Statistic
        • GET - LIST User Referal USAGE
        • GET - Summary Statistic
      • Report
        • Product
          • Click rate
          • Click rate Export
          • Add to cart
          • Add to chart Export
          • Ordered
          • Ordered export
        • GET - Export New Customer
      • Product
        • POST - CREATE Product
        • PATCH - UPDATE Product
      • Setting
        • List
        • Update
      • Dashboard
        • Product
          • Statistic
          • Most click
  • APP
    • V1
      • Auth
        • Login Basic
        • Login Social
        • Register
        • Check Phone
        • Reset Password
        • Firebase Token
      • Otp
        • Send
        • Verify
      • Banner
        • List
      • News
        • List
        • Detail
      • User
        • Address
          • List
          • Create
          • Update
          • Toggle primary
          • Delete
        • Voucher
          • List
          • Detail
          • History
          • Claim
        • Social Media
          • List
          • Bind
          • Unbind
        • Show profile
        • Logout
        • Update profile
        • Update profile (For first login with social media account)
        • Change password
        • Delete
        • List point history
        • Toggle Auto Use Point
        • Change Language
      • Event
        • Flashsale
      • Product
        • Category
          • List
          • List featured
          • List child
        • Review
          • List
          • Create
          • Toggle like
        • Flash sale Copy
        • List
        • Variant Options
        • Variant
        • Flash sale
        • Detail
        • Recommendation
        • Related
        • Autocomplete
        • Viewed
      • Cart
        • List
        • Create
        • Delete
      • Wishlist
        • List
        • Toggle
      • Order
        • Review
          • Unreviewed Order Item List
          • My Reviews
        • List
        • Detail
        • Confirmation
        • Payment methods
        • Create
        • Detail payment method
        • Show Detail payment method
        • Invoice
        • Finish order
        • Received
      • Chat
        • Messages
        • Send
        • Read Message
      • Fcm
        • Save
        • Test Notif
      • Notification
        • Notification History
        • Notification Unread Count
    • V2
      • Banner
        • GET - ACTIVE PopBanner
        • GET - List
      • Order
        • POST - Create
        • Cancel Order
        • Confirmation
        • GET - LIST Order
      • Video
        • GET - Featured Video
        • GET - LIST Video
        • GET - Video Detail
      • Voucher
        • List
        • Detail
        • History
        • Claim
      • Chat
        • GET - Messages
        • Send
      • Product
        • List
      • User
        • Address
          • GET - LIST Address
        • Social Media Copy
          • Bind Raw
          • List
          • Bind
          • Unbind
        • GET - LIST User Referal USAGE Copy
        • GET - Profile
      • Auth
        • Login social (without token)
  1. Chat

Send

Develop Env
https://dev-api.inwantaiwan.com
Develop Env
https://dev-api.inwantaiwan.com
POST
/api/cms/v1/chat/room/{roomId}/message
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev-api.inwantaiwan.com/api/cms/v1/chat/room//message' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "message": "Hello, world! from Admin",
    "attachment": {
        "images": [
            "url-here"
        ],
        "products": [
            {
                "id": 1,
                "concat_id": "2_3_4"
            }
        ]
    }
}'
Response Response Example
{
    "data": {}
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

Modified at 2025-05-07 06:47:45
Previous
Messages
Next
Read Message
Built with