# Create chat message **POST /data/entities/{entity_id}/chat/messages** Create a new chat message for a specific entity. Supports both JSON and form data with optional file attachments. Only chat participants can send messages. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters ### Path parameters - **entity_id** () ID of the entity related to the chat ### Body: application/json (object) - **message** (string) Message content to send ## Responses ### 201 Chat message successfully created #### Body: application/json (object) - **id** (string(uuid)) Created message unique identifier - **message** (string) Message content - **person_id** (string(uuid)) ID of the message sender - **created_at** (string(date-time)) Message creation timestamp - **attachments** (array[object]) Array of attached files [Powered by Bump.sh](https://bump.sh)