---
title: "Create WHOIS profile"
method: POST
path: "/api/domains/v1/whois"
tags: ["Domains: WHOIS"]
---

# Create WHOIS profile

`POST /api/domains/v1/whois`

Create WHOIS contact profile.

Use this endpoint to add new contact information for domain registration.

## Request body

- DomainsV1WHOISStoreRequest
  - `tld` string, required — TLD of the domain (without leading dot)
  - `country` string, required — ISO 3166 2-letter country code
  - `entity_type` 'individual' | 'organization', required — Legal entity type
  - `tld_details` object — TLD details
  - `whois_details` object, required — WHOIS details

## Response `200`

Success response

- DomainsV1WHOISProfileResource
  - `id` integer — WHOIS Profile ID
  - `tld` string — TLD to which contact profile can be applied to
  - `country` string — ISO 3166 2-letter country code
  - `entity_type` 'individual' | 'organization' — WHOIS profile entity type
  - `whois_details` object — WHOIS profile details
  - `tld_details` object — TLD details
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401` — Unauthenticated response
- `422` — Validation error response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
