Messages API

Create a new message

POST research/messages.json

Parameters

Name Description Required Scope
chatroom_id Chatroom ID true
user_id User ID true
content Content true

Request

Headers

Content-Type: application/json
Authorization: Bearer TOKEN

Route

POST research/messages.json

Body

{"user_id":38,"chatroom_id":44,"content":"hi"}

Response

Headers

Content-Type: application/json; charset=utf-8

Status

200 OK

Body

[binary data]