---
title: "certificate.revoked"
description: "Delivered when certificate.revoked 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 certificate.revoked`

_Webhook._

Delivered when certificate.revoked 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._

- `certificate.revoked.id` (string, required) — Equal to the webhook-id header and to the outbox event identifier. Deduplicate on it.
- `certificate.revoked.type` (string, required)
- `certificate.revoked.version` (integer, required)
- `certificate.revoked.occurred_at` (string, required)
  - format `date-time`
- `certificate.revoked.tenant` (object, required)
  - `certificate.revoked.tenant.id` (string, required)
  - `certificate.revoked.tenant.slug` (string, required)
- `certificate.revoked.subscription_id` (string, required)
- `certificate.revoked.livemode` (boolean, required)
- `certificate.revoked.data` (object, required)
  - `certificate.revoked.data.certificate_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)$`
  - `certificate.revoked.data.reason_code` (string, required)
  - `certificate.revoked.data.revoked_by` (any of, required)
    - any of: `string`, `null`
- `certificate.revoked.links` (map<string>, optional) — Where to read the current state of what the event is about.

## Example request

```json
{
  "id": "string",
  "type": "certificate.revoked",
  "version": 1,
  "occurred_at": "2019-08-24T14:15:22Z",
  "tenant": {
    "id": "string",
    "slug": "string"
  },
  "subscription_id": "string",
  "livemode": true,
  "data": {
    "certificate_id": "620df92a-0599-41ff-b912-58ec0e5bd21f",
    "reason_code": "string",
    "revoked_by": "609d09bf-be33-45e0-963a-ff4cf608e85c"
  },
  "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/certificate.revoked/index.md
