Less Annoying CRM logo Less Annoying CRM LACRM
Core API Functions

Notes

Notes can be attached to contacts to keep track of details about your interactions with them. Each note is just a simple text field with a timestamp attached. All notes must be attached to exactly one contact (there's no way to enter a stand-alone note).

Create a note

This function attaches a new note to a contact or company in the CRM. The contact/company must already exist before you can call this function.

How to call this function
Function name
CreateNote
Parameters
ContactId Uid Required

The Id of the contact or company you want to attach a note to.

Note Text Required

The note you want to attach to the contact. This is a plain text field, so things like html or markdown will be escaped, but new lines are honored.

DateDisplayedInHistory DateTime

The exact date and time the note should be shown in the contact's history. If you don't pass a value, we'll default to the current time.

Response
{
"NoteId": "3994145908431019497518599910172"
}

Edit a note

This function edits an existing note.

How to call this function
Function name
EditNote
Parameters
NoteId Uid Required

The Id for the note you want to edit. If you don't already know the note's Id, you can find it using either GetNotes or GetNotesAttachedToContact.

Note Text

An updated note. This will completely overwrite the previous note unless you don't pass a note at all, in which case we'll leave whatever the previous note was.

DateDisplayedInHistory DateTime

A new timestamp for this when this note should be shown on a contact's history. If you don't pass this, we'll keep the existing date.

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

Delete a note

This function deletes a note from a contact's profile.

How to call this function
Function name
DeleteNote
Parameters
NoteId Uid Required

The Id for the note you want to edit. If you don't already know the note's Id, you can find it using either GetNotes or GetNotesAttachedToContact.

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

Get a note

This function gets a single note. This is a rarely-used function because in most cases it's more useful to call GetNotes to get a feed of all the notes that have been entered in your CRM, or GetNotesAttachedToContact to get all the notes for a specific contact.

How to call this function
Function name
GetNote
Parameters
NoteId Uid Required

The Id for the note you want to get. If you don't already know the note's Id, you can get it using either GetNotes or GetNotesAttachedToContact.

Response
{
"NoteId": "3994145908435631183537027902284",
"ContactId": "3994145908435631183537028198761",
"UserId": "123",
"DateCreated": "2024-11-21T02:24:28-08:00",
"DateDisplayedInHistory": "2024-11-21T02:24:28-08:00",
"Note": "I called and got their voicemail. I'll try again next week.",
"ContactMetaData": {
"Name": "John Doe",
"AssignedTo": "123456"
}
"UserMetaData": {
"FirstName": "Your",
"LastName": "Name"
}
"PipelineInfo": {
"PipelineId": "3994145908435631183537028062133",
"PipelineItemId": "3994145908435631183537028741500",
"StatusId": "3994145908437937026546242027616",
"PreviousStatusId": "3994145908437937026546241464363",
"PipelineMetaData": {
"Name": "Sales Leads"
}
"StatusMetaData": {
"Name": "Prospect"
}
}
"IsRichText": false
}

List all notes

This function gets a list of all notes entered in the CRM. You can pass additional parameters to filter and sort the results.

How to call this function
Function name
GetNotes
Parameters
SortDirection Enum Default: Descending
Valid options: 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.

DateFilterStart DateTime Default: NULL

If you specify this parameter, only notes entered on or after the date you choose will be returned.

DateFilterEnd DateTime Default: NULL

If you specify this parameter, only notes entered on or before the date you choose will be returned.

UserFilter Array of Uids Default: []

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.

ContactId Uid

If you specify this parameter, only notes attached to this contact will be returned. Alternatively, you can call GetNotesAttachedToContact to get the same results.

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": [
{
"NoteId": "3994145908442548712564669950863",
"ContactId": "3994145908444854555573883721595",
"UserId": "123",
"DateCreated": "2024-11-21T02:24:28-08:00",
"DateDisplayedInHistory": "2024-11-21T02:24:28-08:00",
"Note": "I called and got their voicemail. I'll try again next week.",
"ContactMetaData": {
"Name": "John Doe",
"AssignedTo": "123456"
}
"UserMetaData": {
"FirstName": "Your",
"LastName": "Name"
}
"PipelineInfo": {
"PipelineId": "3994145908444854555573882635465",
"PipelineItemId": "3994145908444854555573883961680",
"StatusId": "3994145908444854555573883538031",
"PreviousStatusId": "3994145908444854555573883018523",
"PipelineMetaData": {
"Name": "Sales Leads"
}
"StatusMetaData": {
"Name": "Prospect"
}
}
"IsRichText": false
},
{...},
{...}
]
}

Get contact notes

Returns all notes for a contact.

How to call this function
Function name
GetNotesAttachedToContact
Parameters
ContactId Uid Required

The contact to get notes for.

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": [
{
"NoteId": "3994145908449466241592310457901",
"ContactId": "3994145908451772084601523926650",
"UserId": "123",
"DateCreated": "2024-11-21T02:24:28-08:00",
"DateDisplayedInHistory": "2024-11-21T02:24:28-08:00",
"Note": "I called and got their voicemail. I'll try again next week.",
"ContactMetaData": {
"Name": "John Doe",
"AssignedTo": "123456"
}
"UserMetaData": {
"FirstName": "Your",
"LastName": "Name"
}
"PipelineInfo": {
"PipelineId": "3994145908451772084601525066353",
"PipelineItemId": "3994145908451772084601523196147",
"StatusId": "3994145908451772084601523710152",
"PreviousStatusId": "3994145908451772084601523274191",
"PipelineMetaData": {
"Name": "Sales Leads"
}
"StatusMetaData": {
"Name": "Prospect"
}
}
"IsRichText": false
},
{...},
{...}
]
}