Webhooks

Set or clear the webhook

Sets a webhook that POSTs on every completed response, or clears it with {"url": null}. If a secret is set, each delivery carries X-QuizGen-Signature: the HMAC-SHA256 hex of the raw body.

post/quizzes/{id}/webhook

Request

  • Base URL: https://quizgen.dev/api/v1
  • URL: https://quizgen.dev/api/v1/quizzes/{id}/webhook
  • Auth: HTTP bearer

Request body

urlstring uri nullable required

Endpoint to POST to, or null to clear.

secretstring

Signs deliveries (HMAC-SHA256).

Response

Webhook set or cleared.

OperationResult required

Successful mutation result. Fields vary by operation and are documented on the endpoint.

Changes

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