Skip to main content
GET
List Team Profiles

List Team Profiles

Returns an array of team profile summaries for teams the authenticated customer belongs to. Each entry includes the team’s details, permission flags (can add/remove/cancel members), all team members with their contracts, and recent bookings. Primarily used in the booking flow to populate the “book for team” selector.
This endpoint uses a view-style URL (/en/team/profiles) rather than the /api/public/ convention. It returns server-rendered JSON and is called with the bookForTeam=true query parameter in the booking context.

Authentication

Requires a valid customer bearer token.

Query Parameters

boolean
When true, scopes the response to teams the customer can book on behalf of. Added conditionally in the booking flow.
string
Comma-separated list of field paths to include in the response. When provided, only the specified fields are returned — useful for reducing payload size. Supports nested paths using dot notation.

Response

Returns an array of TeamProfile objects (not wrapped in a list envelope).

TeamProfile Fields

boolean
Whether the authenticated customer can add new members to this team.
boolean
Whether the authenticated customer can remove members from this team.
boolean
Whether the authenticated customer can cancel member contracts in this team.
Team
Full team object with the same fields as the response from GET /api/public/teams/{teamId}/profile.
any
Recent bookings made by team members.
AllTeamMember[]
Extended member objects that include contract information alongside standard Customer fields.
CoworkerContract[]
Active contracts for this member, including plan name, start date, next invoice date, price, and cancellation details.

Examples

Fetch team profiles for booking

TypeScript Integration

Usage in Portal

Error Responses

error
The customer is not authenticated or the session has expired.