Domains
The following endpoints allow you to view and manage your partner domains.
API key generated in Clym Partner Portal.
Search by hostname, domain ID, or property ID
Retrieve a specific domain by ID
Filter by domain status
Filter by active/inactive domains
Filter by domain creation source
Filter by script management status
Filter by Data Subject Request functionality
Filter by legal documents display
Filter by accessibility functionality
Filter by company information display
Filter by DPO information display
Search by company trade name
Filter by company ID number
Filter by instance company ID
Filter by instance property ID
Filter by instance ID
Filter by widget version
Filter by product ID(s)
Filter by price list ID
Filter by merchant ID
Filter by subscription status
Filter by active subscriptions
Filter domains with/without subscriptions
Filter by referral partner ID
Filter domains created after this date
Filter domains created before this date
Filter domains activated after this date
Filter domains activated before this date
Page number
1Results per page
10An array with all partner domains
GET /api/portal/domains HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
An array with all partner domains
{
"meta": {
"current_page": 1,
"next_page": 1,
"prev_page": 1
},
"result": [
{
"id": "1f19dbcbc7b84be5b40ffcc4ya0zqbtr",
"hostname": "mycompany.com",
"status": "NEW",
"instance_property_id": "7a56a154e6d242d796b9afdfx4clzjrg",
"instance_company_id": "57cb7126dbbe4320b8c30be7uh1tj7h7",
"updated_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z",
"activated_at": "2026-01-01T00:00:00.000Z",
"is_active": true,
"email": "john@mycompany.com",
"company_trade_name": "My Company Inc",
"company_id_number": "333000",
"has_scripts": true,
"has_dsar": true,
"has_docs": true,
"has_accessibility": true,
"display_company": true,
"display_dpo": true,
"has_clym_logo": true,
"widget_version": 1,
"instance_id": 1,
"system_segment_id": 1,
"default_notice_type": "CLASSIC",
"source": "API",
"partner_id": "ac276ff57f9b4d2196c28927gxh25xx6",
"privacy_widget": "<script>\nwindow._clymInit=window._clymInit||[];\nwindow._clymInit.push(['privacy','YOUR_PROPERTY_ID',{}]);\n</script>\n<script src='https://widget.clym-sdk.net/blocking.js'></script>\n<script src='https://widget.clym-sdk.net/clym.js' async></script>\n",
"privacy_center_link": "<a href=\"#\" onclick=\"Clym.showWidget();\">Privacy Center</a>\n",
"privacy_dnt_link": "<a href=\"#\" onclick=\"Clym.showWidget('/requests/new/do_not_sell_my_information');\">Do not sell my personal information</a>\n",
"merchants": [
"text"
],
"instance": {
"id": 1,
"name": "text",
"hostname": "text"
},
"property": {
"id": "7a56a154e6d242d796b9afdfx4clzjrg",
"name": "mycompany.com",
"company": {
"id": "57cb7126dbbe4320b8c30be7uh1tj7h7",
"name": "My Company Inc",
"email": "john@mycompany.com",
"address": {
"country": "US",
"city": "Stuart",
"address": "950 S Kanner Hwy Apt 401",
"postal_code": "34994",
"phone_number": "+1 980 446 8535"
},
"owner": {
"id": "2c2d74241aff420a87f9f6dapr5mkaok",
"email": "john@mycompany.com",
"first_name": "John",
"last_name": "Doe"
}
}
},
"subscription": {
"id": "text",
"status": "NEW",
"start_date": "2026-01-01T00:00:00.000Z",
"end_date": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z",
"price": {
"id": 1,
"frequency": "MONTH",
"currency": {
"id": "text",
"name": "text"
},
"price_amount": 1,
"price_list": {
"id": 1,
"type": "text",
"code": "text"
},
"product": {
"id": 1,
"type": "text",
"name": "text"
}
}
}
}
]
}API key generated in Clym Partner Portal.
The domain to be registered
mycompany.comThe billing product code for this domain. Available under /products
BASEThe billing price list code for this domain
RESELLERThe company legal name
My Company IncThe company trade name if different from the company (legal) name
My CompanyInternal company ID number
333000When set to true, a new company will be created and company_name will not be used as company uniqueness
falseThe email account of the domain owner. This email address will be used for all transactional emails (including onboarding emails).
john@mycompany.comThe first name of the individual owning the domain
JohnThe last name of the individual owning the domain
DoeThe phone number of the individual owning the domain
19804468535Company VAT number
GB493049Company registration number
49434993Company country code in ISO 3166-1 alpha-2
USCompany state code in ISO 3166-1 alpha-2
FLCompany city
StuartCompany address
950 S Kanner Hwy Apt 401Secondary address line
Suite 200Company postal code
34994Domain primary color in hex format
#c3c3c3Optional, when disabled, the widget will not handle any kind of consent/cookie management and will not block any scripts.
trueExample: trueOptional, when disabled, the widget will not allow any Data Subject Request creation
trueExample: trueOptional, when disabled, the widget will not display any legal documents
trueExample: falseOptional, when disabled, the widget will not have any accessibility functionality enabled.
trueExample: trueOptional, when disabled, the DPO information in the widget will be hidden
trueExample: trueOptional, when disabled, the Company tab in the widget will be hidden
trueExample: falseOptional, if specified, additional subdomains to be created to the property
Optional default widget notification type to be used by the widget
Determine if the system will send the customized email or not
falseCREATE_SILENTPossible values: The merchant id to be assigned to this domain
1111111The ID of the partner who referred this domain
ac276ff57f9b4d2196c28927gxh25xx6Company criteria identifiers
Business sector identifier
7a56a154e6d242d796b9afdfx4clzjrgIndustry classification identifier
8b67b265f7e353e8a7cabeeg5emak8shDomain added to the partner account
1f19dbcbc7b84be5b40ffcc4ya0zqbtrmycompany.com7a56a154e6d242d796b9afdfx4clzjrg57cb7126dbbe4320b8c30be7uh1tj7h7john@mycompany.comMy Company Inc333000truetruefalsetruefalsetrueCLASSICPossible values: APIPossible values: ac276ff57f9b4d2196c28927gxh25xx6Privacy widget script tag to embed on the domain page.
<script> window._clymInit=window._clymInit||[]; window._clymInit.push(['privacy','YOUR_PROPERTY_ID',{}]); </script> <script src='https://widget.clym-sdk.net/blocking.js'></script> <script src='https://widget.clym-sdk.net/clym.js' async></script>Footer link to open privacy widget
<a href="#" onclick="Clym.showWidget();">Privacy Center</a>Footer link to open data subject requests on privacy widget
<a href="#" onclick="Clym.showWidget('/requests/new/do_not_sell_my_information');">Do not sell my personal information</a>POST /api/portal/domains HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 943
{
"domain": "mycompany.com",
"product": "BASE",
"price_list": "RESELLER",
"company_name": "My Company Inc",
"company_trade_name": "My Company",
"company_id_number": "333000",
"company_setup": false,
"account_email": "john@mycompany.com",
"account_first_name": "John",
"account_last_name": "Doe",
"phone_number": 19804468535,
"vat_number": "GB493049",
"registration_number": "49434993",
"country": "US",
"state": "FL",
"city": "Stuart",
"address": "950 S Kanner Hwy Apt 401",
"address_2": "Suite 200",
"postal_code": "34994",
"primary_color": "#c3c3c3",
"has_scripts": true,
"has_dsar": true,
"has_docs": false,
"has_accessibility": true,
"display_dpo": true,
"display_company": false,
"subdomains": [
"https://example.com"
],
"default_notice_type": "CLASSIC",
"send_intro": false,
"action": "CREATE_SILENT",
"merchant_id": "1111111",
"referral_partner_id": "ac276ff57f9b4d2196c28927gxh25xx6",
"criterias": [
"text"
],
"sector_id": "7a56a154e6d242d796b9afdfx4clzjrg",
"industry_id": "8b67b265f7e353e8a7cabeeg5emak8sh"
}Domain added to the partner account
{
"id": "1f19dbcbc7b84be5b40ffcc4ya0zqbtr",
"hostname": "mycompany.com",
"status": "NEW",
"instance_property_id": "7a56a154e6d242d796b9afdfx4clzjrg",
"instance_company_id": "57cb7126dbbe4320b8c30be7uh1tj7h7",
"updated_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z",
"is_active": true,
"email": "john@mycompany.com",
"company_trade_name": "My Company Inc",
"company_id_number": "333000",
"has_scripts": true,
"has_dsar": true,
"has_docs": false,
"has_accessibility": true,
"display_company": false,
"display_dpo": true,
"default_notice_type": "CLASSIC",
"source": "API",
"partner_id": "ac276ff57f9b4d2196c28927gxh25xx6",
"privacy_widget": "<script>\nwindow._clymInit=window._clymInit||[];\nwindow._clymInit.push(['privacy','YOUR_PROPERTY_ID',{}]);\n</script>\n<script src='https://widget.clym-sdk.net/blocking.js'></script>\n<script src='https://widget.clym-sdk.net/clym.js' async></script>\n",
"privacy_center_link": "<a href=\"#\" onclick=\"Clym.showWidget();\">Privacy Center</a>\n",
"privacy_dnt_link": "<a href=\"#\" onclick=\"Clym.showWidget('/requests/new/do_not_sell_my_information');\">Do not sell my personal information</a>\n"
}API key generated in Clym Partner Portal.
Domain id
The partner domain information
The domain representation
1f19dbcbc7b84be5b40ffcc4ya0zqbtrmycompany.com7a56a154e6d242d796b9afdfx4clzjrg57cb7126dbbe4320b8c30be7uh1tj7h7john@mycompany.comMy Company Inc333000ac276ff57f9b4d2196c28927gxh25xx6Privacy widget script tag to embed on the domain page.
<script> window._clymInit=window._clymInit||[]; window._clymInit.push(['privacy','YOUR_PROPERTY_ID',{}]); </script> <script src='https://widget.clym-sdk.net/blocking.js'></script> <script src='https://widget.clym-sdk.net/clym.js' async></script>Footer link to open privacy widget
<a href="#" onclick="Clym.showWidget();">Privacy Center</a>Footer link to open data subject requests on privacy widget
<a href="#" onclick="Clym.showWidget('/requests/new/do_not_sell_my_information');">Do not sell my personal information</a>An array of merchant ids associated with this domain
GET /api/portal/domains/{domainId} HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
The partner domain information
{
"id": "1f19dbcbc7b84be5b40ffcc4ya0zqbtr",
"hostname": "mycompany.com",
"status": "NEW",
"instance_property_id": "7a56a154e6d242d796b9afdfx4clzjrg",
"instance_company_id": "57cb7126dbbe4320b8c30be7uh1tj7h7",
"updated_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z",
"activated_at": "2026-01-01T00:00:00.000Z",
"is_active": true,
"email": "john@mycompany.com",
"company_trade_name": "My Company Inc",
"company_id_number": "333000",
"has_scripts": true,
"has_dsar": true,
"has_docs": true,
"has_accessibility": true,
"display_company": true,
"display_dpo": true,
"has_clym_logo": true,
"widget_version": 1,
"instance_id": 1,
"system_segment_id": 1,
"default_notice_type": "CLASSIC",
"source": "API",
"partner_id": "ac276ff57f9b4d2196c28927gxh25xx6",
"privacy_widget": "<script>\nwindow._clymInit=window._clymInit||[];\nwindow._clymInit.push(['privacy','YOUR_PROPERTY_ID',{}]);\n</script>\n<script src='https://widget.clym-sdk.net/blocking.js'></script>\n<script src='https://widget.clym-sdk.net/clym.js' async></script>\n",
"privacy_center_link": "<a href=\"#\" onclick=\"Clym.showWidget();\">Privacy Center</a>\n",
"privacy_dnt_link": "<a href=\"#\" onclick=\"Clym.showWidget('/requests/new/do_not_sell_my_information');\">Do not sell my personal information</a>\n",
"merchants": [
"text"
],
"instance": {
"id": 1,
"name": "text",
"hostname": "text"
},
"property": {
"id": "7a56a154e6d242d796b9afdfx4clzjrg",
"name": "mycompany.com",
"company": {
"id": "57cb7126dbbe4320b8c30be7uh1tj7h7",
"name": "My Company Inc",
"email": "john@mycompany.com",
"address": {
"country": "US",
"city": "Stuart",
"address": "950 S Kanner Hwy Apt 401",
"postal_code": "34994",
"phone_number": "+1 980 446 8535"
},
"owner": {
"id": "2c2d74241aff420a87f9f6dapr5mkaok",
"email": "john@mycompany.com",
"first_name": "John",
"last_name": "Doe"
}
}
},
"subscription": {
"id": "text",
"status": "NEW",
"start_date": "2026-01-01T00:00:00.000Z",
"end_date": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z",
"price": {
"id": 1,
"frequency": "MONTH",
"currency": {
"id": "text",
"name": "text"
},
"price_amount": 1,
"price_list": {
"id": 1,
"type": "text",
"code": "text"
},
"product": {
"id": 1,
"type": "text",
"name": "text"
}
}
}
}API key generated in Clym Partner Portal.
Domain id
The company legal name
My Company IncThe company trade name if different from the company (legal) name
My CompanyInternal company ID number
333000Company country code in ISO 3166-1 alpha-2
USCompany state code in ISO 3166-1 alpha-2
FLCompany city
StuartCompany address
Secondary address line
950 S Kanner Hwy Apt 401Company postal code
34994Domain primary color
#c3c3c3Optional, when disabled, the widget will not handle any kind of consent/cookie management and will not block any scripts.
trueOptional, when disabled, the widget will not allow any Data Subject Request creation
trueOptional, when disabled, the widget will not display any legal documents
falseOptional, when disabled, the widget will not have any accessibility functionality enabled.
trueOptional, when disabled, the DPO information in the widget will be hidden
trueOptional, when disabled, the Company tab in the widget will be hidden
falseOptional default widget notification type to be used by the widget
Acknowledgement that request was successful.
PUT /api/portal/domains/{domainId} HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 396
{
"company_name": "My Company Inc",
"company_trade_name": "My Company",
"company_id_number": "333000",
"country": "US",
"state": "FL",
"city": "Stuart",
"address": "text",
"address_2": "950 S Kanner Hwy Apt 401",
"postal_code": "34994",
"primary_color": "#c3c3c3",
"has_scripts": true,
"has_dsar": true,
"has_docs": false,
"has_accessibility": true,
"display_dpo": true,
"display_company": false,
"default_notice_type": "CLASSIC"
}Acknowledgement that request was successful.
{
"result": {
"id": "text"
}
}API key generated in Clym Partner Portal.
Domain id
Domain deletion confirmation
DELETE /api/portal/domains/{domainId} HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Domain deletion confirmation
{
"result": {
"deleted": true
}
}API key generated in Clym Partner Portal.
Domain id
Acknowledgement that request was successful.
POST /api/portal/domains/{domainId}/deactivate HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Acknowledgement that request was successful.
{
"result": {}
}API key generated in Clym Partner Portal.
Domain id
Acknowledgement that request was successful.
POST /api/portal/domains/{domainId}/activate HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Acknowledgement that request was successful.
{
"result": {}
}API key generated in Clym Partner Portal.
Domain id
Determine if the system will send the customized intro email or not.
Acknowledgement that request was successful.
POST /api/portal/domains/{domainId}/invite HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"send_intro": true
}Acknowledgement that request was successful.
{
"result": {}
}API key generated in Clym Partner Portal.
Domain id
A list of the domain's subdomains
GET /api/portal/domains/{domainId}/subdomains HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
A list of the domain's subdomains
{
"result": [
{
"id": "a9a678b195ff46bb865c3b1ec6wbbta8",
"hostname": "shop.andona.com",
"instance_domain_id": "b23cf02ffbe14a79bf543a845umpk5vj",
"updated_at": "2023-02-18T14:57:58.000Z",
"created_at": "2023-02-18T14:57:58.000Z",
"domain_id": "2634b4d4183947cf95c99d99axwau9h8",
"instance_id": "1"
}
]
}API key generated in Clym Partner Portal.
Domain id
The full hostname of the subdomain to be added
Acknowledgement that request was successful.
Subdomain of a domain.
a9a678b195ff46bb865c3b1ec6wbbta8shop.andona.comb23cf02ffbe14a79bf543a845umpk5vj2023-02-18T14:57:58.000Z2023-02-18T14:57:58.000Z2634b4d4183947cf95c99d99axwau9h81POST /api/portal/domains/{domainId}/subdomains HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"subdomain": "https://example.com"
}Acknowledgement that request was successful.
{
"id": "a9a678b195ff46bb865c3b1ec6wbbta8",
"hostname": "shop.andona.com",
"instance_domain_id": "b23cf02ffbe14a79bf543a845umpk5vj",
"updated_at": "2023-02-18T14:57:58.000Z",
"created_at": "2023-02-18T14:57:58.000Z",
"domain_id": "2634b4d4183947cf95c99d99axwau9h8",
"instance_id": "1"
}API key generated in Clym Partner Portal.
Domain id
The previously-created subdomain hostname
Acknowledgement that request was successful.
DELETE /api/portal/domains/{domainId}/subdomains/{subdomain} HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Acknowledgement that request was successful.
{
"result": {
"deleted": true
}
}API key generated in Clym Partner Portal.
Domain id
The target product code, available in the /products section
The target price list code, available in the /products section
Subscription product change acknowledgement
POST /api/portal/domains/{domainId}/subscription/product HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"product": "text",
"price_list": "text"
}Subscription product change acknowledgement
{
"result": {
"changed": true
}
}API key generated in Clym Partner Portal.
Subscription product change acknowledgement
POST /api/portal/domains/bulk/subscription/product HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 62
{
"domains": {
"id": "text",
"product": "text",
"price_list": "text"
}
}Subscription product change acknowledgement
{
"result": {
"changed": [
{
"domain_id": "text",
"changed": true
}
],
"failed": [
{
"domain_id": "text",
"error": {
"code": "DATA.INVALID_NAME",
"ns": "DATA",
"message": "text",
"status": 400,
"data": {}
}
}
]
}
}Last updated

