v1

latestOpenAPI 3.0.32026-07-1419076.2 KB

Create Domain

This endpoint creates a new domain and associates it with the client.

post/domains

Request body

namestring required

The name used to easily identify the domain. Allowed values are between 2 and 255 characters.

statusstring required

The status of the domain. Allowed values are active and inactive.

urlstring required

The URL (without schema) used by the domain.

default_root_urlstring

The default URL (schema required) to be used as a redirect when the root URL is visited.

default_catchall_urlstring

The default URL (schema required) to be used as a catchall redirect when an unknown URL is visited.

Response

201

Example response

{
  "data": {
    "name": "seebot.test",
    "url": "seebot.test",
    "status": "active",
    "scope": "client",
    "id": 1000
  }
}