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

Changes

No recorded changes to this endpoint across all 1 revision of this API.