---
title: "Add Grant"
method: POST
path: "/api/storage/files/{file_id}/grants"
tags: ["storage"]
---

# Add Grant

`POST /api/storage/files/{file_id}/grants`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/storage/files/{file_id}/grants`
- Auth: HTTP bearer

## Path parameters

- `file_id` string, uuid, required

## Request body

- AddGrantRequest
  - `email` string, email, required

## Response `201`

Successful Response

- SrcSchemasStorageGrantResponse
  - `id` string, uuid, required
  - `email` string, required
  - `granted_by_email` string, nullable
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
