WebNIC RESTFUL v2
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Subscription
  • 📝 Update History
  • Zone
    • Get Domain Zone
      GET
    • Add Domain Zone to NS Subscription
      POST
    • Get Domain Zone NS Subscription
      GET
    • Search Domain Zones
      GET
    • Delete Domain Zone
      DELETE
    • Get Domain Zone Statistics
      GET
    • Get Premium Subscription Statistics
      GET
  • Zone Record
    • Get Basic Record Nameservers
      GET
    • Get Subscription Record Nameservers
      GET
    • Get Zone Records
      GET
    • Get Supported Record Types
      GET
    • Save Zone Record
      POST
    • Remove Zone Subscription Record
      POST
    • Replace Zone Subscription Record
      POST
    • Delete Zone Record
      DELETE
    • Delete Zone Subscription Record
      DELETE
    • Detele Basic Zone Record
      DELETE
  • Zone Forwarding
    • Get Zone Url Forwardings
    • Add Zone Url Forwarding
    • Remove Zone Url Forwarding
    • Get Zone Email Forwardings
    • Add Zone Email Forwarding
    • Remove Zone Email Forwarding
  • Zone DNSSEC
    • Get Domain Zone DNSSEC Info
    • Enable Domain Zone DNSSEC
    • Disable Domain Zone DNSSEC
    • Get Domain Zone DNSSEC DNS Key Record
    • Get Domain Zone DNSSEC DS Record
  • Subscription Whitelabel
    • Get Whitelabel Nameserver
    • Save Whitelabel Nameservers
    • Remove Whitelabel Nameservers
  • Subscription
    • Add Domain Zone to Partner Subscription
      POST
    • Remove Domain Zone from Partner Subscription
      DELETE
    • Subscribe Domain Subscription
      POST
    • Get Domain Subscription
      GET
    • Get Domain Subscription by Id
      GET
    • Get Domain Subscription by Domain Name
      GET
    • Renew Domain Subscription
      PUT
    • Unsubscribe Domain Subscription
      DELETE
    • Enable Domain Subscription Auto Renewal
      PUT
    • Disable Domain Subscription Auto Renewal
      PUT
  • Zone Record Template
    • Get Zone Subscription Record Templates
    • Create Zone Subscription Record Template
    • Get Zone Subscription Record Template by Id
    • Update Zone Subscription Record Template by Id
    • Add Zone Subscription Record to Zone Subscription Record Template
    • Remove Zone Subscription Record from Zone Subscription Record Template
    • Delete Zone Subscription Record Template
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Subscription

Add Domain Zone to Partner Subscription

OTE Environment
https://oteapi.webnic.cc
OTE Environment
https://oteapi.webnic.cc
POST
/dns/v2/subscription/partner/zone/{zone}
Last modified:2025-03-07 09:42:55
This endpoint allows you to add domain zone to partner subscription. Zone usage will be consumed. This endpoint is not applicable for non-WebNIC domain.
Response Data
FieldTypeDescription
zoneStringZone, Domain name
zoneTypeStringZone type
Possible value: "inzone" (WebNIC domain), "outzone" (Non WebNIC domain)
subscriptionStringPartner subscription type
subscriptionIdStringPartner subscription ID
dtcreateStringDate and time when the domain zone was created
dtmodifyStringDate and time when the domain zone was modified
Related Action
ActionURL
Get Domain Subscription{{baseUrl}}/dns/v2/subscription/standalone-domains
Subscribe Domain Subscription{{baseUrl}}/dns/v2/subscription/standalone-domain

Request

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

Responses

🟢200OK
application/json
Body

🟠400Zone Name Invalid
🟠400Domain Zone Not Under Current Partner
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://oteapi.webnic.cc/dns/v2/subscription/partner/zone/ote-nelson.my' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - OK
{
    "code": "1000",
    "message": "Command completed successfully.",
    "data": {
        "zone": "luckytrademe1.com",
        "zoneType": "inzone",
        "subscription": "premium_ns_partner",
        "subscriptionId": "6d901b09-b7bb-45ec-858c-6cb698de830a",
        "dtcreate": "2019-09-03T16:11:15+08:00",
        "dtmodify": "2024-05-16T09:58:49+08:00"
    }
}
Modified at 2025-03-07 09:42:55
Previous
Remove Whitelabel Nameservers
Next
Remove Domain Zone from Partner Subscription
Built with