---
title: "Grant Backfill"
method: POST
path: "/v1/workspaces/{workspace_id}/timekeeper/backfill-grants"
tags: ["timekeeper"]
---

# Grant Backfill

`POST /v1/workspaces/{workspace_id}/timekeeper/backfill-grants`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/workspaces/{workspace_id}/timekeeper/backfill-grants`
- Auth: HTTP bearer

## Path parameters

- `workspace_id` string, uuid, required

## Headers

- `Idempotency-Key` string, required

## Request body

- GrantBackfill
  - `practitioner_user_id` string, uuid, required
  - `period_month` string, date, required

## Response `201`

Successful Response

- BackfillGrantResult
  - `grant` BackfillGrantView, required
    - `id` string, uuid, required
    - `practitioner_user_id` string, uuid, required
    - `period_month` string, date, required
    - `granted_by` string, uuid, required
    - `granted_at` string, date-time, required
    - `expires_at` string, date-time, required
  - `revoked` boolean, required
  - `replayed` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
