Skip to main content
GET
/
v2
/
teams
List Teams
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": "1s",
      "userIds": [
        "<string>"
      ]
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
cursor
string

Response

Success

data
Team · object[]
nextCursor
string | null