Create Channels in MS teams working with v1 Graph API

Copper Contributor

I am trying to use Graph Api to create channels in microsoft teams. From the documentation I understand that the create channels works for public channels with v1 API but for private channels, we need to use the beta API. We have the api at both the places in the documentation:
v1: https://docs.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-1.0&tabs=http

beta: https://docs.microsoft.com/en-us/graph/api/channel-post?view=graph-rest-beta&tabs=http

In v1 the examples are only for the public channel but in beta we have both private and public channels. However the v1 api for private channels is also working fine.

So have the private channels been moved to v1 api as well. Is there some updated documentation for this? Any help is appreciated

1 Reply