GET/team

Get the team associated with the API token

Retrieves the team associated with the authenticated user's API token. Use this endpoint to identify the team context for requests that operate on the token's team.

3 status codes
200Returns the team associated with the API token, including its ID, name, description, settings, and members.
created_atstringoptional
The date and time the team was created.
custom_server_limitstringoptional
The custom server limit.
descriptionstringoptional
The description of the team.
idintegeroptional
The unique identifier of the team.
is_build_server_fallback_enabledbooleanoptional
Whether deployments can fall back to the deployment server when no usable dedicated build server is available.
membersarray<object>optional
The members of the team.
namestringoptional
The name of the team.
personal_teambooleanoptional
Whether the team is personal or not.
show_boardingbooleanoptional
Whether to show the boarding screen or not.
updated_atstringoptional
The date and time the team was last updated.
400Returned when the API token is invalid.
messagestringoptional
401Returned when the request is unauthenticated.
messagestringoptional

Error handling

A 400 is returned when the API token is invalid. A 401 is returned when the request is unauthenticated; send a valid API token.