Chat

Send a chat message as a verified participant (no API key)

POST
/api/v1/chat/public/messages

Authorization

x-api-key<token>

Tenant API key (backend only — never expose to a browser)

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/api/v1/chat/public/messages" \  -H "Content-Type: application/json" \  -d '{    "content": "Hello everyone!"  }'
{  "id": "string",  "roomId": "string",  "participantId": {},  "content": "string",  "messageType": "TEXT",  "fileUrl": {},  "fileName": {},  "fileSize": {},  "fileMimeType": {},  "senderExternalId": {},  "senderName": {},  "recipientExternalId": {},  "recipientName": {},  "isDeleted": true,  "deletedBy": {},  "replyToId": {},  "createdAt": "2019-08-24T14:15:22Z",  "replyTo": {    "id": "string",    "content": "string",    "senderName": {}  },  "reactions": [    "string"  ]}