List Activities

GET {{baseUrl}}/api/v2/activities?since=<string>

Lists ticket activities in the last 30 days affecting the agent making the request. Also sideloads the following arrays of user records:

  • actors - All actors involved in the listed activities
  • users - All users involved in the listed activities

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

Returns a maximum of 100 records per page.

Allowed For

  • Agents

Request Params

KeyDatatypeRequiredDescription
sincestringA UTC time in ISO 8601 format to return ticket activities since said date.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;activities&quot;:[{&quot;actor&quot;:{&quot;active&quot;:true,&quot;alias&quot;:&quot;&quot;,&quot;created_at&quot;:&quot;2020-11-17T00:32:12Z&quot;,&quot;custom_role_id&quot;:null,&quot;default_group_id&quot;:1873,&quot;details&quot;:&quot;&quot;,&quot;email&quot;:&quot;cgoddard+ted@zendesk.com&quot;,&quot;external_id&quot;:null,&quot;iana_time_zone&quot;:&quot;America/Juneau&quot;,&quot;id&quot;:158488612,&quot;last_login_at&quot;:&quot;2020-11-17T00:33:44Z&quot;,&quot;locale&quot;:&quot;en-gb&quot;,&quot;locale_id&quot;:5,&quot;moderator&quot;:true,&quot;name&quot;:&quot;Tedd&quot;,&quot;notes&quot;:&quot;&quot;,&quot;only_private_comments&quot;:false,&quot;organization_id&quot;:null,&quot;phone&quot;:null,&quot;photo&quot;:null,&quot;report_csv&quot;:true,&quot;restricted_agent&quot;:false,&quot;role&quot;:&quot;admin&quot;,&quot;role_type&quot;:null,&quot;shared&quot;:false,&quot;shared_agent&quot;:false,&quot;shared_phone_number&quot;:null,&quot;signature&quot;:&quot;&quot;,&quot;suspended&quot;:false,&quot;tags&quot;:[],&quot;ticket_restriction&quot;:null,&quot;time_zone&quot;:&quot;Alaska&quot;,&quot;two_factor_auth_enabled&quot;:null,&quot;updated_at&quot;:&quot;2020-11-17T00:34:38Z&quot;,&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/users/158488612.json&quot;,&quot;user_fields&quot;:{&quot;its_remember_september&quot;:null,&quot;skittles&quot;:null,&quot;user_field_1&quot;:null},&quot;verified&quot;:true},&quot;actor_id&quot;:158488612,&quot;created_at&quot;:&quot;2020-11-17T00:34:40Z&quot;,&quot;id&quot;:29183462,&quot;object&quot;:{&quot;ticket&quot;:{&quot;id&quot;:1521,&quot;subject&quot;:&quot;test&quot;}},&quot;target&quot;:{&quot;ticket&quot;:{&quot;id&quot;:1521,&quot;subject&quot;:&quot;test&quot;}},&quot;title&quot;:&quot;Tedd assigned ticket #1521 to you.&quot;,&quot;updated_at&quot;:&quot;2020-11-17T00:34:40Z&quot;,&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/activities/29183462.json&quot;,&quot;user&quot;:{&quot;active&quot;:true,&quot;alias&quot;:&quot;test&quot;,&quot;created_at&quot;:&quot;2017-08-14T20:13:53Z&quot;,&quot;custom_role_id&quot;:null,&quot;default_group_id&quot;:1873,&quot;details&quot;:&quot;&quot;,&quot;email&quot;:&quot;user@zendesk.com&quot;,&quot;external_id&quot;:&quot;oev7jj&quot;,&quot;iana_time_zone&quot;:&quot;Pacific/Pago_Pago&quot;,&quot;id&quot;:3343,&quot;last_login_at&quot;:&quot;2020-11-16T22:57:45Z&quot;,&quot;locale&quot;:&quot;en-gb&quot;,&quot;locale_id&quot;:5,&quot;moderator&quot;:true,&quot;name&quot;:&quot;Samwise Gamgee&quot;,&quot;notes&quot;:&quot;test&quot;,&quot;only_private_comments&quot;:false,&quot;organization_id&quot;:1873,&quot;phone&quot;:null,&quot;photo&quot;:{&quot;content_type&quot;:&quot;image/gif&quot;,&quot;content_url&quot;:&quot;https://example.zendesk.com/system/photos/8730791/1f84950b8d7949b3.gif&quot;,&quot;deleted&quot;:false,&quot;file_name&quot;:&quot;1f84950b8d7949b3.gif&quot;,&quot;height&quot;:80,&quot;id&quot;:8730791,&quot;inline&quot;:false,&quot;mapped_content_url&quot;:&quot;https://example.zendesk.com/system/photos/8730791/1f84950b8d7949b3.gif&quot;,&quot;size&quot;:4566,&quot;thumbnails&quot;:[{&quot;content_type&quot;:&quot;image/gif&quot;,&quot;content_url&quot;:&quot;https://example.zendesk.com/system/photos/8730801/1f84950b8d7949b3_thumb.gif&quot;,&quot;deleted&quot;:false,&quot;file_name&quot;:&quot;1f84950b8d7949b3_thumb.gif&quot;,&quot;height&quot;:32,&quot;id&quot;:8730801,&quot;inline&quot;:false,&quot;mapped_content_url&quot;:&quot;https://example.zendesk.com/system/photos/8730801/1f84950b8d7949b3_thumb.gif&quot;,&quot;size&quot;:1517,&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/attachments/8730801.json&quot;,&quot;width&quot;:32}],&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/attachments/8730791.json&quot;,&quot;width&quot;:80},&quot;report_csv&quot;:true,&quot;restricted_agent&quot;:false,&quot;role&quot;:&quot;admin&quot;,&quot;role_type&quot;:null,&quot;shared&quot;:false,&quot;shared_agent&quot;:false,&quot;shared_phone_number&quot;:null,&quot;signature&quot;:&quot;test&quot;,&quot;suspended&quot;:false,&quot;tags&quot;:[&quot;101&quot;],&quot;ticket_restriction&quot;:null,&quot;time_zone&quot;:&quot;American Samoa&quot;,&quot;two_factor_auth_enabled&quot;:null,&quot;updated_at&quot;:&quot;2020-11-17T00:33:55Z&quot;,&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/users/3343.json&quot;,&quot;user_fields&quot;:{&quot;its_remember_september&quot;:null,&quot;skittles&quot;:&quot;2018-09-14T00:00:00+00:00&quot;,&quot;user_field_1&quot;:&quot;101&quot;},&quot;verified&quot;:true},&quot;user_id&quot;:3343,&quot;verb&quot;:&quot;tickets.assignment&quot;}],&quot;actors&quot;:[{&quot;active&quot;:true,&quot;alias&quot;:&quot;&quot;,&quot;created_at&quot;:&quot;2020-11-17T00:32:12Z&quot;,&quot;custom_role_id&quot;:null,&quot;default_group_id&quot;:1873,&quot;details&quot;:&quot;&quot;,&quot;email&quot;:&quot;cgoddard+ted@zendesk.com&quot;,&quot;external_id&quot;:null,&quot;iana_time_zone&quot;:&quot;America/Juneau&quot;,&quot;id&quot;:158488612,&quot;last_login_at&quot;:&quot;2020-11-17T00:33:44Z&quot;,&quot;locale&quot;:&quot;en-gb&quot;,&quot;locale_id&quot;:5,&quot;moderator&quot;:true,&quot;name&quot;:&quot;Tedd&quot;,&quot;notes&quot;:&quot;&quot;,&quot;only_private_comments&quot;:false,&quot;organization_id&quot;:null,&quot;phone&quot;:null,&quot;photo&quot;:null,&quot;report_csv&quot;:true,&quot;restricted_agent&quot;:false,&quot;role&quot;:&quot;admin&quot;,&quot;role_type&quot;:null,&quot;shared&quot;:false,&quot;shared_agent&quot;:false,&quot;shared_phone_number&quot;:null,&quot;signature&quot;:&quot;&quot;,&quot;suspended&quot;:false,&quot;tags&quot;:[],&quot;ticket_restriction&quot;:null,&quot;time_zone&quot;:&quot;Alaska&quot;,&quot;two_factor_auth_enabled&quot;:null,&quot;updated_at&quot;:&quot;2020-11-17T00:34:38Z&quot;,&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/users/158488612.json&quot;,&quot;user_fields&quot;:{&quot;its_remember_september&quot;:null,&quot;skittles&quot;:null,&quot;user_field_1&quot;:null},&quot;verified&quot;:true}],&quot;count&quot;:1,&quot;next_page&quot;:null,&quot;previous_page&quot;:null,&quot;users&quot;:[{&quot;active&quot;:true,&quot;alias&quot;:&quot;test&quot;,&quot;created_at&quot;:&quot;2017-08-14T20:13:53Z&quot;,&quot;custom_role_id&quot;:null,&quot;default_group_id&quot;:1873,&quot;details&quot;:&quot;&quot;,&quot;email&quot;:&quot;user@zendesk.com&quot;,&quot;external_id&quot;:&quot;oev7jj&quot;,&quot;iana_time_zone&quot;:&quot;Pacific/Pago_Pago&quot;,&quot;id&quot;:3343,&quot;last_login_at&quot;:&quot;2020-11-16T22:57:45Z&quot;,&quot;locale&quot;:&quot;en-gb&quot;,&quot;locale_id&quot;:5,&quot;moderator&quot;:true,&quot;name&quot;:&quot;Samwise Gamgee&quot;,&quot;notes&quot;:&quot;test&quot;,&quot;only_private_comments&quot;:false,&quot;organization_id&quot;:1873,&quot;phone&quot;:null,&quot;photo&quot;:{&quot;content_type&quot;:&quot;image/gif&quot;,&quot;content_url&quot;:&quot;https://example.zendesk.com/system/photos/8730791/1f84950b8d7949b3.gif&quot;,&quot;deleted&quot;:false,&quot;file_name&quot;:&quot;1f84950b8d7949b3.gif&quot;,&quot;height&quot;:80,&quot;id&quot;:8730791,&quot;inline&quot;:false,&quot;mapped_content_url&quot;:&quot;https://example.zendesk.com/system/photos/8730791/1f84950b8d7949b3.gif&quot;,&quot;size&quot;:4566,&quot;thumbnails&quot;:[{&quot;content_type&quot;:&quot;image/gif&quot;,&quot;content_url&quot;:&quot;https://example.zendesk.com/system/photos/8730801/1f84950b8d7949b3_thumb.gif&quot;,&quot;deleted&quot;:false,&quot;file_name&quot;:&quot;1f84950b8d7949b3_thumb.gif&quot;,&quot;height&quot;:32,&quot;id&quot;:8730801,&quot;inline&quot;:false,&quot;mapped_content_url&quot;:&quot;https://example.zendesk.com/system/photos/8730801/1f84950b8d7949b3_thumb.gif&quot;,&quot;size&quot;:1517,&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/attachments/8730801.json&quot;,&quot;width&quot;:32}],&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/attachments/8730791.json&quot;,&quot;width&quot;:80},&quot;report_csv&quot;:true,&quot;restricted_agent&quot;:false,&quot;role&quot;:&quot;admin&quot;,&quot;role_type&quot;:null,&quot;shared&quot;:false,&quot;shared_agent&quot;:false,&quot;shared_phone_number&quot;:null,&quot;signature&quot;:&quot;test&quot;,&quot;suspended&quot;:false,&quot;tags&quot;:[&quot;101&quot;],&quot;ticket_restriction&quot;:null,&quot;time_zone&quot;:&quot;American Samoa&quot;,&quot;two_factor_auth_enabled&quot;:null,&quot;updated_at&quot;:&quot;2020-11-17T00:33:55Z&quot;,&quot;url&quot;:&quot;https://example.zendesk.com/api/v2/users/3343.json&quot;,&quot;user_fields&quot;:{&quot;its_remember_september&quot;:null,&quot;skittles&quot;:&quot;2018-09-14T00:00:00+00:00&quot;,&quot;user_field_1&quot;:&quot;101&quot;},&quot;verified&quot;:true}]}