experimental

Create a subname

Initiates the creation of a subname. The subname request is added to a processing queue and will be created asynchronously, typically within a few seconds. Note: A successful response from this API does not guarantee that the subname has been created yet. To check the status of the subname, use the get subname API or resolve the name directly on Sui.

post/v1/subnames

Request

  • Base URL
    http://api.enoki.mystenlabs.com
  • Auth
    HTTP bearer

Headers

zklogin-jwtstring

The JWT of the user signed in with zkLogin.

Request body

domainstring required

The domain name to create the subname under.

network'testnet' | 'mainnet'

The network the domain and subname are registered on.

subnamestring required

The subname to create.

targetAddressstring

The address the new subname will resolve to

Response

Successful response

Example response

{
  "data": {
    "createdAt": "2025-08-06T14:30:00.000Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.