---
title: "Sign a GL integrity hard-check waiver"
method: POST
path: "/admin/gl-integrity-waivers"
tags: ["Admin"]
---

# Sign a GL integrity hard-check waiver

`POST /admin/gl-integrity-waivers`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/admin/gl-integrity-waivers`
- Auth: HTTP bearer

#4322. Only a human user id in GL_INTEGRITY_WAIVER_SIGNER_USER_IDS may sign; API keys, service and bookkeeping principals never can, and an empty list means nobody can. The signer is the caller, never a body field. Every key must name one of the eight hard checks; expiresAt must be in the future.

## Request body

- object
  - `companyId` string, uuid, required
  - `violationKeys` string[], required
  - `reason` string, required
  - `expiresAt` string, date-time, required

## Response `201`

One waiver (#4322)

- object
  - `success` boolean
  - `data` GlIntegrityWaiver
    - `id` string, uuid
    - `companyId` string, uuid
    - `violationKeys` string[]
    - `reason` string
    - `expiresAt` string, date-time
    - `signedByUserId` string, uuid
    - `signedAt` string, date-time
    - `revokedAt` string, date-time, nullable
    - `revokedByUserId` string, uuid, nullable
    - `active` boolean: Not revoked and expiring strictly after now

## Other responses

- `400`: Invalid waiver request (code GL_INTEGRITY_WAIVER_INVALID)
- `401`: Authentication required
- `403`: Insufficient permissions or not a company member

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/admin/gl-integrity-waivers/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
