Skip to main content
POST
Create Team
A Team groups customers (coworkers) together for billing, access control, and administrative purposes. Teams can share invoicing, have a designated team leader, and be assigned dedicated resources such as desks or offices.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the Team-Create role.

Request Body

Required Fields

integer
required
ID of the business linked to this record.
string
required
Team name.

Optional Fields

string
Team description.
string
Tunnel private group ID.
integer[]
List of team members linked to this record.
integer[]
List of team administrators linked to this record.
boolean
Create a single invoice for the team.
boolean
Use special prices.
integer
ID of the paying member linked to this record.
integer
ID of the default member tariff linked to this record.
number
Maximum team member count.
boolean
Transfer credits to paying member.
boolean
Share time passes.
boolean
Share extra services.
boolean
Share booking credit.
number
Discount for extra services.
number
Discount for time passes.
number
Discount for charges.
number
Discount for tariffs.
string
Profile summary.
string
Profile tags.
string
Profile website.
Google Maps link.
boolean
Whether the profile is public.
boolean
Whether the team has a community group.
string
URL of a new file to upload as the team logo.
boolean
Set to true to remove the current team logo file.
string
URL of a new file to upload as the team image1.
boolean
Set to true to remove the current team image1 file.
string
URL of a new file to upload as the team image2.
boolean
Set to true to remove the current team image2 file.
string
URL of a new file to upload as the team image3.
boolean
Set to true to remove the current team image3 file.
string
Twitter handle.
string
Facebook URL.
string
LinkedIn URL.
string
Skype handle.
string
Telegram handle.
string
GitHub URL.
string
Pinterest URL.
string
Flickr URL.
string
Instagram URL.
string
Vimeo URL.
string
Tumblr URL.
string
Blogger URL.
boolean
Disable attendance dashboard.
integer[]
List of extra services linked to this record.

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the team was created successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response