API ReferenceworksList WorksGEThttps://api.devrev.ai/works.listLists a collection of work items.HeadersAuthorizationstringRequiredBearer authentication of the form `Bearer <token>`, where token is your auth token.Query parametersapplies_to_partlist of stringsOptionalFilters for work belonging to any of the provided parts.created_bylist of stringsOptionalFilters for work created by any of these users.cursorstringOptionalformat: "text"The cursor to resume iteration from. If not provided, then iteration starts from the beginning. custom_fieldsobjectOptionalFilters for custom fields.issue.accountslist of stringsOptionalFilters for issues with any of the provided accounts.issue.prioritylist of enumsOptionalFilters for issues with any of the provided priorities.Allowed values:p0p1p2p3issue.priority_v2list of longsOptionalFilters for issues with any of the provided priority enum ids. issue.rev_orgslist of stringsOptionalFilters for issues with any of the provided Rev organizations. issue.sla_summary.stagelist of enumsOptionalFilters for records with any of the provided SLA stages.Allowed values:breachedcompletedpausedrunningwarningissue.sprintlist of stringsOptionalFilters for issues with any of the sprint.issue.subtypelist of stringsOptionalFilters for issues with any of the provided subtypes.limitintegerOptionalThe maximum number of works to return. The default is '50'. modeenumOptionalThe iteration mode to use, otherwise if not set, then "after" is used. Allowed values:afterbeforemodified_bylist of stringsOptionalFilters for work modified by any of these users.opportunity.accountlist of stringsOptionalFilters for opportunities belonging to any of the provided accounts. opportunity.contactslist of stringsOptionalFilters for opportunities with any of the provided contacts. opportunity.forecast_category_v2list of longsOptionalFilters for opportunities with any of the provided forecast category enum IDs. opportunity.subtypelist of stringsOptionalFilters for opportunity with any of the provided subtypes.owned_bylist of stringsOptionalFilters for work owned by any of these users.reported_bylist of stringsOptionalFilters for work reported by any of these users.sort_bylist of stringsOptionalFields to sort the works by and the direction to sort them. stage.namelist of stringsOptionalFilters for records in the provided stage(s) by name.staged_info.is_stagedbooleanOptionalFilters for issues that are staged.statelist of stringsOptionalFilters for work with any of the provided states.sync_metadata.external_referencelist of stringsOptionalFilters for issues with this specific external reference.sync_metadata.last_sync_in.statuslist of enumsOptionalFilters for works with selected sync statuses.Allowed values:failedmodifiedstagedsucceededsync_metadata.last_sync_in.sync_historylist of stringsOptionalFilters for works modified with selected sync history.sync_metadata.last_sync_in.sync_unitlist of stringsOptionalFilters for works modified with selected sync units.sync_metadata.last_sync_out.statuslist of enumsOptionalFilters for works with selected sync statuses.Allowed values:failedmodifiedsucceededsync_metadata.last_sync_out.sync_historylist of stringsOptionalFilters for works modified with selected sync history.sync_metadata.last_sync_out.sync_unitlist of stringsOptionalFilters for works modified with selected sync units.sync_metadata.origin_systemlist of stringsOptionalFilters for issues synced from this specific origin system. tagslist of stringsOptionalFilters for work with any of the provided tags.ticket.brandlist of stringsOptionalFilters for tickets that are associated with any of the brands. ticket.channelslist of enumsOptionalFilters for tickets with any of the provided channels.Allowed values:emailplugslacktwiliotwilio_smsticket.channels_v2list of stringsOptionalFilters for tickets that are associated with any of the channels. ticket.grouplist of stringsOptionalFilters for tickets belonging to specific groups.ticket.is_frozenbooleanOptionalFilters for frozen tickets.ticket.is_spambooleanOptionalFilters for tickets that are spam.ticket.needs_responsebooleanOptionalFilters for tickets that need response.ticket.rev_orglist of stringsOptionalFilters for tickets that are associated with any of the provided Rev organizations. ticket.severitylist of enumsOptionalFilters for tickets with any of the provided severities.Allowed values:blockerhighlowmediumticket.sla_summary.stagelist of enumsOptionalFilters for records with any of the provided SLA stages.Allowed values:breachedcompletedpausedrunningwarningticket.source_channellist of stringsOptionalFilters for tickets with any of the provided source channels. ticket.source_channel_v2list of stringsOptionalFilters for tickets that are associated with any of the source channels. ticket.subtypelist of stringsOptionalFilters for tickets with any of the provided subtypes.typelist of enumsOptionalFilters for work of the provided types.Allowed values:issueopportunitytaskticketResponseSuccess.workslist of objectsThe list of works.Show 4 variantsnext_cursorstring or nullformat: "text"The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist. prev_cursorstring or nullformat: "text"The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist. Errors400Bad Request Error401Unauthorized Error403Forbidden Error429Too Many Requests Error500Internal Server Error503Service Unavailable Error