Less Annoying CRM logo Less Annoying CRM LACRM
Core API Functions

Items attached to contacts

This API allows you to interact with many different record types, but everything centers around contacts. A common use case is to want to get all of the things attached to a contact, so we collected all of those functions in one place to make your life easier.

All of these functions exist elsewhere in the API docs. For example, GetEventsAttachedToContact is also listed under the "Events" documentation.

Get contact relationships

This function returns all of the relationships for a specific contact. Relationships are bi-directional, so this will include relationships where the contact is listed as Contact1 or Contact2.

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

The id of the contact whose relationships you want to get.

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": [
{
"RelationshipId": "3862522894740362139901941994333",
"ContactId1": "3862522894740362139901941156501",
"ContactId2": "3862522894740362139901942108744",
"Note": "John and Jane are married",
"CreatedBy": "123",
"DateCreated": "2023-01-30T10:11:25-08:00",
"DateEdited": "2023-01-30T10:11:25-08:00",
"Contact1MetaData": {
"Name": "John Doe"
}
"Contact2MetaData": {
"Name": "Jane Doe"
}
"CreatedByMetaData": {
"FirstName": "Your",
"LastName": "Name"
}
},
{...},
{...}
]
}

Get contact events

Returns all events for a contact.

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

The contact to get events 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": [
{
"EventId": "3862522894749585511938797027844",
"Name": "",
"StartDate": "2023-01-30T10:11:25-08:00",
"EndDate": "2023-01-30T10:11:25-08:00",
"Location": "",
"Description": "",
"IsAllDay": false,
"IsRecurring": false,
"RecurrenceEventId": "3862522894749585511938797410805",
"RecurrenceRule": "",
"EndRecurrenceDate": "2023-01-30T10:11:25-08:00",
"SeriesNumber": 10,
"DateCreated": "2023-01-30T10:11:25-08:00",
"DateUpdated": "2023-01-30T10:11:25-08:00",
"ContactIds": [
3862522894749585511938796317617,
3862522894749585511938797627796,
3862522894749585511938795902091
],
"UserIds": [
3862522894751891354948010591264,
3862522894751891354948011176976,
3862522894751891354948010679198
],
"Attendees": [
{
"IsUser": false,
"AttendeeId": "3862522894751891354948010862331",
"AttendanceStatus": ""
},
{...},
{...}
]
"CalendarId": "3862522894751891354948010376111",
"ContactMetaData": [
{
"Name": "John Doe"
},
{...},
{...}
]
"UserMetaData": [
{
"FirstName": "Your",
"LastName": "Name"
},
{...},
{...}
]
"CalendarMetaData": {
"Name": "Primary calendar"
}
},
{...},
{...}
]
}

Get contact tasks

Returns all tasks for a contact.

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

The contact to get tasks 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": [
{
"TaskId": "3862522894756503040966438787876",
"Name": "Follow-up with John",
"DueDate": "2023-02-06",
"AssignedTo": "3862522894756503040966437558665",
"Description": "We talked yesterday but they were busy and said to touch base next week.",
"ContactId": "3862522894756503040966438657180",
"IsCompleted": false,
"DateCompleted": "2023-01-29T18:11:25-08:00",
"CalendarId": "3862522894758808883975651346155",
"DateCreated": "2023-01-30T10:11:25-08:00",
"AssignedToMetaData": {
"FirstName": "Your",
"LastName": "Name"
}
"ContactMetaData": {
"Name": "John Doe"
}
},
{...},
{...}
]
}

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": "3862522894763420569994078037178",
"ContactId": "3862522894763420569994078253481",
"UserId": "123",
"DateCreated": "2023-01-30T10:11:25-08:00",
"DateDisplayedInHistory": "2023-01-30T10:11:25-08:00",
"Note": "I called and got their voicemail. I'll try again next week.",
"ContactMetaData": {
"Name": "John Doe"
}
"UserMetaData": {
"FirstName": "Your",
"LastName": "Name"
}
},
{...},
{...}
]
}
Next page: Notes