WebNIC RESTFUL v2
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Domain Host
  • 📝 Update History
  • IDN Language Code
  • Contact
    • Create Contact
      POST
    • Query Contact Info
      GET
    • Modify Contact
      POST
    • Delete Contact
      DELETE
    • Create Contact at Registry
      POST
    • Modify Contact at Local System only
      POST
    • Modify Contact at Registry
      POST
  • Registrant
    • Create Registrant Account
      POST
    • Get Registrant Account List
      GET
    • Send Login Info
      POST
    • Update Registrant User by Domain List
      PUT
    • Modify Registrant Account
      PUT
  • Domain Product
    • Get Extension Price
      POST
    • Get Extensions Promo Pricing
      POST
    • Smart Query by TLDs
      GET
    • Get Domain Extensions
      GET
    • Get Extensions Rule (RG)
      GET
    • Get Extensions Rule (TF)
      GET
    • Get Extensions Rule (GRACE)
      GET
    • Get Extensions Rule (DOC)
      GET
    • Suspend Domain
      POST
    • Get Domain Suspend Status
      GET
  • Domain
    • Check Domain Pattern
    • Query Domain
    • Count Total Domains
    • Get Domain Info
    • Get Universal WHOIS Information
    • Update Domain Status
    • Get WebNIC Default Nameservers
    • Update Domain Nameserver
    • Toggle Whois Privacy
    • Toggle Proxy Subscription
    • Register Domain
    • Renew Domain
    • Restore Domain
    • Delete Domain
    • Resend Domain Verification Email
    • Download Certificate
    • Reset Authorization Information
    • Send Authorization Information
    • Upload Verification Document
    • Get Domain Statistics
    • Get Top Domain Available List
  • Domain Host
    • Check Host
      POST
    • Get Host Info
      GET
    • Modify Host
      POST
    • Get Host List (Pagination)
      POST
    • Create Host By Extension
      POST
    • Delete Host By Extension
      DELETE
    • Get Host Registered Registries
      GET
    • Get Host linked Domain List
      POST
  • Domain DNSSEC
    • Check DNSSEC Supported
    • Get DNSSEC Info
    • Update DNSSEC
    • Delete DNSSEC
  • Domain Transfer
    • Query Transfer Type
    • Submit Reseller Transfer
    • Submit Registrar Transfer In
    • Get Registrar Transfer In Status by Domain Name
    • Get Registrar Transfer In Status by Id
    • Get Registrar Transfer Away Status by Domain Name
    • Get Registrar Transfer Away Status by Id
    • Update Registrar Transfer Away Status
    • Get Reseller Transfer Status by Domain Name
    • Get Reseller Transfer Status by Id
    • Update Reseller Transfer Away Status
  • Pending Order
    • Get Pending Order Info
  • Domain Action Log
    • Get Domain Action Log Info
  • Registry Program
    • Bundle HK Domain
    • Check Free TW Domain Eligibility
  • Domain Broker
    • Initiate Domain Broker
  • Secondhand Domain
    • Insert Secondhand Domain
  • Bulk Request
    • Bulk Domain Registration
    • Bulk Domain Renewal
    • Bulk Replace Contact
    • Get Bulk Report Overview
    • Get Bulk Report Details
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Domain Host

Create Host By Extension

OTE Environment
https://oteapi.webnic.cc
OTE Environment
https://oteapi.webnic.cc
POST
/domain/v2/host/create/extension
Last modified:2025-07-08 04:26:16
This endpoint allows you to create a host by providing a single extension or list of extensions.
ext or extList
You need to provide the extension (TLD) target in this query. Thus, you should provide either ext or extList in your request.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

🟠400Field Validation Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://oteapi.webnic.cc/domain/v2/host/create/extension' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "host": "ns2.ote-nelson.jp",
  "ipList": [
    "1.1.1.2",
    "1.1.1.3",
    "1.1.1.4",
    "1.1.1.5"
  ],
  "extList": [
    "com",
    "com.my",
    "events"
  ]
  // "ext": "shop"
}'
Response Response Example
200 - OK
{
    "code": "3000",
    "message": "1 of 4 events processed",
    "data": {
        "success": [
            {
                "SGNIC": {
                    "subCode": "1000",
                    "message": "Command completed successfully."
                }
            }
        ],
        "fail": [
            {
                "MyNIC": {
                    "subCode": "2400",
                    "message": "Command failed.",
                    "errors": {
                        "subCode": "DOM2400",
                        "message": "Host ns1.hqtest2.com is not available"
                    }
                }
            },
            {
                "ID Provider": {
                    "subCode": "2400",
                    "message": "Command failed.",
                    "errors": {
                        "subCode": "DOM2400",
                        "message": "Host ns1.hqtest2.com is not available"
                    }
                }
            },
            {
                "Zodiac": {
                    "subCode": "2400",
                    "message": "Command failed.",
                    "errors": {
                        "subCode": "DOM2400",
                        "message": "Host ns1.hqtest2.com is not available"
                    }
                }
            }
        ]
    }
}
Modified at 2025-07-08 04:26:16
Previous
Get Host List (Pagination)
Next
Delete Host By Extension
Built with