Skip to navigation

Create Teams Login

View as Markdown

Register a Microsoft 365 bot account for signed-in Teams joins. The password is write-only, and each account runs one bot at a time.

Authentication

AuthorizationToken

Format: Token <your_api_key>

Request

This endpoint expects an object.
domainstringRequired

A domain already registered with POST /api/v1/teams-login-domains.

emailstringRequired
passwordstringRequiredformat: "password"

The account password. Write-only; no response ever returns it.

is_activebooleanOptionalDefaults to true

Response

Account registered and available immediately
login_idstringOptional
domainstringOptional
emailstringOptional
is_activebooleanOptional
lease_statusstringOptional
Whether a bot is currently using this account. Each account runs one bot at a time.
last_session_resultstring or nullOptional
last_login_errorstring or nullOptional
created_atstringOptional
updated_atstringOptional

Errors

400
Bad Request Error