Incremental Ticket Export, Cursor Based

GET {{baseUrl}}/api/v2/incremental/tickets/cursor?start_time=<integer>&cursor=<string>

Returns the tickets that changed since the start time. For more information, see Exporting tickets in Using the Incremental Exports API.

This endpoint supports cursor-based incremental exports. Cursor-based exports are highly encouraged because they provide more consistent performance and response body sizes. For more information, see Cursor-based incremental exports in Using the Incremental Exports API.

Allowed For

  • Admins

Sideloading

See Tickets sideloads. For performance reasons, last_audits sideloads aren't supported.

Request Params

KeyDatatypeRequiredDescription
start_timestring(Required) The time to start the incremental export from
cursorstringThe cursor pointer to work with for all subsequent exports after the initial request

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;after_cursor&quot;:&quot;MTU3NjYxMzUzOS4wfHw0Njd8&quot;,&quot;after_url&quot;:&quot;https://{subdomain}.zendesk.com/api/v2/incremental/tickets/cursor.json?cursor=MTU3NjYxMzUzOS4wfHw0Njd8&quot;,&quot;before_cursor&quot;:null,&quot;before_url&quot;:null,&quot;end_of_stream&quot;:true,&quot;tickets&quot;:[{&quot;assignee_id&quot;:235323,&quot;collaborator_ids&quot;:[35334,234],&quot;created_at&quot;:&quot;2009-07-20T22:55:29Z&quot;,&quot;custom_fields&quot;:[{&quot;id&quot;:27642,&quot;value&quot;:&quot;745&quot;},{&quot;id&quot;:27648,&quot;value&quot;:&quot;yes&quot;}],&quot;description&quot;:&quot;The fire is very colorful.&quot;,&quot;due_at&quot;:null,&quot;external_id&quot;:&quot;ahg35h3jh&quot;,&quot;follower_ids&quot;:[35334,234],&quot;group_id&quot;:98738,&quot;has_incidents&quot;:false,&quot;id&quot;:35436,&quot;organization_id&quot;:509974,&quot;priority&quot;:&quot;high&quot;,&quot;problem_id&quot;:9873764,&quot;raw_subject&quot;:&quot;{{dc.printer_on_fire}}&quot;,&quot;recipient&quot;:&quot;support@company.com&quot;,&quot;requester_id&quot;:20978392,&quot;satisfaction_rating&quot;:{&quot;comment&quot;:&quot;Great support!&quot;,&quot;id&quot;:1234,&quot;score&quot;:&quot;good&quot;},&quot;sharing_agreement_ids&quot;:[84432],&quot;status&quot;:&quot;open&quot;,&quot;subject&quot;:&quot;Help, my printer is on fire!&quot;,&quot;submitter_id&quot;:76872,&quot;tags&quot;:[&quot;enterprise&quot;,&quot;other_tag&quot;],&quot;type&quot;:&quot;incident&quot;,&quot;updated_at&quot;:&quot;2011-05-05T10:38:52Z&quot;,&quot;url&quot;:&quot;https://company.zendesk.com/api/v2/tickets/35436.json&quot;,&quot;via&quot;:{&quot;channel&quot;:&quot;web&quot;}}]}