Access
PreviewList teams
Teams come from Better Auth. Wardn adds leads and groups.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
limit?integerPage size. Defaults to 50, at most 200.
Range
1 <= value <= 200Default
50cursor?stringOpaque cursor from a previous page's nextCursor.
A page of teams.
application/json- response
items*array<>nextCursor?stringcurl -X GET 'https://wardn.example.com/api/v1/teams'Example Response
{ "items": [ { "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" } ] } ], "nextCursor": "string"}