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

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

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

## Request

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

Retrieves a list of UserInvitation resources. **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

## 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
- `filter` string
- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListUserInvitationsResponse: Response message for UserInvitation listing request.
  - `nextPageToken` string: The token for the next page. If not empty, indicates that there may be more `UserInvitation` resources that match the listing request; this value can be used in a subsequent ListUserInvitationsRequest to get continued results with the current list call.
  - `userInvitations` UserInvitation[]: The list of UserInvitation resources.
    - `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)
