team
Create a new team
post/team/create
Request
- Base URLhttps://api.scalar.com/core
- URLhttps://api.scalar.com/core/team/create
- AuthHTTP bearer
Request body
Example request
{
"project": {
"uid": "UakgbKJ5m9gl0JDMbcJqL",
"createdAt": 1735689600,
"updatedAt": 1735689600,
"name": "Acme Documentation",
"activeDeployment": {
"uid": "UakgbKJ5m9gl0JDMbcJqL",
"domain": "docs.example.com",
"publishedAt": 1735689600
},
"lastPublished": 1735689600,
"lastPublishedUid": "PakgbKJ5m9gl0JDMbcJqL",
"loginPortalUid": "LakgbKJ5m9gl0JDMbcJqL",
"userInfoHookUrl": "https://example.com/hooks/user-info",
"userInfoHookSecretUid": "UakgbKJ5m9gl0JDMbcJqL",
"activeThemeId": "TakgbKJ5m9gl0JDMbcJqL",
"typesenseId": 42,
"agentEnabled": true,
"analyticsEnabled": true,
"chatInsightsEnabled": true,
"accessGroups": [
"UakgbKJ5m9gl0JDMbcJqL"
],
"website": {
"lastDeployed": 1735689600
}
},
"teamInfo": {
"slug": "acme-api"
},
"invites": [
{
"email": "alex@example.com"
}
]
}Response
Default Response
Changes
- info
added the new required request property
/with a default value
- info
- info
added the new optional request property
/
- info