Authorization: Bearer ********************
{
"roomId": "26259b2c-509c-4ff5-a82a-d1b5505b014d",
"content": "Hello, world",
"type": "message",
"platform": "line",
"companyId": 507
}
curl --location --request POST 'https://api.gofive.co.th/v1/chat/message' \
--header 'Content-Type: application/json' \
--data-raw '{
"roomId": "26259b2c-509c-4ff5-a82a-d1b5505b014d",
"content": "Hello, world",
"type": "message",
"platform": "line",
"companyId": 507
}'
{
"status": {
"code": "1000",
"description": "Success"
},
"data": {
"vwId": "string",
"id": "string",
"roomId": "string",
"platform": "string",
"user": {
"id": "string",
"companyId": "string",
"type": "string",
"originalName": "string",
"originalName_EN": "string",
"avatar": "string",
"role": "string",
"displayName": "string"
},
"content": "string",
"timestamp": 0,
"type": "string",
"deliveryStatus": "string",
"traceId": "string",
"isFirstCustomerMessage": false
}
}