> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Tickets

Get a list of tickets with optional filtering.

<Note>
  External Documentation

  To learn more, visit the [Datto Autotask documentation](https://webservices3.autotask.net/atservicesrest/swagger/ui/index#/Tickets/Tickets_UrlParameterQuery).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
  | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Impersonation Resource ID | The Autotask resource ID to impersonate when performing API requests. Use this when you need to act on behalf of a specific Autotask user.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
  | Return All Pages          | Automatically fetch all resources, page by page.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
  | Search                    | The search query to filter and paginate the results by. <br /><br />For more information please refer to [Autotask documentation](https://autotask.net/help/developerhelp/Content/APIs/REST/API_Calls/REST_Basic_Query_Calls.htm?Highlight=FilterExpression).<br /><br />**For example:**<br />`<br/>&#123;<br/>  "MaxRecords":10,<br/>  "filter":<br/>    [<br/>      &#123;<br/>        "op":"noteq",<br/>        "field":"Status",<br/>        "value":5<br/>      &#125;,<br/>      &#123;<br/>        "op":"eq",<br/>        "field":"CompanyID",<br/>        "value":175<br/>      &#125;<br/>    ]<br/>&#125;` |
</div>

## Example Output

```json theme={"dark"}
{
	"items": [
		{
			"id": 0,
			"apiVendorID": 0,
			"assignedResourceID": 0,
			"assignedResourceRoleID": 0,
			"billingCodeID": 0,
			"changeApprovalBoard": 0,
			"changeApprovalStatus": 0,
			"changeApprovalType": 0,
			"changeInfoField1": "string",
			"changeInfoField2": "string",
			"changeInfoField3": "string",
			"changeInfoField4": "string",
			"changeInfoField5": "string",
			"companyID": 0,
			"companyLocationID": 0,
			"completedByResourceID": 0,
			"completedDate": "2025-11-30T08:06:03.197Z",
			"configurationItemID": 0,
			"contactID": 0,
			"contractID": 0,
			"contractServiceBundleID": 0,
			"contractServiceID": 0,
			"createDate": "2025-11-30T08:06:03.197Z",
			"createdByContactID": 0,
			"creatorResourceID": 0,
			"creatorType": 0,
			"currentServiceThermometerRating": 0,
			"description": "string",
			"dueDateTime": "2025-11-30T08:06:03.197Z",
			"estimatedHours": 0,
			"externalID": "string",
			"firstResponseAssignedResourceID": 0,
			"firstResponseDateTime": "2025-11-30T08:06:03.197Z",
			"firstResponseDueDateTime": "2025-11-30T08:06:03.197Z",
			"firstResponseInitiatingResourceID": 0,
			"hoursToBeScheduled": 0,
			"impersonatorCreatorResourceID": 0,
			"isAssignedToComanaged": true,
			"issueType": 0,
			"isVisibleToComanaged": true,
			"lastActivityDate": "2025-11-30T08:06:03.197Z",
			"lastActivityPersonType": 0,
			"lastActivityResourceID": 0,
			"lastCustomerNotificationDateTime": "2025-11-30T08:06:03.197Z",
			"lastCustomerVisibleActivityDateTime": "2025-11-30T08:06:03.197Z",
			"lastTrackedModificationDateTime": "2025-11-30T08:06:03.197Z",
			"monitorID": 0,
			"monitorTypeID": 0,
			"opportunityID": 0,
			"organizationalLevelAssociationID": 0,
			"previousServiceThermometerRating": 0,
			"priority": 0,
			"problemTicketId": 0,
			"projectID": 0,
			"purchaseOrderNumber": "string",
			"queueID": 0,
			"resolution": "string",
			"resolutionPlanDateTime": "2025-11-30T08:06:03.197Z",
			"resolutionPlanDueDateTime": "2025-11-30T08:06:03.197Z",
			"resolvedDateTime": "2025-11-30T08:06:03.197Z",
			"resolvedDueDateTime": "2025-11-30T08:06:03.197Z",
			"rmaStatus": 0,
			"rmaType": 0,
			"rmmAlertID": "string",
			"serviceLevelAgreementHasBeenMet": true,
			"serviceLevelAgreementID": 0,
			"serviceLevelAgreementPausedNextEventHours": 0,
			"serviceThermometerTemperature": 0,
			"source": 0,
			"status": 0,
			"subIssueType": 0,
			"ticketCategory": 0,
			"ticketNumber": "string",
			"ticketType": 0,
			"title": "string",
			"userDefinedFields": [
				{
					"name": "string",
					"value": "string"
				}
			]
		}
	],
	"pageDetails": {
		"count": 0,
		"requestCount": 0,
		"prevPageUrl": "string",
		"nextPageUrl": "string"
	}
}
```
