---
title: "Requisitions Webhook"
method: POST
path: "/api/v3/requisitions/webhook"
tags: ["requisitions-webhooks"]
---

# Requisitions Webhook

`POST /api/v3/requisitions/webhook`

## Request

- Base URL: `https://api.endless.health` (the document declares no server; this is the origin it was published from)
- URL: `https://api.endless.health/api/v3/requisitions/webhook`
- Auth: none declared

## Request body

- RequisitionWebhookPayloadSchema
  - `data` RequisitionWebhookDataSchema, required
    - `status` 'SUCCESS' | 'ERROR', required
    - `action` 'CREATE_REQUISITION' | 'UPDATE_REQUISITION_STATUS' | 'CREATE_REQUISITION_RESULTS', required
    - `requisition` RequisitionWebhookRequisitionSchema, required
      - `id` integer, required
      - `external_id` integer, required
      - `status` string, required
      - `samples` RequisitionWebhookRequisitionSampleSchema[], required
        - `sample_id` string, required
      - `reason` string, nullable
      - `collection_location` string, nullable
      - `collection_timestamp` string, nullable
  - `original_message` object, nullable, required

## Response `200`

Successful Response

- unknown

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/endless/apis/eh-core-v3-api-prod.md) - [All operations](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/llms.txt) - [OpenAPI document](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/revisions/9046a1eb2d0c?raw)
