Create a new team or update an existing one. Pass team_id to update.
Documentation Index
Fetch the complete documentation index at: https://docs.flashcat.cloud/llms.txt
Use this file to discover all available pages before exploring further.
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Teams Manage (organization) |
team_id (or set to 0) to create a new team; pass an existing ID to update.team_name must be 1–39 characters and unique within the account.person_ids to set team membership; this replaces the entire member list.emails or phones to invite members who don’t yet have accounts.ref_id is an external identifier for integration with third-party HR systems.App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Parameters for creating or updating a team.
Team display name. 1–39 characters.
1 - 39Team ID. Omit or set to 0 to create a new team.
Free-form description.
500Member IDs to set as team members. Replaces the existing member list.
Email addresses to invite as members.
Phone numbers to invite as members.
Default country code applied to any phones entries that are not in E.164 format.
External reference ID for HR system integration.
If true and a team with the same name already exists, reset its membership to the provided person_ids.
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.