---
title: "GET /v1/customers/{customersId}/userinvitations/{userinvitationsId}"
method: GET
path: "/v1/customers/{customersId}/userinvitations/{userinvitationsId}"
tags: ["customers"]
---

# GET /v1/customers/{customersId}/userinvitations/{userinvitationsId}

`GET /v1/customers/{customersId}/userinvitations/{userinvitationsId}`

## Request

- Base URL: `https://cloudidentity.googleapis.com`
- URL: `https://cloudidentity.googleapis.com/v1/customers/{customersId}/userinvitations/{userinvitationsId}`
- Auth: none declared

Retrieves a UserInvitation resource. **Note:** New consumer accounts with the customer's verified domain created within the previous 48 hours will not appear in the result. This delay also applies to newly-verified domains.

## Path parameters

- `customersId` string, required
- `userinvitationsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- UserInvitation: The `UserInvitation` resource represents an email that can be sent to an unmanaged user account inviting them to join the customer's Google Workspace or Cloud Identity account. An unmanaged account shares an email address domain with the Google Workspace or Cloud Identity account but is not managed by it yet. If the user accepts the `UserInvitation`, the user account will become managed.
  - `mailsSentCount` string, int64: Number of invitation emails sent to the user.
  - `name` string: Shall be of the form `customers/{customer}/userinvitations/{user_email_address}`.
  - `state` 'STATE_UNSPECIFIED' | 'NOT_YET_SENT' | 'INVITED' | 'ACCEPTED' | 'DECLINED': State of the `UserInvitation`.
  - `updateTime` string, google-datetime: Time when the `UserInvitation` was last updated.

---

[API](https://skmtc.dev/google/apis/cloudidentity.md) - [All operations](https://skmtc.dev/google/apis/cloudidentity/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/cloudidentity/revisions/7be184a4f032?raw)
