POST
/conversations.setPurposeSet a conversation purpose
Sets the purpose of an existing conversation. Provide the conversation in channel and the new purpose in purpose, using an authentication token with the conversations:write scope when authorization is required.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringoptional
Authentication token for the request; it must provide the `conversations:write` scope.
Optional form-encoded conversation purpose details.
channelstringoptional
Conversation to set the purpose of
purposestringoptional
A new, specialer purpose
200Returns a success object with `ok` set to true and the updated conversation in `channel`.
channelarrayrequired
okbooleanrequired
defaultTypical error response
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
neededstringoptional
okbooleanrequired
providedstringoptional
Error handling
channel must identify a conversation whose purpose the authenticated user can change, and purpose must contain the new purpose text. The token must provide the conversations:write scope when supplied for authentication.