Use these functions to list all items in the CRM, or narrow the results using search terms and advanced filtering.
Given search terms, return a list of matching contacts. If no search terms are provided, return all contacts. The advanced filter system is documented here.
Values to search for in record fields.
If true, only return contacts that the current user has permission to edit.
Contacts
, Companies
Limits the type of records that get returned from this function.
Only returns contacts assigned to these UserIds. If null, return all contacts.
Relevance
, FirstName
, LastName
, CompanyName
, DateCreated
, LastUpdate
Which field to sort by; by default, will use a ranking heuristic.
Ascending
, Descending
Direction for sort order.
List of filters to apply to search results. See documentation here.
object
with the following fields:Name of field to filter on.
Type of filter operation to perform.
How many results should be returned from a single API call? The max value is 10,000. If you need to return
more results, call this API function again, but increment the Page
parameter.
If there are more results than MaxNumberOfResults
, you can call this function again with an incremented
Page
value to get the next page of results. For example, if there are 700 results, but you're only requesting
500 at a time, you could call this function with Page=2 to get the remaining 200 results.
This function will get all events between a date range; will return all visible events by default, but can be filtered by calendar, contact, or user.
Ascending
, Descending
Whether the results should be sorted in ascending or descending order.
The start date (inclusive) of the range of events you want to retrieve.
The end date (inclusive) of the range of events you want to retrieve.
If you'd like to only see events assigned to specific users, pass their UserIds into this field and we'll filter the results to only show those users' events.
If you specify this parameter, only events matching the given CalendarIds will be returned. Only works for your own calendars.
If you specify this parameter, only events attached to this contact will be returned. Alternatively,
you can call GetEventsAttachedToContact
to get the same results. If you specify this parameter, all events attached to this contact will be returned and other filters will be ignored.
How many results should be returned from a single API call? The max value is 10,000. If you need to return
more results, call this API function again, but increment the Page
parameter.
If there are more results than MaxNumberOfResults
, you can call this function again with an incremented
Page
value to get the next page of results. For example, if there are 700 results, but you're only requesting
500 at a time, you could call this function with Page=2 to get the remaining 200 results.
This function gets a list of all notes entered in the CRM. You can pass additional parameters to filter and sort the results.
Ascending
, Descending
This list will always be sorted by the date of the notes. By default it will list the newest note first, but you can reverse the order if you'd like.
If you specify this parameter, only notes entered on or after the date you choose will be returned.
If you specify this parameter, only notes entered on or before the date you choose will be returned.
If you'd like to only see notes entered by specific users, pass their UserIds into this field and we'll filter the results to only show those users' notes.
If you specify this parameter, only notes attached to this contact will be returned. Alternatively,
you can call GetNotesAttachedToContact
to get the same results.
How many results should be returned from a single API call? The max value is 10,000. If you need to return
more results, call this API function again, but increment the Page
parameter.
If there are more results than MaxNumberOfResults
, you can call this function again with an incremented
Page
value to get the next page of results. For example, if there are 700 results, but you're only requesting
500 at a time, you could call this function with Page=2 to get the remaining 200 results.
This function searches all the pipeline items on your account.
The pipeline item you'd like to return pipeline items for.
If you'd like to only see pipeline items entered by specific users, pass their UserIds into this field and we'll filter the results to only show those users' pipeline items (based on the contact they are attached to). Passing an empty array will return results for all users whose contacts you have read access to.
If you'd like to see pipeline items in a certain set of statuses, you can pass in the StatusId into this field we'll filter the results to only show pipeline items in those statuses. An empty array or NULL value will return all active statuses by default.
Status
, DateCreated
, LastUpdate
Which field to sort by; by default, will use status.
Ascending
, Descending
Direction for sort order.
How many results should be returned from a single API call? The max value is 10,000. If you need to return
more results, call this API function again, but increment the Page
parameter.
If there are more results than MaxNumberOfResults
, you can call this function again with an incremented
Page
value to get the next page of results. For example, if there are 700 results, but you're only requesting
500 at a time, you could call this function with Page=2 to get the remaining 200 results.
This function will get all tasks between a date range; will return all visible tasks by default, but can be filtered by contact or user.
The lower bound of dates to fetch.
The upper bound of dates to fetch.
If you'd like to only see tasks assigned to specific users, pass their UserIds into this field and we'll filter the results to only show those users' tasks.
If you specify this parameter, all past and future tasks will be returned for the corresponding Contact regardless of CompletionStatus. Only tasks attached to this contact will be returned. Alternatively,
you can call GetTasksAttachedToContact
to get the same results.
Both
, Incomplete
, Complete
Get tasks based on task complete status
Ascending
, Descending
Whether the results should be sorted in ascending or descending order.
How many results should be returned from a single API call? The max value is 10,000. If you need to return
more results, call this API function again, but increment the Page
parameter.
If there are more results than MaxNumberOfResults
, you can call this function again with an incremented
Page
value to get the next page of results. For example, if there are 700 results, but you're only requesting
500 at a time, you could call this function with Page=2 to get the remaining 200 results.