March 18, 2024
The March 18, 2024 Karbon API release includes a new API endpoint to retrieve account specific information about Work Types, Contact Types and Work Statuses.
TenantSettings
JSONCopied!GET TenantSettings
GET TenantSettingsEndpoint:
https://api.karbonhq.com/v3/TenantSettingsWhen used with
GETWorkItemContactsOrganizationsPrimaryStatusSecondaryStatusWorkItemsRefer to the TenantSettings API documentation for a full example of the response from this endpoint.
Example use case
You want to integrate a CRM system with Karbon, creating contact records in Karbon when you sign a new client and adding onboarding work.
You need:
- a list of valid Contact Types so that your API integration can perform a mapping of types from your CRM system to the used in KarbonJSONCopied!ContactTypes
- a list of valid Work Types so that your API integration can assign the correct WorkType to the onboarding JSONCopied!WorkItems
Making a call to
https://api.karbonhq.com/v3/TenantSettingsContactTypesWorkTypesJSONCopied!{
  "ContactTypes": [
    {
      "name": "Client",
      "ContactTypeKey": "3Qk8VS4LHyMb"
    },
    ...
  ],
  "WorkTypes": [
    {
      "Name": "Accounting",
      "WorkTypeKey": "nTlQkTQnNz7",
      "AvailableStatuses": {
        ...
      }
    },
    ...
  ]
}
Notes:
Values for Primary Work Statuses are controlled across all Karbon accounts - only Secondary status types can be edited.
Within Karbon, admin users can specify which Secondary statuses apply to which Work Types - meaning some statuses may not be valid for use with specific Work Types. The
WorkTypesBecause the names for items in the
ContactTypesWorkTypes