Create domain

In this example we will see how to create a custom domain with settings and prefixes.

Follow these steps to create custom doamin:

  1. Get API Key. how to get the key?

  2. Use the following method from our API Create domain

After creation, you need to confirm the domain name. To learn how to do this, see this tutorial

Example of successful execution of a request:

{
    "id": "6683a91b19erd56a69f71697",
    "domain": "some.com",
    "useTls": false,
    "approved": false,
    "prioritized": false,
    "linkEnabled": true,
    "prefix": "/some/prefix/"
}

Last updated