latestOpenAPI 3.1.02026-08-0817082.3 KB

cac8702ed2aa

Webhooks

Trigger a webhook by id

Trigger a webhook manually, without needing to perform the action that would normally trigger the webhook.

post/v1/webhooks/{id}/trigger

Path parameters

idstring required

The unique identifier of a webhook.

Example:wh123abc45

Request body

learnerIdstring

The unique identifier of a learner.

Required when the webhook type is LEARNER_TRAINING_CAMPAIGN_COMPLETED.

trainingCampaignIdstring

The unique identifier of a training campaign.

Required when the webhook type is LEARNER_TRAINING_CAMPAIGN_COMPLETED.

Example request

{
  "learnerId": "abc123def4",
  "trainingCampaignId": "tc456xyz78"
}

Response

No Content