Skip to content

Webhooks

Updated 13 Jul 2026

Webhooks are outgoing HTTP POST notifications from Knowspread to a client endpoint. They are useful when the client does not want to poll the REST API.

The current model includes:

EventWhen it makes sense
content_assignment_createdA user received a new study task.
content_assignment_completedA user completed assigned content.
content_assignment_overdueAssigned content is overdue.
test_attempt_completedA user completed a test attempt.

Webhook settings belong to a company space and include:

  • endpoint_url,
  • auth_type,
  • optional secret for payload signing,
  • configuration data for OAuth2.

Endpoint URL must use HTTPS.

Supported modes:

  • no authentication,
  • Basic Auth,
  • OAuth2 client credentials.

If a secret is set, the client should verify the payload signature from the raw request body. This helps detect whether the payload changed in transit.