Skip to main content
GET
/
teams
cURL
curl --request GET \
  --url https://api.youappz.dev/teams \
  --header 'Authorization: Bearer <token>'
{
  "teams": [
    {
      "id": "<string>",
      "slug": "<string>",
      "name": "<string>",
      "avatar": "<string>",
      "createdBy": 123,
      "createdAt": 123,
      "updatedAt": 123
    }
  ],
  "pagination": {
    "count": 20,
    "next": 1540095775951,
    "prev": 1540095775951
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer

Maximum number of teams to list from a request

Example:

20

since
integer

Get teams created after this JavaScript timestamp

Example:

"1540095775941"

until
integer

Get teams created before this JavaScript timestamp

Example:

"1540095775941"

Response

The paginated list of teams

teams
object[]
required
pagination
Pagination · object
required

This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.