---
title: "GET /v1/userProfiles/{studentId}/guardianInvitations"
method: GET
path: "/v1/userProfiles/{studentId}/guardianInvitations"
tags: ["userProfiles"]
---

# GET /v1/userProfiles/{studentId}/guardianInvitations

`GET /v1/userProfiles/{studentId}/guardianInvitations`

Returns a list of guardian invitations that the requesting user is permitted to view, filtered by the parameters provided. This method returns the following error codes: * `PERMISSION_DENIED` if a `student_id` is specified, and the requesting user is not permitted to view guardian invitations for that student, if `"-"` is specified as the `student_id` and the user is not a domain administrator, if guardians are not enabled for the domain in question, or for other access errors. * `INVALID_ARGUMENT` if a `student_id` is specified, but its format cannot be recognized (it is not an email address, nor a `student_id` from the API, nor the literal string `me`). May also be returned if an invalid `page_token` or `state` is provided. * `NOT_FOUND` if a `student_id` is specified, and its format can be recognized, but Classroom has no record of that student.

## Path parameters

- `studentId` string, required

## Query parameters

- `invitedEmailAddress` string
- `pageSize` integer
- `pageToken` string
- `states` 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/revisions/1b98f151d40b/schema)
