POST
/conversations.closeClose a direct message conversation
Closes a direct message or multiperson direct message conversation. Provide the conversation channel identifier to close it. The response indicates whether the conversation was already closed or the operation was a no-op.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringoptional
Authentication token with the `conversations:write` scope.
Optional request identifying the direct message conversation to close.
channelstringoptional
Conversation to close.
200Confirms the close operation and may include `already_closed` or `no_op` indicators.
already_closedbooleanoptional
no_opbooleanoptional
okbooleanrequired
defaultReturned when the conversation type does not support closing, the conversation cannot be found or closed by the authenticated user, or the request is malformed.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
neededstringoptional
okbooleanrequired
providedstringoptional
Error handling
channel must identify a direct message or multiperson direct message conversation that the authenticated user can close. The authentication token must have the conversations:write scope.