Skip to content

Create a workspace

AI translated from the German original

Create a workspace from a template.

POST https://sml-api.io/teams

Creates a workspace from a template. Seamless sets up the Microsoft 365 group, the team and the SharePoint site exactly as for a request in the app: with the channels, libraries, permissions and rules of the template.

Field Type Description
displayName Text Display name of the workspace
description Text, optional Description
mailNickName Text Unique part of the email address before the @
responsible Text Primary contact, as email address or user ID
deputy Text, optional Deputy, as email address or user ID
organisationIdOrIdentifier Text ID or identifier of the organisation
templateIdOrIdentifier Text ID or identifier of the template. The template must be enabled for the API under Availability (App & API or API).
owners List Owners, as email addresses or user IDs
members List Members, as email addresses or user IDs
curl -X POST https://sml-api.io/teams \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"displayName": "260215.001 - Project Atlas",
"description": "New office building Atlas",
"mailNickName": "prj-260215.001",
"responsible": "anna.muster@contoso.com",
"deputy": "marco.rossi@contoso.com",
"organisationIdOrIdentifier": "contoso",
"templateIdOrIdentifier": "prj",
"owners": ["anna.muster@contoso.com", "marco.rossi@contoso.com"],
"members": ["lea.meier@contoso.com", "jonas.keller@contoso.com"]
}'
{
"status": "…",
"teamId": "…",
"statusUrl": "…"
}
Field Description
status Creation status
teamId ID of the new workspace
statusUrl Address where you query the creation status

Next steps

Learn more