GetContacts
Retrieves contacts from HubSpot.
Task version: 1.1.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
Task Parameters
FilterQuery : String
Optional. Filter query to narrow search results in a simple expression format: property operator 'value'
Default: -
Example: email eq 'test@example.com'
Properties : String[]
Optional. Specific contact properties to retrieve.
Default: -
Example: new string[] { "email", "firstname", "lastname", "company" }
Limit : Int32
Optional. Maximum number of contacts to return.
Default: 100
Example: 50
After : String
Optional. Paging cursor for fetching the next page.
Default: -
Example: "MjAyMy0wMS0wMVQwMDowMDowMC4wMDAtMTI6MDA"
🗝ApiKey : String
HubSpot Private App access token.
Default: -
Example: xxx-xxx-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
BaseUrl : String
Base URL for the API.
Default: -
Example: https://api.hubapi.com.
IncludeArchived : Boolean
Optional. Whether to include archived records. Default is false.
Default: False
Example: true
ThrowErrorOnFailure : Boolean
Whether to throw an error on failure. True by default.
Default: True
Example: false
ErrorMessageOnFailure : String
Overrides the error message on failure.
Default: -
Example: Failed to retrieve contacts.
Task Result
Success : Boolean
Indicates if the operation completed successfully.
Example: true
Contacts : JToken
Array of contact objects.
Example: [{ "id": "1", "properties": { "email": "test@example.com", "firstname": "John" } }]
HasMore : Boolean
Whether there are more results to retrieve.
Example: true
NextPageCursor : String
Cursor for next page of results, if any.
Example: "MjAyMy0wMS0wMVQwMDowMDowMC4wMDAtMTI6MDA"
Error : Error
Error that occurred during task execution.
Example: object { string Message, object { Exception Exception } AdditionalInfo }
Error.Message : String
Summary of the error.
Example: Unable to retrieve contacts.
Error.AdditionalInfo : Exception
Additional information about the error.
Example: object { Exception Exception }
Task Changelog
Changelog for Task Frends.HubSpot.GetContacts.
[1.1.0] - 2026-10-21
Changed
Updated package metadata and improved documentation of filter parsing types.
[1.0.0] - 2025-07-30
Added
Initial implementation
Last updated
Was this helpful?

