This will be set to users.list
.
POST
/your-webhook-url?action=users.list
List users
query parameters
action
string
Required
body parameters
pageSize
int32
The maximum number of users to return. The webhook is allowed to return fewer than this value, but it should never return more.
pageToken
string
A page token, this is from the response of the previous list request.
This should be used to determine the next page of results.
Returns
users
CustomUser
The list of users.
nextPageToken
string
A token the webhook can set to indicate it has more results.
This can be a page number, offset number, timestamp, or any value the webhook handler wants to use for pagination.
It must be encoded as a string.
code
enum
The general error code (e.g.
INVALID_ARGUMENT
).Possible values:OK
CANCELLED
UNKNOWN
INVALID_ARGUMENT
DEADLINE_EXCEEDED
NOT_FOUND
ALREADY_EXISTS
PERMISSION_DENIED
UNAUTHENTICATED
RESOURCE_EXHAUSTED
FAILED_PRECONDITION
ABORTED
OUT_OF_RANGE
UNIMPLEMENTED
INTERNAL
UNAVAILABLE
DATA_LOSS
message
string
A developer-facing error message.
reason
string
A reason code for the error (e.g.
USER_PENDING_DELETION
).param
string
The parameter path related to the error (e.g.
member.userId
).metadata
string
Additional metadata related to the error.