Create a teams workspace
Authorization
ApiKeyAuth x-meeting-baas-api-key<token>
Your Meeting BaaS API key. Get one from your account settings.
In: header
Request Body
application/json
domain*string
The Microsoft 365 tenant primary domain (e.g. contoso.onmicrosoft.com or a verified custom domain). Identifies the tenant this workspace represents; accounts on any of the tenant's verified domains can be added.
Match
^[a-z0-9.-]+\.[a-z]{2,}$Length
1 <= length <= 253extra?|
name?string
User-friendly label for the workspace. Not unique — names can repeat within a team.
Default
"Microsoft Teams"Length
1 <= length <= 100Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.meetingbaas.com/v2/teams-workspaces" \ -H "Content-Type: application/json" \ -d '{ "domain": "contoso.onmicrosoft.com" }'{
"data": {
"created_at": "string",
"domain": "string",
"extra": {
"environment": "production",
"tenant_id": "t_123"
},
"failure_data": null,
"last_error_at": "string",
"last_error_message": "string",
"name": "string",
"state": "active",
"updated_at": "string",
"workspace_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
"success": true
}{
"code": "string",
"error": "string",
"message": "string",
"statusCode": 9007199254740991,
"success": false
}{
"code": "string",
"details": "string",
"error": "string",
"message": "string",
"statusCode": 9007199254740991,
"success": false
}{
"code": "string",
"details": "string",
"error": "string",
"message": "string",
"retryAfter": 9007199254740991,
"statusCode": 9007199254740991,
"success": false
}{
"code": "string",
"details": "string",
"error": "string",
"message": "string",
"statusCode": 9007199254740991,
"success": false
}