List all teams.
cURL
curl --request GET \ --url https://public.api.serval.com/v2/teams \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "name": "<string>", "prefix": "<string>", "description": "<string>", "organizationId": "<string>", "createdAt": "2023-11-07T05:31:56Z" } ], "nextPageToken": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Maximum number of results to return. Default is 10000, maximum is 10000.
Token for pagination. Leave empty for the first request.
Success
The list of teams.
Show child attributes
Token for retrieving the next page of results. Empty if no more results.
Was this page helpful?