November 30, 2026
Filter Contacts by LastModifiedDateTime
GET /v3/Contacts now accepts LastModifiedDateTime in $filter, so you can fetch only the contacts changed since your last sync instead of paging through every contact:
GET https://api.karbonhq.com/v3/Contacts?$filter=LastModifiedDateTime ge 2026-11-23T00:00:00Z&$orderby=LastModifiedDateTime desc
| Operator | Returns contacts last modified |
|---|---|
eq |
At that date and time |
gt / ge |
After / at or after that time |
lt / le |
Before / at or before that time |
Use and to ask for a range:
GET https://api.karbonhq.com/v3/Contacts?$filter=LastModifiedDateTime ge 2026-11-01T00:00:00Z and LastModifiedDateTime lt 2026-12-01T00:00:00Z
To get the contacts added or changed since your last request, record the time you sent each request, and filter on it the next time. For example, if your last request was sent at 09:15 UTC on November 30, 2026:
GET https://api.karbonhq.com/v3/Contacts?$filter=LastModifiedDateTime ge 2026-11-30T09:15:00Z
Use ge rather than gt so a contact changed in the same second as your last request isn’t missed.
You can also combine it with the existing FullName, EmailAddress, PhoneNumber, ContactType and ExternalKey filters, and with $orderby=LastModifiedDateTime or $orderby=LastModifiedDateTime desc.
LastModifiedDateTime is compared to the whole second. A value without a time zone offset is read as UTC.
The request returns a 400 when:
gt,ge,ltorleis used on any property other thanLastModifiedDateTime- the value isn’t a date and time, or is
null
Refer to the API documentation for more information on listing contacts.
Archive and Unarchive Files
PATCH /v3/FileDetails/{FileContextKey} now accepts IsArchived, so you can archive and restore a file the same way Archive and Restore do in Karbon:
PATCH https://api.karbonhq.com/v3/FileDetails/2S3RNjkR66Ln
{
"IsArchived": true
}
Send "IsArchived": false to unarchive it. Archiving a file that’s shared with the client hides it from the client portal without unsharing it, and unarchiving it shows it again. Archiving an archived file, or unarchiving an active one, changes nothing.
Only files on a contact, organization, client group, work item or approval can be archived or unarchived.
You can send IsArchived together with FolderPath to move a work item file and archive or unarchive it in one request. An archived file can’t be moved unless the same request sends "IsArchived": false. If the request fails part-way, it’s safe to send it again.
The response is a 204. Send Prefer: return=representation to get a 200 with the file’s details instead. This requires your application to also have access to GET /v3/FileDetails/{FileContextKey}; without it, the response is a 204.
400 message |
Cause |
|---|---|
Send FolderPath, IsArchived or both. |
Neither property was sent |
IsArchived must be true or false |
IsArchived was null |
The file is archived. Send IsArchived false to move it. |
FolderPath was sent for an archived file |
Only files on a contact, organization, client group, work item or approval can be archived or unarchived. |
The file belongs to something else |
Invalid property to update. Only FolderPath,IsArchived can be patched. |
Another property was sent |
Refer to the API documentation for more information on updating files.