---
title: "quiz_attempt.regraded"
description: "Delivered when quiz_attempt.regraded occurs. Signed per the Standard Webhooks specification: verify the webhook-signature header over the exact bytes of webhook-id, webhook-timestamp and the raw body, and reject a timestamp more than five minutes from your own clock."
image: "https://docs.quirelms.com/og.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.quirelms.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Quire API

`POST quiz_attempt.regraded`

_Webhook._

Delivered when quiz_attempt.regraded occurs. Signed per the Standard Webhooks specification: verify the webhook-signature header over the exact bytes of webhook-id, webhook-timestamp and the raw body, and reject a timestamp more than five minutes from your own clock.

## Request body

_Required._

- `quiz_attempt.regraded.id` (string, required) — Equal to the webhook-id header and to the outbox event identifier. Deduplicate on it.
- `quiz_attempt.regraded.type` (string, required)
- `quiz_attempt.regraded.version` (integer, required)
- `quiz_attempt.regraded.occurred_at` (string, required)
  - format `date-time`
- `quiz_attempt.regraded.tenant` (object, required)
  - `quiz_attempt.regraded.tenant.id` (string, required)
  - `quiz_attempt.regraded.tenant.slug` (string, required)
- `quiz_attempt.regraded.subscription_id` (string, required)
- `quiz_attempt.regraded.livemode` (boolean, required)
- `quiz_attempt.regraded.data` (object, required)
  - `quiz_attempt.regraded.data.attempt_id` (string, required)
    - format `uuid`; pattern `^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$`
  - `quiz_attempt.regraded.data.new_sum_marks` (number | null, required)
  - `quiz_attempt.regraded.data.old_sum_marks` (number | null, required)
  - `quiz_attempt.regraded.data.quiz_id` (string, required)
    - format `uuid`; pattern `^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$`
  - `quiz_attempt.regraded.data.run_id` (string, required)
    - format `uuid`; pattern `^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$`
  - `quiz_attempt.regraded.data.user_id` (string, required)
    - format `uuid`; pattern `^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$`
  - `quiz_attempt.regraded.data.versions_upgraded` (boolean, required)
- `quiz_attempt.regraded.links` (map<string>, optional) — Where to read the current state of what the event is about.

## Example request

```json
{
  "id": "string",
  "type": "quiz_attempt.regraded",
  "version": 1,
  "occurred_at": "2019-08-24T14:15:22Z",
  "tenant": {
    "id": "string",
    "slug": "string"
  },
  "subscription_id": "string",
  "livemode": true,
  "data": {
    "attempt_id": "7a838dca-3ea8-4a7c-8133-ba2c86aeb22d",
    "new_sum_marks": 0,
    "old_sum_marks": 0,
    "quiz_id": "3071a091-59cf-4022-901b-f503ff34dead",
    "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",
    "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
    "versions_upgraded": true
  },
  "links": {
    "property1": "http://example.com",
    "property2": "http://example.com"
  }
}
```

## Responses

### 2XX

Any 2xx acknowledges the delivery. A 410 disables the subscription. Anything else is retried with exponential backoff and full jitter over about 36 hours.


Source: https://docs.quirelms.com/api/webhooks/quiz_attempt.regraded/index.md
