---
title: "GET /v1/courses"
method: GET
path: "/v1/courses"
tags: ["courses"]
---

# GET /v1/courses

`GET /v1/courses`

Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. Returned courses are ordered by creation time, with the most recently created coming first. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any users specified in the query arguments do not exist.

## Query parameters

- `courseStates` string[]
- `pageSize` integer
- `pageToken` string
- `studentId` string
- `teacherId` string

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/classroom.md) · [All operations](https://skmtc.net/google/apis/classroom/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/classroom/versions/1b98f151d40b/schema)
