Custom Domain

Custom Domain AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

The Custom Domain API lets organisation admins add, activate, deactivate and delete the custom domain of the organisation.

Custom Domain lets an organisation serve Cliq from its own domain, for example chat.zylker.com. A CNAME record that points to the parent certificate domain must be configured in DNS before the domain is added or activated.

Use the Custom Domain API to:

  • Retrieve the custom domain of the organisation, with its status, SSL status and the CNAME target.
  • Add a custom domain for the organisation. The CNAME is verified at this step.
  • Activate or deactivate the custom domain. Activation verifies the CNAME again.
  • Delete the custom domain and notify integrated services, for example ZohoOne.

Domain status

StatusDescription
activeThe domain is verified and in use.
inactiveThe domain is added but not verified, or it has been deactivated. Deactivation needs no CNAME check.

Access control: Every operation needs the caller to be an organisation admin or a Cliq super-admin. Other users receive operation_not_allowed.

Download Custom Domain OpenAPI Document
End Points
Add custom domain
Activate or deactivate custom domain
Retrieve custom domain
Delete custom domain

Add custom domain AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Add a custom domain for the organisation. The CNAME record must already point to the parent certificate domain, because the CNAME is verified when the domain is added. Every operation needs the caller to be an organisation admin or a Cliq super-admin.

Threshold limit: 30 requests per min per user
Maximum API calls allowed within the window.

Lock period: 5 minutes
Cooldown period applied after threshold exhaustion.

! Possible Error Codes Click to expand
Error Code Description
invalid_inputs A required field is missing or invalid. The url is empty.
cname_check_failed The CNAME record does not point to the parent certificate domain.
domain_org_id_mismatch The domain is already registered to a different organisation.
operation_not_allowed The user is not an organisation admin or a Cliq super-admin.
rate_limit_exceeded The request rate limit was exceeded. Retry after the lock period.
operation_failed An unexpected server error occurred during the domain operation.
Error Response Format

When an error occurs, the API returns a JSON response in this format:

{"error": {"code": "error_code", "message": "A human-readable description of the error."}}

where code is the error identifier (as listed above) and message is a human-readable explanation of what went wrong.


OAuth Scope : ZohoCliq.Organisation.CREATE

Arguments

url
string
(Required)
Domain name (FQDN) to add. The CNAME must be configured with the parent certificate domain beforehand.
Maximum length: 253
Format: valid domain name

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Bearer REPLACE_BEARER_TOKEN"); response = invokeUrl [ url: "https://cliq.zoho.com/adminapi/v3/customdomain" type: POST headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://cliq.zoho.com/adminapi/v3/customdomain") .post(body) .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Bearer REPLACE_BEARER_TOKEN', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://cliq.zoho.com/adminapi/v3/customdomain', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Bearer REPLACE_BEARER_TOKEN", 'content-type': "application/json" } conn.request("POST", "/adminapi/v3/customdomain", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "cliq.zoho.com", "port": null, "path": "/adminapi/v3/customdomain", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
var client = new RestClient("https://cliq.zoho.com/adminapi/v3/customdomain"); var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "{\"field1\":\"value1\",\"field2\":\"value2\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://cliq.zoho.com/adminapi/v3/customdomain"), Headers = { { "Authorization", "Bearer REPLACE_BEARER_TOKEN" }, }, Content = new StringContent("{\"field1\":\"value1\",\"field2\":\"value2\"}") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "strings" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/adminapi/v3/customdomain" payload := strings.NewReader("{\"field1\":\"value1\",\"field2\":\"value2\"}") req, _ := http.NewRequest("POST", url, payload) req.Header.Add("Authorization", "Bearer REPLACE_BEARER_TOKEN") req.Header.Add("content-type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = JSON.stringify({ "field1": "value1", "field2": "value2" }); const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("POST", "https://cliq.zoho.com/adminapi/v3/customdomain"); xhr.setRequestHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); xhr.setRequestHeader("content-type", "application/json"); xhr.send(data);
curl --request POST \ --url https://cliq.zoho.com/adminapi/v3/customdomain \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "url": "chat.zylker.com" }

Response Example

{ "data": { "url": "chat.zylker.com", "status": "inactive", "ssl_enabled": false } }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The requested resource does not exist." }
{ "message": "The HTTP method used is not supported for this endpoint." }
{ "message": "The requested response format is not supported." }
{ "message": "The number of API requests has exceeded the threshold limit. Retry after the lock period." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }

Activate or deactivate custom domain AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Activate or deactivate the custom domain, or set its IAM verification type. Activation verifies the CNAME record again. Deactivation needs no CNAME check. Every operation needs the caller to be an organisation admin or a Cliq super-admin.

Threshold limit: 30 requests per min per user
Maximum API calls allowed within the window.

Lock period: 5 minutes
Cooldown period applied after threshold exhaustion.

! Possible Error Codes Click to expand
Error Code Description
invalid_inputs A required field is missing or invalid. The status is empty or not supported.
cname_check_failed The CNAME record does not point to the parent certificate domain. Applies when you activate the domain.
custom_domain_not_configured No custom domain exists for the organisation.
operation_not_allowed The user is not an organisation admin or a Cliq super-admin.
rate_limit_exceeded The request rate limit was exceeded. Retry after the lock period.
operation_failed An unexpected server error occurred during the domain operation.
Error Response Format

When an error occurs, the API returns a JSON response in this format:

{"error": {"code": "error_code", "message": "A human-readable description of the error."}}

where code is the error identifier (as listed above) and message is a human-readable explanation of what went wrong.


OAuth Scope : ZohoCliq.Organisation.UPDATE

Arguments

status
string
(Required)
Activate or deactivate the custom domain.
Allowed values
  • active: The domain is verified and in use.
  • inactive: The domain is added but not verified, or it has been deactivated.
verification_type
string
IAM verification type of the custom domain, used when you activate it.
Allowed values
  • txt: Verifies the domain with a TXT record.
  • cname: Verifies the domain with a CNAME record.

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Bearer REPLACE_BEARER_TOKEN"); response = invokeUrl [ url: "https://cliq.zoho.com/adminapi/v3/customdomain" type: PUT headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://cliq.zoho.com/adminapi/v3/customdomain") .put(body) .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Bearer REPLACE_BEARER_TOKEN', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://cliq.zoho.com/adminapi/v3/customdomain', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Bearer REPLACE_BEARER_TOKEN", 'content-type': "application/json" } conn.request("PUT", "/adminapi/v3/customdomain", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "cliq.zoho.com", "port": null, "path": "/adminapi/v3/customdomain", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
var client = new RestClient("https://cliq.zoho.com/adminapi/v3/customdomain"); var request = new RestRequest(Method.PUT); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "{\"field1\":\"value1\",\"field2\":\"value2\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Put, RequestUri = new Uri("https://cliq.zoho.com/adminapi/v3/customdomain"), Headers = { { "Authorization", "Bearer REPLACE_BEARER_TOKEN" }, }, Content = new StringContent("{\"field1\":\"value1\",\"field2\":\"value2\"}") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "strings" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/adminapi/v3/customdomain" payload := strings.NewReader("{\"field1\":\"value1\",\"field2\":\"value2\"}") req, _ := http.NewRequest("PUT", url, payload) req.Header.Add("Authorization", "Bearer REPLACE_BEARER_TOKEN") req.Header.Add("content-type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = JSON.stringify({ "field1": "value1", "field2": "value2" }); const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("PUT", "https://cliq.zoho.com/adminapi/v3/customdomain"); xhr.setRequestHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); xhr.setRequestHeader("content-type", "application/json"); xhr.send(data);
curl --request PUT \ --url https://cliq.zoho.com/adminapi/v3/customdomain \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy
{ "status": "active" }
{ "status": "inactive" }

Response Example

{ "data": { "url": "chat.zylker.com", "status": "active", "ssl_enabled": true } }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The requested resource does not exist." }
{ "message": "The HTTP method used is not supported for this endpoint." }
{ "message": "The requested response format is not supported." }
{ "message": "The number of API requests has exceeded the threshold limit. Retry after the lock period." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }

Retrieve custom domain AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Retrieve the custom domain of the organisation. Returns the current custom domain configuration. The data object is empty when no custom domain is configured. Every operation needs the caller to be an organisation admin or a Cliq super-admin.

Threshold limit: 30 requests per min per user
Maximum API calls allowed within the window.

Lock period: 5 minutes
Cooldown period applied after threshold exhaustion.

! Possible Error Codes Click to expand
Error Code Description
operation_not_allowed The user is not an organisation admin or a Cliq super-admin.
rate_limit_exceeded The request rate limit was exceeded. Retry after the lock period.
operation_failed An unexpected server error occurred during the domain operation.
Error Response Format

When an error occurs, the API returns a JSON response in this format:

{"error": {"code": "error_code", "message": "A human-readable description of the error."}}

where code is the error identifier (as listed above) and message is a human-readable explanation of what went wrong.


OAuth Scope : ZohoCliq.Organisation.READ

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Bearer REPLACE_BEARER_TOKEN"); response = invokeUrl [ url: "https://cliq.zoho.com/adminapi/v3/customdomain" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://cliq.zoho.com/adminapi/v3/customdomain") .get() .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .build(); Response response = client.newCall(request).execute();
const options = {method: 'GET', headers: {Authorization: 'Bearer REPLACE_BEARER_TOKEN'}}; fetch('https://cliq.zoho.com/adminapi/v3/customdomain', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") headers = { 'Authorization': "Bearer REPLACE_BEARER_TOKEN" } conn.request("GET", "/adminapi/v3/customdomain", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "cliq.zoho.com", "port": null, "path": "/adminapi/v3/customdomain", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
var client = new RestClient("https://cliq.zoho.com/adminapi/v3/customdomain"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Get, RequestUri = new Uri("https://cliq.zoho.com/adminapi/v3/customdomain"), Headers = { { "Authorization", "Bearer REPLACE_BEARER_TOKEN" }, }, }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/adminapi/v3/customdomain" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer REPLACE_BEARER_TOKEN") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = null; const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("GET", "https://cliq.zoho.com/adminapi/v3/customdomain"); xhr.setRequestHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); xhr.send(data);
curl --request GET \ --url https://cliq.zoho.com/adminapi/v3/customdomain \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'

Response Example

{ "url": "https://cliq.zoho.com/adminapi/v3/customdomain", "data": { "url": "chat.zylker.com", "status": "active", "ssl_enabled": true, "parent_certificate_domain": "cliq.zoho.com" } }
{ "url": "https://cliq.zoho.com/adminapi/v3/customdomain", "data": {...} }
{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The requested resource does not exist." }
{ "message": "The HTTP method used is not supported for this endpoint." }
{ "message": "The requested response format is not supported." }
{ "message": "The number of API requests has exceeded the threshold limit. Retry after the lock period." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }

Delete custom domain AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Delete the custom domain of the organisation. Deletes the custom domain permanently and notifies integrated services, for example ZohoOne. Every operation needs the caller to be an organisation admin or a Cliq super-admin.

Threshold limit: 30 requests per min per user
Maximum API calls allowed within the window.

Lock period: 5 minutes
Cooldown period applied after threshold exhaustion.

! Possible Error Codes Click to expand
Error Code Description
operation_not_allowed The user is not an organisation admin or a Cliq super-admin.
rate_limit_exceeded The request rate limit was exceeded. Retry after the lock period.
operation_failed An unexpected server error occurred during the domain operation.
Error Response Format

When an error occurs, the API returns a JSON response in this format:

{"error": {"code": "error_code", "message": "A human-readable description of the error."}}

where code is the error identifier (as listed above) and message is a human-readable explanation of what went wrong.


OAuth Scope : ZohoCliq.Organisation.DELETE

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Bearer REPLACE_BEARER_TOKEN"); response = invokeUrl [ url: "https://cliq.zoho.com/adminapi/v3/customdomain" type: DELETE headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://cliq.zoho.com/adminapi/v3/customdomain") .delete(null) .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .build(); Response response = client.newCall(request).execute();
const options = {method: 'DELETE', headers: {Authorization: 'Bearer REPLACE_BEARER_TOKEN'}}; fetch('https://cliq.zoho.com/adminapi/v3/customdomain', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") headers = { 'Authorization': "Bearer REPLACE_BEARER_TOKEN" } conn.request("DELETE", "/adminapi/v3/customdomain", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "DELETE", "hostname": "cliq.zoho.com", "port": null, "path": "/adminapi/v3/customdomain", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
var client = new RestClient("https://cliq.zoho.com/adminapi/v3/customdomain"); var request = new RestRequest(Method.DELETE); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Delete, RequestUri = new Uri("https://cliq.zoho.com/adminapi/v3/customdomain"), Headers = { { "Authorization", "Bearer REPLACE_BEARER_TOKEN" }, }, }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/adminapi/v3/customdomain" req, _ := http.NewRequest("DELETE", url, nil) req.Header.Add("Authorization", "Bearer REPLACE_BEARER_TOKEN") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = null; const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("DELETE", "https://cliq.zoho.com/adminapi/v3/customdomain"); xhr.setRequestHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); xhr.send(data);
curl --request DELETE \ --url https://cliq.zoho.com/adminapi/v3/customdomain \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'

Response Example

{ "message": "The request cannot be performed. Usually because of malformed parameter or missing parameter." }
{ "message": "Request was rejected because of invalid AuthToken." }
{ "message": "The user does not have enough permission or possibly not an user of the respective organization to access the resource." }
{ "message": "The requested resource does not exist." }
{ "message": "The HTTP method used is not supported for this endpoint." }
{ "message": "The requested response format is not supported." }
{ "message": "The number of API requests has exceeded the threshold limit. Retry after the lock period." }
{ "message": "Cliq server encountered an error which prevents it from fulfilling the request." }