curl --location --request POST 'https://slack.com/api/conversations.open'
{
"channel": {
"id": "D069C7QFK"
},
"ok": true
}
conversations:write
im
or mpim
's ID. Or provide the users
field instead.channel
when not supplying users
.