Choose the assistant that answers in Slack
Point the connected workspace at another of your assistants.
PATCH
/
integrations
/
slack
Choose the assistant that answers in Slack
curl --request PATCH \
--url https://app.mithunai.com/mithunai/api/v1/integrations/slack \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assistant_id": "<string>"
}
'import requests
url = "https://app.mithunai.com/mithunai/api/v1/integrations/slack"
payload = { "assistant_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({assistant_id: '<string>'})
};
fetch('https://app.mithunai.com/mithunai/api/v1/integrations/slack', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Requires
credential.manage. The next question asked in Slack is answered by the new assistant.
string
required
One of your organisation’s assistants.
Response
Returnsdata, as Read the Slack connection does.Last modified on November 7, 2026
Choose the assistant that answers in Slack
curl --request PATCH \
--url https://app.mithunai.com/mithunai/api/v1/integrations/slack \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assistant_id": "<string>"
}
'import requests
url = "https://app.mithunai.com/mithunai/api/v1/integrations/slack"
payload = { "assistant_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({assistant_id: '<string>'})
};
fetch('https://app.mithunai.com/mithunai/api/v1/integrations/slack', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));