Skip to main content

Add Team

POST

https://app.smartsuite.com/api/v1/teams/

Creates a Team. Team names must be unique.

Example Request
curl -X POST https://app.smartsuite.com/api/v1/teams/ \
-H "Authorization: Token YOUR_API_KEY" \
-H "ACCOUNT-ID: WORKSPACE_ID" \
-H "Content-Type: application/json" \
--data '{
"id": null,
"name": "My New Team",
"type": "2",
"status": {
"value": "1",
"updated_on": null
},
"color": [
{
"value": "#0C41F3",
"name": ""
}
],
"owners": [
"63a1f65723aaf6bcb564b1f1"
],
"members": [],
"first_created": null,
"last_updated": null,
"comments_count": 0,
"followed_by": []
}'

Request Body​

ParamTypeNullableDescription
idstringYesSet value to null when adding team
namestringNoName of the new team. NOTE: Must be unique
typestringNoAlways set this value to "2" (PUBLIC)
statusstatus objectNoTeam status
colorcolor objectNoColor associated with the team
ownersarray of stringsNoList of the team's owner ids
membersarray of stringsNoList of team members' ids
first_createddate objectYesset to null
last_updateddate objectYesset to null
comments_countnumberNoset to 0
followed_byarray of stringsNoList of follower ids (set to empty array)

Status Object​

ParamTypeDescription
valuestringStatus value

  • ACTIVE = "1"
  • INACTIVE = "2"

updated_onISO dateDate status last updated

Color Object​

ParamTypeDescription
valuestringHex color value associated with the Team
namestringcolor name or ""

Response​

200 - Example Response
{
"name": "My New Team",
"color": [
{
"value": "#0C41F3"
}
],
"type": "2",
"status": {
"value": "1",
"updated_on": "2024-06-12T15:37:31.904982Z"
},
"owners": [
"63a1f65723aaf6bcb564b1f1"
],
"members": [],
"first_created": {
"on": "2024-06-12T15:37:31.881579Z",
"by": "63a1f65723aaf6bcb564b1f1"
},
"last_updated": {
"on": "2024-06-12T15:37:31.881652Z",
"by": "63a1f65723aaf6bcb564b1f1"
},
"id": "6669c0bb3c4a0cff67a91a4c",
"application_slug": "teams",
"application_id": "63a1f65623aaf6bcb564b00b",
"title": null,
"comments_count": null,
"autonumber": null,
"ranking": {
"default": "aamevqvtmm"
},
"deleted_date": {
"date": null,
"include_time": false
},
"deleted_by": null
}