Less Annoying CRM logo Less Annoying CRM LACRM
Core API Functions

Pipeline Items

These functions are for interacting with the individual pipeline items attached to contacts. If you're wanting to interact with the structure of the pipelines themselves, you'll want to check out the Pipelines functions.

Create a pipeline item

This function creates a pipeline item attached to a contact or company.

Note: Because fields can be customized, they're different on every account. This documentation shows fields for an example LACRM account. Please log in to see the fields for your specific account.
Showing fields for the
pipeline.
How to call this function
Function name
CreatePipelineItem
Parameters
ContactId Uid Required

The id of the contact this pipeline item will be attached to.

PipelineId Uid Required

The id of the pipeline this pipeline item should be added to.

StatusId Uid Required

The id of the status where this pipeline item should be placed.

Note Text

You can optionally add a note to this pipeline item, which will show up in the history for this pipeline item.

Response
{
"PipelineItemId": "3997289441011005696802815941048"
}

Edit a pipeline item

This function edits a pipeline item attached to a contact or company.

Note: Because fields can be customized, they're different on every account. This documentation shows fields for an example LACRM account. Please log in to see the fields for your specific account.
Showing fields for the
pipeline.
How to call this function
Function name
EditPipelineItem
Parameters
PipelineItemId Uid Required

The id of the pipeline item to edit.

StatusId Uid

The id of the status where this pipeline item should be placed.

Note Text

You can optionally add a note to this pipeline item, which will show up in the history for this pipeline item.

Response
This function doesn't return anything. If there's no error message returned, that means the call was completed successfully.

Delete a pipeline item

This function deletes an existing pipeline item.

How to call this function
Function name
DeletePipelineItem
Parameters
PipelineItemId Uid Required

The Id of the pipeline item you want to delete.

Response
This function doesn't return anything. If there's no error message returned, that means the call was completed successfully.

Delete a batch of pipeline items

This function batch deletes existing pipeline items.

How to call this function
Function name
DeletePipelineItems
Parameters
PipelineItemIds Array of Uids Required

Ids of pipeline items to delete, limit 5000.

PipelineId Uid Required

Id of associated pipeline (can only delete items from 1 pipeline at a time.)

Response
{
"NumberProcessed": 10,
"NumberSkipped": 10
}

Get a pipeline item

This function retrieves a single pipeline item based on the Id of the pipeline item. If you don't already know the PipelineItemId you can find pipeline items using GetPipelineItems or GetPipelineItemsAttachedToContact.

Note: Because fields can be customized, they're different on every account. This documentation shows fields for an example LACRM account. Please log in to see the fields for your specific account.
Showing fields for the
pipeline.
How to call this function
Function name
GetPipelineItem
Parameters
PipelineItemId Uid Required

The id of the pipeline item to get.

Response
{
"PipelineItemId": "3997289441022534911848883728511",
"PipelineId": "3853178701634960990616937360520",
"StatusId": "3997289441022534911848884050824",
"ContactId": "3997289441022534911848883943213",
"DateCreated": "2024-12-06T21:05:58-08:00",
"CreatedBy": "3997289441024840754858096724008",
"LastUpdate": "2024-12-06T21:05:58-08:00",
"LastUpdatedBy": "3997289441024840754858097636290",
"NumberOfUpdates": 10,
"LastNote": "",
"PipelineMetaData": {
"Name": "Sales Leads"
}
"StatusMetaData": {
"Name": "Prospect"
}
"ContactMetaData": {
"Name": "John Doe",
"AssignedTo": "123456"
}
}

List all pipeline items

This function searches all the pipeline items on your account.

Note: Because fields can be customized, they're different on every account. This documentation shows fields for an example LACRM account. Please log in to see the fields for your specific account.
Showing fields for the
pipeline.
How to call this function
Function name
GetPipelineItems
Parameters
PipelineId Uid Required

The pipeline item you'd like to return pipeline items for.

UserFilter Array of Uids Default: []

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.

StatusFilter Array of Uids Default: []

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.

SortBy Enum Default: Status
Valid options: Status, DateCreated, LastUpdate

Which field to sort by; by default, will use status.

SortDirection Enum Default: Ascending
Valid options: Ascending, Descending

Direction for sort order.

MaxNumberOfResults Number Default: 500

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.

Page Number Default: 1

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.

Response
{
"HasMoreResults": false,
"Results": [
{
"PipelineItemId": "3997289441031758283885737802701",
"PipelineId": "3853178701634960990616937360520",
"StatusId": "3997289441031758283885738874428",
"ContactId": "3997289441031758283885738876289",
"DateCreated": "2024-12-06T21:05:58-08:00",
"CreatedBy": "3997289441036369969904164939630",
"LastUpdate": "2024-12-06T21:05:58-08:00",
"LastUpdatedBy": "3997289441036369969904164843967",
"NumberOfUpdates": 10,
"LastNote": "",
"PipelineMetaData": {
"Name": "Sales Leads"
}
"StatusMetaData": {
"Name": "Prospect"
}
"ContactMetaData": {
"Name": "John Doe",
"AssignedTo": "123456"
}
},
{...},
{...}
]
}

Get contact pipeline items

This function retrieves all the pipeline items attached to a given contact.

Note: Because fields can be customized, they're different on every account. This documentation shows fields for an example LACRM account. Please log in to see the fields for your specific account.
Showing fields for the
pipeline.
How to call this function
Function name
GetPipelineItemsAttachedToContact
Parameters
ContactId Uid Required

The id of the contact to get pipeline items for.

Response
[
{
"PipelineId": "3853178701634960990616937360520",
"PipelineItems": [
{
"PipelineItemId": "3997289441040981655922592470215",
"PipelineId": "3853178701634960990616937360520",
"StatusId": "3997289441040981655922592787024",
"ContactId": "3997289441040981655922593227996",
"DateCreated": "2024-12-06T21:05:58-08:00",
"CreatedBy": "3997289441043287498931805984733",
"LastUpdate": "2024-12-06T21:05:58-08:00",
"LastUpdatedBy": "3997289441043287498931807000473",
"NumberOfUpdates": 10,
"LastNote": "",
"PipelineMetaData": {
"Name": "Sales Leads"
}
"StatusMetaData": {
"Name": "Prospect"
}
"ContactMetaData": {
"Name": "John Doe",
"AssignedTo": "123456"
}
},
{...},
{...}
]
},
]