Skip to main content
GET
/
classe
Listar turmas
curl --request GET \
  --url https://api.plataformainsight.com.br/v1/classe \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "countStudents": 123
    }
  ],
  "totalRecords": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer<int32>

Número da página

pageSize
number

Tamanho da página

sortBy
string

Ordenação

query
string

Filtro por nome

Response

Successful response

data
object[]
totalRecords
number
Example:

10