> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.meetstream.ai/api-reference/api-endpoints/teams-signed-in-bots/create-teams-login/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.meetstream.ai/_mcp/server. # Create Teams Login POST https://api.meetstream.ai/api/v1/teams-logins Content-Type: application/json 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. Reference: https://docs.meetstream.ai/api-reference/api-endpoints/teams-signed-in-bots/create-teams-login ## Authentication - `Authorization` header (required) (prefixed with ` Token `) — Format: Token \ ## Request ### Body (application/json) This endpoint expects a TeamsLoginCreateRequest. - `domain` (string, required) — A domain already registered with POST /api/v1/teams-login-domains. - `email` (string, required) - `password` (string, required) — The account password. Write-only; no response ever returns it. - `is_active` (boolean, optional, default: true) ## Response ### 201 Account registered and available immediately - `login_id` (string, optional) - `domain` (string, optional) - `email` (string, optional) - `is_active` (boolean, optional) - `lease_status` (string, optional) — Whether a bot is currently using this account. Each account runs one bot at a time. - `last_session_result` (string, optional, nullable) - `last_login_error` (string, optional, nullable) - `created_at` (string, optional) - `updated_at` (string, optional) ## Errors ### 400 Bad Request Error Missing or invalid field - `error` (string, optional) ## Examples **Request** ```json { "domain": "bots.acme.com", "email": "bot1@bots.acme.com", "password": "string" } ``` **Response** ```json { "login_id": "dd977d9e-bf62-4618-b30a-bda7886fd57e", "domain": "bots.acme.com", "email": "bot1@bots.acme.com", "is_active": true, "lease_status": "available", "last_session_result": "string", "last_login_error": "string", "created_at": "string", "updated_at": "string" } ``` **SDK Code** ```python import requests url = "https://api.meetstream.ai/api/v1/teams-logins" payload = { "domain": "bots.acme.com", "email": "bot1@bots.acme.com", "password": "string" } headers = { "Authorization": "Token ", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.json()) ``` ```javascript const url = 'https://api.meetstream.ai/api/v1/teams-logins'; const options = { method: 'POST', headers: {Authorization: 'Token ', 'Content-Type': 'application/json'}, body: '{"domain":"bots.acme.com","email":"bot1@bots.acme.com","password":"string"}' }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://api.meetstream.ai/api/v1/teams-logins" payload := strings.NewReader("{\n \"domain\": \"bots.acme.com\",\n \"email\": \"bot1@bots.acme.com\",\n \"password\": \"string\"\n}") req, _ := http.NewRequest("POST", url, payload) req.Header.Add("Authorization", "Token ") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://api.meetstream.ai/api/v1/teams-logins") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["Authorization"] = 'Token ' request["Content-Type"] = 'application/json' request.body = "{\n \"domain\": \"bots.acme.com\",\n \"email\": \"bot1@bots.acme.com\",\n \"password\": \"string\"\n}" response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.post("https://api.meetstream.ai/api/v1/teams-logins") .header("Authorization", "Token ") .header("Content-Type", "application/json") .body("{\n \"domain\": \"bots.acme.com\",\n \"email\": \"bot1@bots.acme.com\",\n \"password\": \"string\"\n}") .asString(); ``` ```php request('POST', 'https://api.meetstream.ai/api/v1/teams-logins', [ 'body' => '{ "domain": "bots.acme.com", "email": "bot1@bots.acme.com", "password": "string" }', 'headers' => [ 'Authorization' => 'Token ', 'Content-Type' => 'application/json', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://api.meetstream.ai/api/v1/teams-logins"); var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Token "); request.AddHeader("Content-Type", "application/json"); request.AddParameter("application/json", "{\n \"domain\": \"bots.acme.com\",\n \"email\": \"bot1@bots.acme.com\",\n \"password\": \"string\"\n}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = [ "Authorization": "Token ", "Content-Type": "application/json" ] let parameters = [ "domain": "bots.acme.com", "email": "bot1@bots.acme.com", "password": "string" ] as [String : Any] let postData = JSONSerialization.data(withJSONObject: parameters, options: []) let request = NSMutableURLRequest(url: NSURL(string: "https://api.meetstream.ai/api/v1/teams-logins")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "POST" request.allHTTPHeaderFields = headers request.httpBody = postData as Data let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ``` > Meeting bot API documentation for Zoom, Google Meet and Microsoft Teams: create bots, stream real-time audio, transcribe, and run in-meeting voice agents.