POST
/conversations.createCreate a conversation
Creates a public or private channel-based conversation. Provide name for the channel name and set is_private to true when the conversation should be private. The response contains the created conversation object.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringoptional
Authentication token with the `conversations:write` scope.
Optional conversation creation request containing the channel name and visibility setting.
namestringoptional
Name of the public or private channel to create
is_privatebooleanoptional
Create a private channel instead of a public one
200Returns the created conversation object.
channelarrayrequired
okbooleanrequired
defaultReturned when the channel name is already in use, the name is invalid, the conversation cannot be created, or authentication or permissions are insufficient.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
detailstringoptional
errorstringrequired
neededstringoptional
okbooleanrequired
providedstringoptional
Error handling
name must be a valid channel name and must not already be in use. Set is_private to true to create a private conversation; otherwise the conversation is public.