The February 8, 2024 Karbon API release includes two changes:
- API access can be configured to allow access to Hidden and Private contacts.
- The property has been added to theJSONCopied!DeadlineDateAPI endpoint - this makes it possible to set, retrieve and update a deadline date on a Work Item.JSONCopied!WorkItems
API access to Hidden and Private contacts
Each Karbon API application can now be configured to enable access to Hidden and/or Private contacts. Enabling either or both of these settings will return contacts and associated data (such as
WorkItemsNOTE: This configuration change must be requested via Karbon Support and be approved by an administrator in the connected Karbon account. You can make this request by reaching out to support directly, or via the issue form.
Where a single API application is connected to multiple Karbon accounts, each Karbon account has its own unique settings, i.e. Karbon Account A can have access to Hidden Contacts, whilst Karbon Account B has neither access to Hidden nor Private Contacts.
Deadline Date
NOTE: Whilst this API change is available to all API users, as at the time of writing the changes to the Karbon Application are only available to firms enrolled in the Deadlines BETA, this means that Deadline Dates you set using the API may not be visible in Karbon. You can read more about the Deadlines BETA in our January 2024 release notes.
- ,JSONCopied!POST WorkItemJSONCopied!PUT WorkItem
- JSONCopied!PATCH WorkItem
- a list ofJSONCopied!GET, sorting and filtering the listJSONCopied!WorkItems
- a single Work ItemJSONCopied!GET
JSONCopied!POST WorkItem and PUT WorkItem
POST WorkItem and PUT WorkItemEndpoint:
https://api.karbonhq.com/v3/WorkItemsWhen used with
POSTPUTDeadlineDateValid values for
DeadlineDatenull2024-01-012024-01-01T00:00:00ZExample use case
You want to create a Work Item with a
DeadlineDateInclude the following JSON object in the request payload:
"DeadlineDate": "2024-02-01"Making a
POSThttps://api.karbonhq.com/v3/WorkItemsJSONCopied!PATCH WorkItem
PATCH WorkItemEndpoint:
https://api.karbonhq.com/v3/WorkItemsWhen used with
PATCHDeadlineDateAs per the
POSTPUTDeadlineDatenull2024-01-012024-01-01T00:00:00ZExample use case
You want to create a Work Item with a
DeadlineDateUse the following JSON as the complete request payload:
{"DeadlineDate": "2024-02-02"}Making a
PATCHhttps://api.karbonhq.com/v3/WorkItems/{WorkItemKey}JSONCopied!GET WorkItems
GET WorkItemsEndpoint:
https://api.karbonhq.com/v3/WorkItemsWhen used with
GETDeadlineDateExample use case
You want to retrieve a list of
WorkItemsDeadlineDateDeadlineDatehttps://api.karbonhq.com/v3/WorkItems?$filter=DeadlineDate ge 2024-03-01&$orderby=DeadlineDateThis will return a JSON response with a list of work items as the payload, including the
DeadlineDate{"DeadlineDate": "2024-03-01T00:00:00Z"}GET WorkItemhttps://api.karbonhq.com/v3/WorkItems/{WorkItemKey}When used with
GETDeadlineDateWorkItemKeynullDeadlineDateExample use case
You want to retrieve a Work Item and its
DeadlineDateEndpoint:
https://api.karbonhq.com/v3/WorkItems/{WorkItemkey}This will return a JSON response with a work item as the payload, including the
DeadlineDate"DeadlineDate": "2024-03-01T00:00:00Z"