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

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

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

Returns a specific guardian invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view guardian invitations for the student identified by the `student_id`, 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`). * `NOT_FOUND` if Classroom cannot find any record of the given student or `invitation_id`. May also be returned if the student exists, but the requesting user does not have access to see that student.

## Path parameters

- `studentId` string, required
- `invitationId` string, required

## 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)
