Docs
/
/

Check auth

Check if a connection to Microsoft Teams has been authorized for a given Microsoft Teams tenant object.

Check auth

Check if a connection to Microsoft Teams has been authorized for a given Microsoft Teams tenant object.

Endpoint

GET/v1/providers/ms-teams/{channel_id}/auth_check

Rate limit

Tier 2

Path parameters

channel_id
string

The ID of the Knock Microsoft Teams channel to check.

Query parameters

ms_teams_tenant_object
string

A JSON encoded string containing the Microsoft Teams tenant object reference.

Returns

MsTeamsAuthCheckResponse

The response from a Microsoft Teams auth check request.

connection
object

A Microsoft Teams connection object.

ok
boolean

Whether the Microsoft Teams connection is valid.

reason
string

The reason for the Microsoft Teams connection if it is not valid.

New chat