Company
The following endpoints allow you to view and manage the company information attached to the specified merchant/domain.
Retrieves information about the current company
Either a merchant ID or a domain ID is required
The company information
GET /api/portal/instance/company HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
The company information
{
"result": {
"id": "text",
"name": "text",
"email": "[email protected]",
"primary_color": "#c3c3c3",
"country_id": "US",
"state_id": "DE",
"industry_id": 2,
"sector_id": 1,
"criterias": [
1
],
"vat_number": "text",
"registration_number": "text",
"logo_url": "https://example.com",
"logo_light_url": "https://example.com",
"default_language": {
"id": "text",
"code": "EN",
"name": "English"
},
"contact_information": {
"email": "[email protected]",
"phone_number": 40741222333,
"fax_number": 40741222333
},
"offices": [
{
"is_main": true,
"id": 1,
"name": "text",
"address": {
"id": "text",
"country": "RO",
"state": "text",
"address": "text",
"address_2": "text",
"postal_code": "text",
"phone_number": 40755111222
}
}
],
"representatives": [
{
"id": "text",
"type": "PERSON",
"email": "[email protected]",
"company_name": "text",
"first_name": "text",
"last_name": "text",
"position": "text",
"description": "text",
"avatar_url": "https://example.com",
"category": "text",
"jurisdiction": [
"text"
],
"address": {
"id": "text",
"country": "RO",
"state": "text",
"address": "text",
"address_2": "text",
"postal_code": "text",
"phone_number": 40755111222
},
"created_at": "2025-08-22T17:21:14.833Z"
}
],
"bank_accounts": [
{
"id": 1,
"name": "text",
"account_number": "text"
}
]
}
}
Change company information and settings
The new company name
The new company email
The new default language for the company
RO
The new company VAT number
The new company registration number
The hex-encoded color to be applied for this company
#c3c3c3
The ISO-3166 Alpha-2 country code for this company, available via the /company/countries API call
US
The state code for the company, if applied, available via the /company/countries API call
DE
The company's industry, available via the /company/industries API call
2
The company's sector, available via the /company/sectors API call
The company's custom criteria groups, available via the /company/criteria-groups API call
A previously-uploaded image id that will act as the company's logo image on dark background
155e178a582341ffba1a57f66on1col4.3d07ab5....
A previously-uploaded image id that will act as the company's logo image on light background
155e178a582341ffba1a57f66on1col4.3d07ab5....
Company information updated
PUT /api/portal/instance/company HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 683
{
"name": "text",
"email": "[email protected]",
"lang": "RO",
"vat_number": "text",
"registration_number": "text",
"primary_color": "#c3c3c3",
"country_id": "US",
"state_id": "DE",
"industry_id": 2,
"sector_id": 1,
"criterias": [
1
],
"logo_url": "155e178a582341ffba1a57f66on1col4.3d07ab5....",
"logo_light_url": "155e178a582341ffba1a57f66on1col4.3d07ab5....",
"offices": [
{
"is_main": true,
"id": 1,
"name": "text",
"address": {
"id": "text",
"country": "RO",
"state": "text",
"address": "text",
"address_2": "text",
"postal_code": "text",
"phone_number": 40755111222
}
}
],
"bank_accounts": [
{
"id": 1,
"name": "text",
"account_number": "text"
}
],
"contact_information": {
"email": "[email protected]",
"phone_number": 40741222333,
"fax_number": 40741222333
}
}
Company information updated
{}
This API endpoint is used when you want to upload a logo image to the company. This will generate a signed upload URL you can use.
Either a merchant ID or a domain ID is required
The type of asset you want to prepare the upload for
The mime type of the image you want to upload
image/png
Result with an upload URL you can use
POST /api/portal/instance/company/sign-asset HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"type": "logo_light",
"mime": "image/png"
}
Result with an upload URL you can use
{
"result": {
"url": "https://eu1.clym.io/api/u/CPK6....."
}
}
This API endpoint is used when you want to remove a previously uploaded asset from the company.
Either a merchant ID or a domain ID is required
Request completed successfully
DELETE /api/portal/instance/company/image/{type} HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Request completed successfully
{
"result": {}
}
Create a new company-level representative
Either a merchant ID or a domain ID is required
The representative form
The type of representative to configure
The representative category
The company name if the representative is an organization
The person's first name if the representative is a person
The person's last name if the representative is a person
The representative's position within the company
A short representative description
The representative's email address
The representative's 2-letter country code
The representative's state
The representative's city
The representative's address
The representative's address 2
The representative's postal code
The representative's phone number
A previously signed and uploaded asset id
Result with the representative information
POST /api/portal/instance/company/representatives HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 326
{
"type": "PERSON",
"category": "DPO",
"company_name": "text",
"first_name": "text",
"last_name": "text",
"position": "text",
"description": "text",
"email": "[email protected]",
"jurisdiction": [
"UK"
],
"country": "text",
"state": "text",
"city": "text",
"address": "text",
"address_2": "text",
"postal_code": "text",
"phone_number": "text",
"avatar_url": "text"
}
Result with the representative information
{
"result": {
"id": "text",
"type": "PERSON",
"email": "[email protected]",
"company_name": "text",
"first_name": "text",
"last_name": "text",
"position": "text",
"description": "text",
"avatar_url": "https://example.com",
"category": "text",
"jurisdiction": [
"text"
],
"address": {
"id": "text",
"country": "RO",
"state": "text",
"address": "text",
"address_2": "text",
"postal_code": "text",
"phone_number": 40755111222
},
"created_at": "2025-08-22T17:21:14.833Z"
}
}
Update a previously created company-level representative
The representative id
Either a merchant ID or a domain ID is required
The representative form
The type of representative to configure
The representative category
The company name if the representative is an organization
The person's first name if the representative is a person
The person's last name if the representative is a person
The representative's position within the company
A short representative description
The representative's email address
The representative's 2-letter country code
The representative's state
The representative's city
The representative's address
The representative's address 2
The representative's postal code
The representative's phone number
A previously signed and uploaded asset id
Result with the DPO information
PUT /api/portal/instance/company/representatives/{id} HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 326
{
"type": "PERSON",
"category": "DPO",
"company_name": "text",
"first_name": "text",
"last_name": "text",
"position": "text",
"description": "text",
"email": "[email protected]",
"jurisdiction": [
"UK"
],
"country": "text",
"state": "text",
"city": "text",
"address": "text",
"address_2": "text",
"postal_code": "text",
"phone_number": "text",
"avatar_url": "text"
}
Result with the DPO information
{
"result": {
"id": "text",
"type": "PERSON",
"email": "[email protected]",
"company_name": "text",
"first_name": "text",
"last_name": "text",
"position": "text",
"description": "text",
"avatar_url": "https://example.com",
"category": "text",
"jurisdiction": [
"text"
],
"address": {
"id": "text",
"country": "RO",
"state": "text",
"address": "text",
"address_2": "text",
"postal_code": "text",
"phone_number": 40755111222
},
"created_at": "2025-08-22T17:21:14.833Z"
}
}
Deletes a previously created company-level representative
The representative id
Either a merchant ID or a domain ID is required
Result with the DPO information
DELETE /api/portal/instance/company/representatives/{id} HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Result with the DPO information
{
"result": {
"deleted": true
}
}
This API endpoint is used when you want to upload a profile image to the representative. This will generate a signed upload URL you can use.
Either a merchant ID or a domain ID is required
The mime type of the image you want to upload
image/png
Result with an upload URL you can use
POST /api/portal/instance/company/representatives/sign-asset HTTP/1.1
Host: partners.clym.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"mime": "image/png"
}
Result with an upload URL you can use
{
"result": {
"url": "https://eu1.clym.io/api/u/CPK6....."
}
}
Last updated