---
title: "Add Allowlist Entry"
method: POST
path: "/api/admin/official-apps/{slug}/allowlist"
tags: ["admin-official-apps"]
---

# Add Allowlist Entry

`POST /api/admin/official-apps/{slug}/allowlist`

## 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/admin/official-apps/{slug}/allowlist`
- Auth: HTTP bearer

## Path parameters

- `slug` string, required

## Request body

- AllowlistAddRequest: Add a visibility entry. Exactly one of (user_id, team_id) is set when scope_kind != 'everyone'; both are null when 'everyone'.
  - `scope_kind` 'user_id' | 'team_id' | 'everyone', required
  - `scope_id` string, uuid, nullable
  - `note` string, nullable

## Response `201`

Successful Response

- AllowlistEntryResponse
  - `id` string, uuid, required
  - `app_slug` string, required
  - `scope_kind` string, required
  - `scope_id` string, uuid, nullable, required
  - `added_by` string, uuid, required
  - `note` string, nullable, required
  - `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)
