To create a group conversation in Slack between users, you can use the following API endpoint:
Endpoint: POST /open-conversation/
Payload Parameters:
- users_uuids (Required): List of user UUIDs that will participate in the private group.
- exchange_token (Optional): If you are building public commands/add-ons, contact our support team if you need this type of feature.
Request Example:
{
"users_uuids":
["5945bf0g2-66f5-4b29-bbd6-07421dfga87",...],
"exchange_token": "optional(token)",
}
"users_uuids":
["5945bf0g2-66f5-4b29-bbd6-07421dfga87",...],
"exchange_token": "optional(token)",
}
Response Example:
{
...,
โbodyโ: {
"channelโ: โChannel IDโ
}
}
...,
โbodyโ: {
"channelโ: โChannel IDโ
}
}
How to Use:
-
Prepare Payload: Create a JSON payload with the required parameters, including the list of user UUIDs for the participants.
-
Submit Request: Use the
POST
method on the specified endpoint to create the group conversation. -
Review Response: The response will be a JSON object containing the ID of the created channel.
If you have any questions or need further assistance, please reach out to our support team at support@dailybot.com.
Comments
0 comments
Article is closed for comments.