Skip to main content
Get a list of companies with optional filtering.
External DocumentationTo learn more, visit the Datto Autotask documentation.

Parameters

ParameterDescription
Impersonation Resource IDThe 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 PagesAutomatically fetch all resources, page by page.
SearchThe search query to filter and paginate the results by.

For more information please refer to Autotask documentation.

For example:
<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;

Example Output

{
	"items": [
		{
			"id": 0,
			"additionalAddressInformation": "string",
			"address1": "string",
			"address2": "string",
			"alternatePhone1": "string",
			"alternatePhone2": "string",
			"apiVendorID": 0,
			"assetValue": 0,
			"billToCompanyLocationID": 0,
			"billToAdditionalAddressInformation": "string",
			"billingAddress1": "string",
			"billingAddress2": "string",
			"billToAddressToUse": 0,
			"billToAttention": "string",
			"billToCity": "string",
			"billToCountryID": 0,
			"billToState": "string",
			"billToZipCode": "string",
			"city": "string",
			"classification": 0,
			"companyCategoryID": 0,
			"companyName": "string",
			"companyNumber": "string",
			"companyType": 0,
			"competitorID": 0,
			"countryID": 0,
			"createDate": "2025-11-30T09:59:23.187Z",
			"createdByResourceID": 0,
			"currencyID": 0,
			"fax": "string",
			"impersonatorCreatorResourceID": 0,
			"invoiceEmailMessageID": 0,
			"invoiceMethod": 0,
			"invoiceNonContractItemsToParentCompany": true,
			"invoiceTemplateID": 0,
			"isActive": true,
			"isClientPortalActive": true,
			"isEnabledForComanaged": true,
			"isSample": true,
			"isTaskFireActive": true,
			"isTaxExempt": true,
			"lastActivityDate": "2025-11-30T09:59:23.187Z",
			"lastTrackedModifiedDateTime": "2025-11-30T09:59:23.187Z",
			"marketSegmentID": 0,
			"ownerResourceID": 0,
			"parentCompanyID": 0,
			"phone": "string",
			"postalCode": "string",
			"purchaseOrderTemplateID": 0,
			"quoteEmailMessageID": 0,
			"quoteTemplateID": 0,
			"sicCode": "string",
			"state": "string",
			"stockMarket": "string",
			"stockSymbol": "string",
			"surveyCompanyRating": 0,
			"taxID": "string",
			"taxRegionID": 0,
			"territoryID": 0,
			"webAddress": "string",
			"userDefinedFields": [
				{
					"name": "string",
					"value": "string"
				}
			]
		}
	],
	"pageDetails": {
		"count": 0,
		"requestCount": 0,
		"prevPageUrl": "string",
		"nextPageUrl": "string"
	}
}

Workflow Library Example

List Companies with Datto Autotask and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop