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!
DeadlineDate
API 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
WorkItems
NOTE: 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 WorkItem
JSONCopied!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 WorkItem
Endpoint:
https://api.karbonhq.com/v3/WorkItems
When used with
POST
PUT
DeadlineDate
Valid values for
DeadlineDate
null
2024-01-01
2024-01-01T00:00:00Z
Example use case
You want to create a Work Item with a
DeadlineDate
Include the following JSON object in the request payload:
"DeadlineDate": "2024-02-01"
Making a
POST
https://api.karbonhq.com/v3/WorkItems
JSONCopied!PATCH WorkItem
PATCH WorkItem
Endpoint:
https://api.karbonhq.com/v3/WorkItems
When used with
PATCH
DeadlineDate
As per the
POST
PUT
DeadlineDate
null
2024-01-01
2024-01-01T00:00:00Z
Example use case
You want to create a Work Item with a
DeadlineDate
Use the following JSON as the complete request payload:
{"DeadlineDate": "2024-02-02"}
Making a
PATCH
https://api.karbonhq.com/v3/WorkItems/{WorkItemKey}
JSONCopied!GET WorkItems
GET WorkItems
Endpoint:
https://api.karbonhq.com/v3/WorkItems
When used with
GET
DeadlineDate
Example use case
You want to retrieve a list of
WorkItems
DeadlineDate
DeadlineDate
https://api.karbonhq.com/v3/WorkItems?$filter=DeadlineDate ge 2024-03-01&$orderby=DeadlineDate
This will return a JSON response with a list of work items as the payload, including the
DeadlineDate
{"DeadlineDate": "2024-03-01T00:00:00Z"}
GET WorkItem
https://api.karbonhq.com/v3/WorkItems/{WorkItemKey}
When used with
GET
DeadlineDate
WorkItemKey
null
DeadlineDate
Example use case
You want to retrieve a Work Item and its
DeadlineDate
Endpoint:
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"