Webhooks
Webhooks let you subscribe to real-time events in Cakewalk and trigger external workflows.
Setup
To register a webhook, you need to provide:
Target URL
Events to subscribe to
Secret for HMAC verification
This event is triggered when the action step of the request needs to be executed. e.g. "all the review steps are completed and the task to do the provisioning is ready to be done"
Event envelope
Each element of the body array is an object with:
eventType
string
Discriminator; determines the shape of data.
data
object
Event-specific payload.
Event types
test
testPurpose: Validates that a registered URL accepts webhook POSTs (webhook verification flow).
data:
message
string
Always "Hello, World!".
action_task.actionable
action_task.actionablePurpose: When a user submits a request, the policy dictates whether it requires zero, one, or multiple review steps (for example, a manager may need to approve a "grant access request"). Once all reviews are complete, the process concludes with an "action step" where the task is executed in the third-party system (such as creating the user account in the external application). The system triggers this event when the action step is ready to be executed.
data:
taskId
UUID string
Identifier of the task.
assignedTo
array
Users assigned to the task; may be empty. Each item has id, email, fullName.
requestMetadata
object or omitted / null
Context for policy-based request tasks; structure below.
requestMetadata (when present):
reviewedBy
array of users
Same shape as assignedTo items.
requestType
string
One of the policy-based request type names (see enum below).
requestedBy
user object
User who requested the action.
targetWorkApp
object or null
id (UUID), name (display name).
permissionLevel
object or null
id (UUID), name.
targetUser
user or null
Subject user when applicable.
triggeredByUsersGroup
object or null
id (UUID), name.
requestType possible values (from PolicyBasedRequestType in domain):
GrantAccessRequestRemoveAccessRequestArchiveWorkAppRequestChangePermissionLevelRequestAddNewManagedWorkAppRequest
Examples
Test webhook
Actionable task (with request metadata)
Batching
Multiple events may appear in one request:
JSON Schema
Last updated
Was this helpful?