Start connecting Microsoft Teams
The Microsoft admin-consent address to send the browser to.
Start connecting Microsoft Teams
curl --request POST \
--url https://app.mithunai.com/mithunai/api/v1/integrations/teams/install \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assistant_id": "<string>"
}
'import requests
url = "https://app.mithunai.com/mithunai/api/v1/integrations/teams/install"
payload = { "assistant_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({assistant_id: '<string>'})
};
fetch('https://app.mithunai.com/mithunai/api/v1/integrations/teams/install', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"authorize_url": "<string>"
}Requires
credential.manage and a signed-in person; an API key is refused. The address asks a Microsoft Entra administrator to consent to the bot for the whole tenant (prompt=admin_consent, scope=openid), with a single-use state bound to you that lasts ten minutes.
string
required
The assistant that will answer the tenant.
Response
string
required
Microsoft’s consent page.
Last modified on November 11, 2026
Start connecting Microsoft Teams
curl --request POST \
--url https://app.mithunai.com/mithunai/api/v1/integrations/teams/install \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assistant_id": "<string>"
}
'import requests
url = "https://app.mithunai.com/mithunai/api/v1/integrations/teams/install"
payload = { "assistant_id": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({assistant_id: '<string>'})
};
fetch('https://app.mithunai.com/mithunai/api/v1/integrations/teams/install', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"authorize_url": "<string>"
}