Access
PreviewGet a team
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
teamId*stringThe team.
application/json- response
id*stringname*stringmemberCount*integerFormat
int64createdAt*stringFormat
date-timeowners*array<string>User ids of the team's owners, oldest first.
leads*array<string>User ids of the team's leads, oldest first.
groups*array<>curl -X GET 'https://wardn.example.com/api/v1/teams/string'Example Response
{ "id": "string", "name": "string", "memberCount": 0, "createdAt": "2019-08-24T14:15:22Z", "owners": [ "string" ], "leads": [ "string" ], "groups": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } ]}