FluxyChat

Messages

Create message

Send a message to a room. Requires member JWT.

POST
/messages

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/messages" \  -H "Content-Type: application/json" \  -d '{    "roomId": "string"  }'
{  "message": {    "id": 0,    "roomId": "string",    "content": "string",    "userId": "string",    "createdAt": "2019-08-24T14:15:22Z"  }}