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

_Webhook._

Delivered when learning_plan_request.delegated 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._

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

## Example request

```json
{
  "id": "string",
  "type": "learning_plan_request.delegated",
  "version": 1,
  "occurred_at": "2019-08-24T14:15:22Z",
  "tenant": {
    "id": "string",
    "slug": "string"
  },
  "subscription_id": "string",
  "livemode": true,
  "data": {
    "authority_user_id": "c0440a9a-3aee-43f3-9f5c-218c1cd4097d",
    "decided_by": "4accc021-c0cc-4c2c-8a78-605a0ed6da31",
    "delegation_id": "4cff8b0a-bdd8-4ae9-8b8e-6f3c0f89b0a7",
    "reason": "string",
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846",
    "subject_id": "80e197be-61ad-4068-b4ff-a483fb5c18f9",
    "subject_kind": "string",
    "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
  },
  "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/learning_plan_request.delegated/index.md
