26
votes

I'm interested in getting data (metadata and content of files) out of Microsoft Teams into my application using REST APIs. I have looked at Office 365 APIs and Graph APIs but, I could not find supporting documentation for Microsoft Teams.

4

4 Answers

21
votes

Teams API is now added to beta endpoint in Microsoft Graph. In documentation, you can find it together with Groups. Post, Channel and Chat Thread are available. For example, documentation for "channel" resource is here: https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/channel

6
votes

Microsoft Teams REST API is now included into MS Graph API

https://docs.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-1.0

At the time of writing this answer there are not too many APIs around Teams. However more are being added and they are in Beta (sending messages, adding apps to team, uploading team image, and more).

https://docs.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-beta

It is not recommended to use Beta APIs in production environment as they might change.

It is also worth of mentioning that Teams are actually Office365 Groups.

2
votes

We do not have Teams APIs available at this time. Our extensibility options are limited to experiences within the Teams application.