Release Notes
July 24, 2023
User details API and User invite accepted webhook are available in the Karbon API.
This document provides an overview of the July 24, 2023 Karbon API release.
We have added an API endpoint that expands on the
JSONCopied!
/v3/Users/
It is also possible to subscribe to a new User Webhook Subscription type, to receive information about a user.
- JSONCopied!
GET User by UserId
- JSONCopied!
POST Webhook Subscription for WebhookType User
JSONCopied!GET Users by UserId
JSONCopied!
GET Users by UserId
Endpoint:
JSONCopied!
https://api.karbonhq.com/v3/Users/{UserId}
When used with
JSONCopied!
GET
See an example of the
JSONCopied!
Users
JSONCopied!
UserId
JSONCopied!POST WebhookSubscription for WebhookType User
JSONCopied!
POST WebhookSubscription for WebhookType User
Endpoint:
JSONCopied!
https://api.karbonhq.com/v3/WebhookSubscription
When successfully called with a JSON payload including your
JSONCopied!
TargetUrl
JSONCopied!
WebhookType
JSONCopied!
User
JSONCopied!
TargetUrl
JSONCopied!
WebhookType
Additional information about the
JSONCopied!
WebhookSubscriptions
Example use case
You want to retrieve a notification when a user invited to Karbon has accepted their invite:
JSONCopied!
POST https://api.karbonhq.com/v3/WebhookSubscriptions
Payload:
JSONCopied!{
"TargetUrl": "https://example.com/",
"WebhookType": "User"
}
This will create a Webhook Subscription that will be triggered for each new user that accepts an invitation to join Karbon. When triggered, a
JSONCopied!
POST
JSONCopied!
TargetUrl
JSONCopied!{
"ResourcePermaKey": "{UserId}",
"ResourceType": "User",
"ActionType": "InviteAccepted"
}