Sends a new message to another user in the community. If no conversation exists between the two users, one is automatically created.Documentation Index
Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt
Use this file to discover all available pages before exploring further.
URL Parameters
The unique identifier of the community
Request Body
The unique identifier of the message recipient
Message content (max 5,000 characters)
Returns
Returns the created message object.Error Responses
Returned when:
- The sender is not a member of the community
- The recipient is not a member of the community
- The recipient is blocked
- A member tries to message another member (only creator ↔ member messaging allowed)
ERROR
Returned when validation fails (e.g., content is blank or too long)
ERROR
Notes
- Authorization: User must be an active member of the community or the community creator
- Messaging Rules:
- Creators can message any member
- Members can only message the creator
- Members cannot message other members
- Conversation Creation: A conversation is automatically created if one doesn’t exist
- Notifications: The recipient receives email and push notifications (if enabled)
- Blocking: Messages cannot be sent to blocked users
- Content Length: Maximum 5,000 characters

