Create Conversation
Start (or find) a direct or group conversation with one or more recipients.
Authentication: Required — Bearer token.
Request body:
recipient_ids(optional) — Array of user IDs; ORrecipient_id(optional) — A single user ID (used whenrecipient_idsis empty)
The sender’s own ID is removed. One resolved recipient creates a direct thread; two or more create a group.
Response: data — The conversation list item.
Errors:
422—recipient_id is required404— Recipient not found403— Direct messages are not allowed in this community
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
recipient_ids
recipient_id
Response
OK