---
title: "Create Whitelist Entry"
method: POST
path: "/v1/shops/{shopId}/whitelist"
tags: ["Whitelist"]
---

# Create Whitelist Entry

`POST /v1/shops/{shopId}/whitelist`

Creates a new whitelist entry.

## Request body

- object
  - `value` string, required
  - `type` 'email' | 'email_domain' | 'discord_id' | 'country_code' | 'city' | 'ip' | 'ip_range' | 'isp' | 'asn' | 'user_agent', required
  - `reason` string
  - `payment_method_ids` string[]
  - `enabled` boolean
  - `active_from` string — Must be a valid date. Must be a date before <code>2038-01-19</code>.
  - `active_to` string — Must be a valid date. Must be a date after <code>active_from</code>. Must be a date before <code>2038-01-19</code>.

## Response `200`

---

[API](https://skmtc.dev/sellauth/apis/sellauth-api.md) · [All operations](https://skmtc.dev/sellauth/apis/sellauth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sellauth/sellauth-api/revisions/945e6d749d68/schema)
