Check a Teams link before confirming it
Which Teams account a link would connect to you. Spends nothing.
Check a Teams link before confirming it
curl --request POST \
--url https://app.mithunai.com/mithunai/api/v1/integrations/teams/identity/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'import requests
url = "https://app.mithunai.com/mithunai/api/v1/integrations/teams/identity/preview"
payload = { "token": "<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({token: '<string>'})
};
fetch('https://app.mithunai.com/mithunai/api/v1/integrations/teams/identity/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {}
}The console calls this when you open a link the bot sent, and shows you the Teams display name before you confirm. Answers
403 when the link’s Teams organisation is not connected to your organisation.
string
required
The token from the link the bot sent you in a personal chat — the part after
#teams-link=.Response
object
required
platform (teams) and display_name, as Teams showed it.Last modified on November 11, 2026
Check a Teams link before confirming it
curl --request POST \
--url https://app.mithunai.com/mithunai/api/v1/integrations/teams/identity/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>"
}
'import requests
url = "https://app.mithunai.com/mithunai/api/v1/integrations/teams/identity/preview"
payload = { "token": "<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({token: '<string>'})
};
fetch('https://app.mithunai.com/mithunai/api/v1/integrations/teams/identity/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {}
}