---
title: "Set custom domain"
method: POST
path: "/v1/reseller/domain"
tags: ["Reseller"]
---

# Set custom domain

`POST /v1/reseller/domain`

## Request

- Base URL: `https://api.winnr.app`
- URL: `https://api.winnr.app/v1/reseller/domain`
- Auth: HTTP bearer

Set custom domain for the reseller. Adds domain to Vercel project.

## Request body

- object
  - `domain` string, required: Custom domain to configure (e.g. "app.example.com")

## Response `200`

Domain configured with DNS instructions

- object
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
  - `data` object
    - `domain` string
    - `dns_instructions` object
      - `type` string
      - `name` string
      - `value` string
    - `vercel_result` object, nullable

## Other responses

- `400`: Invalid domain
- `403`: Not a reseller account

---

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