Generate a new domain
Generates a new domain name that is not in use by any brand. The domain name will be a random alphanumeric string and will be available in the system.
Header parameters
Brand-URLstringRequiredExample:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Responses
200
The request was successful.
application/json
429
The user has exceeded the rate limit.
application/json
get
GET /api/v1/brands/generate-domain HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Accept: */*
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"rootDomain": "jframework.io",
"subDomain": "dev-p0zhsi9",
"fullDomain": "dev-p0zhsi9.jframework.io"
},
"errors": []
}
Last updated
Was this helpful?