May 31, 2022
High level summary
This document outlines the changes to Karbon’s public API as a result of the Karbon release on May 31, 2022.
In summary, the API changes impact 3 endpoints and a webhook:
WebhookSubscriptions(existing endpoint)Notes(enhanced thePOSTmethod and addedGETmethod)Comments(new endpoint withGETmethod)- Introduced Webhook for
Comment
WebhookSubscriptions
-
To subscribe to
NotesandCommentswebhooks, useWebhookTypeasNoteinstead ofContentItem:/v3/WebhookSubscriptions/Note -
GETmethod will require aWebhookType(Contact,WorkorNote) to retrieve information. Providing noWebhookTypewill throw a validation error -
Likewise for
POSTmethod, a properWebhookTypewill be required and blanks will not be accepted (prompting a validation error)
Notes
-
The existing
POSTmethod in this endpoint has been enhanced to createNotesonContacts,WorkItemor both together -
GETmethod has been introduced to retrieve aNotealong with itsCommentsandTimelines:/v3/Notes/{NoteKey}
Comments
-
A new endpoint with
GETmethod has been introduced to retrieve individualComments:/v3/Comments/{CommentKey}
Webhook for Comments
Webhook for Comments can be subscribed to using WebhookType as Note as mentioned above.
If you have already subscribed for Note webhook, then no separate subscription for Comment is required. If you are subscribing for Comments or Notes for the first time, then please use the following endpoint for it as mentioned earlier:
/v3/WebhookSubscriptions/Note