Creates conversation
Changed onThe Create Conversation API allows users to initiate a new conversation within a specified project using its unique project ID. This endpoint facilitates seamless communication by enabling teams to start discussions, share updates, and collaborate effectively within the project workspace. Upon a successful request, the API returns the newly created conversation details, including metadata such as participants, timestamps, and initial message content.
Request
- Base URLhttps://api.rocketlane.com/api
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Use this query parameter to opt in for fields to be returned in the response body. Use comma separated values to fetch the respective fields. If left blank, default properties are returned.
This query parameter allows you to specify if all the fields should be returned in the response body. If the field is left blank, the default properties are returned.
Request body
Example request
{
"name": "General chat",
"description": "This is the starting of the General chat",
"source": {
"sourceId": 201,
"sourceType": "PROJECT_CONVERSATION"
},
"allMembers": true,
"members": [
{
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
}
],
"private": true
}Response
The requested action was successfully executed.
Example response
{
"conversationName": "General chat",
"description": "This is the starting of the General chat",
"allMembers": true,
"members": [
{
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
}
],
"source": {
"sourceId": 201,
"sourceType": "PROJECT_CONVERSATION"
},
"conversationId": 201,
"createdAt": 1681319726000,
"private": true
}Changes
- info
endpoint added
- info