Chat Audit Activity Events

This document lists the events and parameters for various types of Chat Audit activity events. You can retrieve these events by calling Activities.list() with applicationName=chat.

User Action

Events of this type are returned with type=user_action.

Add Room Member

Event details
Event name add_room_member
Parameters
actor

string

Actor.

room_id

string

Room Id.

target_users

string

Target Users.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=add_room_member&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} added a room member.

Attachment Download

Event details
Event name attachment_download
Parameters
actor

string

Actor.

attachment_hash

string

Attachment Hash.

attachment_name

string

Attachment Name.

attachment_url

string

Attachment Url.

room_id

string

Room Id.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=attachment_download&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} downloaded an attachment.

Attachment Upload

Event details
Event name attachment_upload
Parameters
actor

string

Actor.

attachment_hash

string

Attachment Hash.

attachment_name

string

Attachment Name.

room_id

string

Room Id.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=attachment_upload&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} uploaded an attachment.

Block Room

Event details
Event name block_room
Parameters
actor

string

Actor.

room_id

string

Room Id.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=block_room&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} blocked a room.

Block User

Event details
Event name block_user
Parameters
actor

string

Actor.

room_id

string

Room Id.

target_users

string

Target Users.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=block_user&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} blocked a user.

Direct Message Started

Event details
Event name direct_message_started
Parameters
actor

string

Actor.

dm_id

string

Direct Message Id - THIS FIELD IS DEPRACATED, USE ROOM ID INSTEAD.

room_id

string

Room Id.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=direct_message_started&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} started a direct message.

Invite Accept

Event details
Event name invite_accept
Parameters
actor

string

Actor.

room_id

string

Room Id.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=invite_accept&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} accepted an invitation to join a room.

Invite Decline

Event details
Event name invite_decline
Parameters
actor

string

Actor.

room_id

string

Room Id.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=invite_decline&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} declined an invitation to join a room.

Invite Send

Event details
Event name invite_send
Parameters
actor

string

Actor.

room_id

string

Room Id.

target_users

string

Target Users.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=invite_send&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} sent an invite.

Message Edited

Event details
Event name message_edited
Parameters
actor

string

Actor.

attachment_hash

string

Attachment Hash.

attachment_name

string

Attachment Name.

message_id

string

Message Id.

room_id

string

Room Id.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=message_edited&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} edited a message.

Message Posted

Event details
Event name message_posted
Parameters
actor

string

Actor.

attachment_hash

string

Attachment Hash.

attachment_name

string

Attachment Name.

message_id

string

Message Id.

room_id

string

Room Id.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=message_posted&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} posted a message.

Remove Room Member

Event details
Event name remove_room_member
Parameters
actor

string

Actor.

room_id

string

Room Id.

target_users

string

Target Users.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=remove_room_member&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} removed a room member.

Room Created

Event details
Event name room_created
Parameters
actor

string

Actor.

room_id

string

Room Id.

Sample request
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=room_created&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} created a room.