- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the client-side encrypted identities for an authenticated user.
HTTP request
GET https://gmail.googleapis.com/gmail/v1/users/{userId}/settings/cse/identities
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
userId |
The requester's primary email address. To indicate the authenticated user, you can use the special value |
Query parameters
Parameters | |
---|---|
pageToken |
Pagination token indicating which page of identities to return. If the token is not supplied, then the API will return the first page of results. |
pageSize |
The number of identities to return. If not provided, the page size will default to 20 entries. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"cseIdentities": [
{
object ( |
Fields | |
---|---|
cseIdentities[] |
One page of the list of CSE identities configured for the user. |
nextPageToken |
Pagination token to be passed to a subsequent identities.list call in order to retrieve the next page of identities. If this value is not returned or is the empty string, then no further pages remain. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/gmail.settings.basic
https://mail.google.com/
https://www.googleapis.com/auth/gmail.modify
https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/gmail.settings.sharing
For more information, see the Authorization guide.