User events
This page describes the user events schema sent to Amazon EventBridge using the Zendesk Events Connector.
User event properties
The user_event
property contains a user
object. This object contains the
following properties from the user resource
schema:
created_at
default_group_id
email
external_id
id
organization_id
role
updated_at
Active Status Changed
A user's status changed. Current
is "false" if the user has been soft deleted.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Active Status Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-20T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 2,
"total": 9
}
},
"type": "Active Status Changed",
"previous": true,
"current": false,
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-20T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous active statuscurrent
- The current active status
Alias Changed
A user's alias has been changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Alias Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-20T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 4,
"total": 9
}
},
"type": "Alias Changed",
"previous": "abc",
"current": "edf",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-20T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous aliascurrent
- The current alias
Custom Field Changed
Custom Field Changed events occur when the value of a user-created custom field is changed by an agent.
Zendesk supports a range of custom field types such as text, numbers, and dates. For more information about custom fields, see About custom field types.
Custom Field Changed events includes a custom_field
object with three parameters:
id
- The Zendesk ID of the custom fieldtitle
- The custom field namefield_type
- The field data type (such as date, text, integer, and multi-select)
Custom Field Changed - Checkbox
The value of a custom field checkbox was changed.
Example
{
"version": "0",
"id": "7369d9e1-8b2c-4b05-a813-e66d76b8d8f1",
"detail-type": "Support User: Custom Field Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T01:23:48Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-25T01:23:45Z",
"ref": "1-1234567890",
"sequence": {
"id": "0572B2EE0A2B22E5EE8BB107928D7E6D",
"position": 1,
"total": 3
}
},
"type": "Custom Field Changed",
"custom_field": {
"id": 1234,
"title": "VIP",
"field_type": "checkbox"
},
"previous": false,
"current": true,
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T01:23:45.465719851Z",
"updated_at": "2020-01-25T01:23:45.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous boolean valuecurrent
- The current boolean value
Custom Field Changed - Date
The value of a date custom field was changed.
Example
{
"version": "0",
"id": "7369d9e1-8b2c-4b05-a813-e66d76b8d8f1",
"detail-type": "Support User: Custom Field Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-20T22:55:29Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "0572B2EE0A2B22E5EE8BB107928D7E6D",
"position": 2,
"total": 7
}
},
"type": "Custom Field Changed",
"custom_field": {
"id": 1234,
"title": "Start Date",
"field_type": "date"
},
"previous": "2020-01-10",
"current": "2020-01-25",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:50:29.465719851Z",
"updated_at": "2020-01-20T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous date and timecurrent
- The current date and time
Custom Field Changed - Decimal
The value of a decimal custom field was changed.
Example
{
"version": "0",
"id": "7369d9e1-8b2c-4b05-a813-e66d76b8d8f1",
"detail-type": "Support User: Custom Field Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T01:23:48Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "0572B2EE0A2B22E5EE8BB107928D7E6D",
"position": 2,
"total": 3
}
},
"type": "Custom Field Changed",
"custom_field": {
"id": 1234,
"title": "Decimal Field",
"field_type": "decimal"
},
"previous": "99.99",
"current": "100.00",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:50:29.465719851Z",
"updated_at": "2020-01-25T01:23:45.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous numerical valuecurrent
- The current numerical value
Custom Field Changed - Integer
The value of an integer custom field was changed.
Example
{
"version": "0",
"id": "7369d9e1-8b2c-4b05-a813-e66d76b8d8f1",
"detail-type": "Support User: Custom Field Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T01:23:48Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "0572B2EE0A2B22E5EE8BB107928D7E6D",
"position": 3,
"total": 7
}
},
"type": "Custom Field Changed",
"custom_field": {
"id": 1234,
"title": "Integer",
"field_type": "integer"
},
"previous": "10",
"current": "100",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:50:29.465719851Z",
"updated_at": "2020-01-25T01:23:45.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous numerical valuecurrent
- The current numerical value
Custom Field Changed - Regex
The regex custom field value was changed.
Example
{
"version": "0",
"id": "7369d9e1-8b2c-4b05-a813-e66d76b8d8f1",
"detail-type": "Support User: Custom Field Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T01:23:48Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "0572B2EE0A2B22E5EE8BB107928D7E6D",
"position": 4,
"total": 7
}
},
"type": "Custom Field Changed",
"custom_field": {
"id": 1234,
"title": "Regex Field",
"field_type": "regexp"
},
"previous": null,
"current": "http://example.com",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected].com",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-25T01:23:45.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous regex valuecurrent
- The current regex value
Custom Field Changed - Tagger
The value of a tagger custom field was changed.
Example
{
"version": "0",
"id": "7369d9e1-8b2c-4b05-a813-e66d76b8d8f1",
"detail-type": "Support User: Custom Field Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T01:23:48Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "0572B2EE0A2B22E5EE8BB107928D7E6D",
"position": 5,
"total": 7
}
},
"type": "Custom Field Changed",
"custom_field": {
"id": 1234,
"title": "Dropdown Field",
"field_type": "tagger"
},
"previous": "choice_1",
"current": "choice_2",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-25T01:23:45.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous string valuecurrent
- The current string value
Custom Field Changed - Text
The text custom field value was changed.
Example
{
"version": "0",
"id": "7369d9e1-8b2c-4b05-a813-e66d76b8d8f1",
"detail-type": "Support User: Custom Field Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T01:23:48Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "0572B2EE0A2B22E5EE8BB107928D7E6D",
"position": 6,
"total": 7
}
},
"type": "Custom Field Changed",
"custom_field": {
"id": 1234,
"title": "Text Field",
"field_type": "text"
},
"previous": null,
"current": "Text Message",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-25T01:23:45.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous string valuecurrent
- The current string value
Custom Field Changed - Text Area
The value of a multiline text custom field was changed.
Example
{
"version": "0",
"id": "7369d9e1-8b2c-4b05-a813-e66d76b8d8f1",
"detail-type": "Support User: Custom Field Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T01:23:48Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "0572B2EE0A2B22E5EE8BB107928D7E6D",
"position": 7,
"total": 7
}
},
"type": "Custom Field Changed",
"custom_field": {
"id": 1234,
"title": "MultiLine",
"field_type": "textarea"
},
"previous": "This is a\nmultiline message.\nHello there.",
"current": "This is a\nmultiline message.",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-25T01:23:45.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous multiline textcurrent
- The current multiline text
Custom Field Changed - Lookup
The target id value of a lookup custom field changed.
Example
{
"version": "0",
"id": "7369d9e1-8b2c-4b05-a813-e66d76b8d8f1",
"detail-type": "Support User: Custom Field Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2022-02-14T01:23:48Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2022-02-14T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "0572B2EE0A2B22E5EE8BB107928D7E6D",
"position": 7,
"total": 7
}
},
"type": "Custom Field Changed",
"custom_field": {
"id": 4821137613309,
"raw_title": "user-lookup",
"field_type": "lookup"
},
"previous": {
"relationship_target": "user",
"id": "91612713"
},
"current": {
"relationship_target": "user",
"id": "1100004189914"
},
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2022-01-14T22:55:29.465719851Z",
"updated_at": "2022-02-145T01:23:45.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous lookup relationship target and idcurrent
- The current lookup relationship target and id
Note: relationship_target
can be ticket
, user
or organization
.
Custom Role Changed
The custom role of the user has changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Custom Role Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-21T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-21T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 1,
"total": 7
}
},
"type": "Custom Role Changed",
"previous": null,
"current": 43210,
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-21T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous permission set ID of user's custom rolecurrent
- The current permission set ID of user's custom role
Default Group Changed
The user's default group was changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Default Group Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-25T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 5,
"total": 9
}
},
"type": "Default Group Changed",
"previous": 98738,
"current": 96543,
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-25T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 96543
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous default group IDcurrent
- The current default group ID
Details Changed
The user's details changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Details Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-20T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 5,
"total": 9
}
},
"type": "Details Changed",
"previous": "user old details",
"current": "new details",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-20T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous user detailscurrent
- The current user details
External ID Changed
The user's external ID changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: External ID Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-25T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 6,
"total": 9
}
},
"type": "External ID Changed",
"previous": "SF123456",
"current": "AU123456",
"user": {
"id": 35436,
"external_id": "AU123456",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-25T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- Previous external ID of the usercurrent
- Current external ID of the user
Group Added
A group was added to the user.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Group Added",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-20T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 1,
"total": 2
}
},
"type": "Group Added",
"group_added": 98738,
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-20T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
In the user_event
object, group_added
is the ID of the group which has been added to the user.
Group Removed
A group was removed from the user.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Group Removed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-20T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 2,
"total": 2
}
},
"type": "Group Removed",
"group_removed": 98738,
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-20T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": null
}
}
}
}
In the user_event
object, group_removed
is the ID of the group that has been removed from the user
Identity Changed
The user's identity changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Identity Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-25T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 8,
"total": 9
}
},
"type": "Identity Changed",
"previous": {
"id": 12345,
"identity_type": "email",
"value": "[email protected]",
"primary": false
},
"current": {
"id": 12345,
"identity_type": "email",
"value": "[email protected]",
"primary": true
},
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-25T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous user identitycurrent
- The current user identity
Identity Created
The user's identity was created.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Identity Created",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-25T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 7,
"total": 9
}
},
"type": "Identity Created",
"identity": {
"id": 12345,
"identity_type": "email",
"value": "[email protected]",
"primary": true
},
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-25T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The identity
object contains properties which matches
the User Identity API. For more information, see User Identities API.
Identity Deleted
The user's identity was deleted.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Identity Deleted",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-25T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 9,
"total": 9
}
},
"type": "Identity Deleted",
"identity_id": 12345,
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-25T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
In the user_event
object, the identity_id
property is the ID automatically
assigned to the identity when it's created in Support.
Last Login Changed
The user's last login time changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Last Login Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-25T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 3,
"total": 9
}
},
"type": "Last Login Changed",
"previous": "2020-01-16T16:17:54.985562851Z",
"current": "2020-01-25T22:55:29.465719851Z",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-25T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous login date and time of the usercurrent
- The current login date and time of the user
Locale Changed
The locale of the user changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Locale Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-20T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 2,
"total": 9
}
},
"type": "Locale Changed",
"previous": "en-us",
"current": "en-au",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-20T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous localecurrent
- The current locale
Name Changed
The name of a Support user was changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Name Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-20T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 2,
"total": 9
}
},
"type": "Name Changed",
"previous": null,
"current": "abc",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-20T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous user namecurrent
- The current user name
Notes Changed
The Support user's notes was changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Notes Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-20T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-20T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 6,
"total": 9
}
},
"type": "Notes Changed",
"previous": "old notes",
"current": "new notes",
"user": {
"id": 35436,
"external_id": "SF12345",
"role": "agent",
"email": "[email protected]",
"created_at": "2020-01-20T22:55:29.465719851Z",
"updated_at": "2020-01-20T22:55:29.563482870Z",
"organization_id": 10002,
"default_group_id": 98738
}
}
}
}
The event contains the following unique properties in the user_event
object:
previous
- The previous user notescurrent
- The current user notes
Only Private Comments Changed
Private comments status of the user was changed.
Example
{
"version": "0",
"id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",
"detail-type": "Support User: Only Private Comments Changed",
"source": "aws.partner/zendesk.com/9242270/default",
"account": "123456789012",
"time": "2020-01-25T22:55:31Z",
"region": "us-east-1",
"resources": ["Support User"],
"detail": {
"user_event": {
"meta": {
"version": "1.0",
"occurred_at": "2020-01-25T22:55:29Z",
"ref": "1-1234567890",
"sequence": {
"id": "35D52F7D44640033CCCE4A5F1ADDB2AA",
"position": 2,
"total": 9
}
}