Download OpenAPI specification:Download
Sets the API Key status for the specified token.
true — activates the API Keyfalse — deactivates the API Key| id required | integer <int32> Example: id=1 API Key ID number |
| status required | boolean Example: status=true API Key status: |
Update company data
| id | integer <int32> Example: "12" |
| companyName | string Example: "Company Name" |
| registrationNumber | string Example: "43603066828" |
| taxId | string Example: "LV43603066828" |
string Example: "user.company@server.com" | |
| fullName | string Example: "User Name" |
| phone | string Example: "26543212" |
| registrationCountry | string Example: "Latvia" |
| address | string Example: "Street name str. 12-44" |
| city | string Example: "Riga" |
| zip | string Example: "LV-1001" |
| activeProfile | string Example: "Company Name" |
| pricingPlan | string Example: "Entry" |
{- "id": 12,
- "companyName": "Company Name",
- "registrationNumber": 43603066828,
- "taxId": "LV43603066828",
- "email": "user.company@server.com",
- "fullName": "User Name",
- "phone": 26543212,
- "registrationCountry": "Latvia",
- "address": "Street name str. 12-44",
- "city": "Riga",
- "zip": "LV-1001",
- "activeProfile": "Company Name",
- "pricingPlan": "Entry"
}Returns a list of company names that contain the specified substring. The search is case-insensitive and can be used for autocomplete or company lookup features.
| companyName required | string Example: companyName=trus Partial or full company name to search for |
"string"Sets the certificate status for the specified company.
true — activates the certificate (initiates the signing process)false — deactivates the certificate (terminates or disables the certificate)| company required | string Example: TrustLynx Company name |
| status required | boolean Example: true Certificate status: |
Returns the number of documents signed by the company during the specified month.
The month parameter must be provided in the format "Month YYYY", for example, "November 2025".
This endpoint is used to display monthly signing statistics in the management dashboard.
| companyName required | string Example: companyName=Acme Corp The name of the company for which to retrieve the signed document count. The search is case-insensitive and can be full. |
| month required | string Example: month=November 2025 Month and year for which to retrieve the signed document count. Format: 'Month YYYY' (e.g., 'November 2025'). |
"string"Delete by company ID
| id required | string <uuid> Example: 5 Company ID |
{- "uuid": "cca7e202-78c6-4899-a0e3-66ec7ce3d5be",
- "company": {
- "id": 1,
- "companyName": "Company Name",
- "taxId": "LV40003012345",
- "registrationNumber": 1234567890,
- "email": "test@domain.com",
- "fullName": "Name Surname",
- "phone": "+37122912321",
- "registrationCountry": "Latvia",
- "address": "Street Name 15",
- "city": "Riga",
- "zip": "LV-1035",
- "activeProfile": "DEMOCOMPANY",
- "certificateType": "QUALIFIED",
- "pricingPlan": "Entry",
- "haveCertificate": false,
- "secret": ":]f>G3&by@",
- "previousMonth": "October",
- "currentMonth": "November",
- "signingCountPreviousMonth": 25,
- "signingCountCurrentMonth": 7,
- "certificateStartDate": "15.10.2025",
- "certificateExpireDate": "15.10.2026",
- "certificateUploaded": true
}, - "profiles": [
- {
- "id": 1,
- "profileName": "DEMOCOMPANY",
- "tokenId": "DEMOCOMPANY_TOKEN",
- "pdfSigningSigner": "string"
}
], - "storedDocuments": {
- "confirmationDocument": "string",
- "authorizedDocument": "string",
- "companyLogo": "string",
- "certificate": "string",
- "authCsr": "string",
- "signCsr": "string"
}
}Registers a new company in the system
Details of the verification data
| sessionId | string Example: "be945409-864b-4ba8-8b88-76bf9827af20" |
| code | string Example: "348774" |
{- "sessionId": "be945409-864b-4ba8-8b88-76bf9827af20",
- "code": 348774
}Resends the verification code to the user for completing the registration process
| sessionId | string Example: "be945409-864b-4ba8-8b88-76bf9827af20" |
| code | string Example: "348774" |
{- "sessionId": "be945409-864b-4ba8-8b88-76bf9827af20",
- "code": 348774
}Start registers a new company in the system
Details of the company to be registered
| fullName | string Example: "Name Surname" |
| companyName | string Example: "Company Name" |
| taxId | string Example: "LV40003012345" |
| registrationNumber | string Example: "1234567890" |
| address | string Example: "Street Name 15" |
| city | string Example: "Riga" |
| zip | string Example: "LV-1035" |
| registrationCountry | string Example: "Latvia" |
string Example: "test@domain.com" | |
| phone | string Example: "+37129123345" |
| certificateType | string Enum: "QUALIFIED" "TRUSTLYNX" Example: "QUALIFIED" |
| pricingPlan | string Enum: "ENTRY" "COMPANY" "ENTERPRISE" Example: "Entry" |
{- "fullName": "Name Surname",
- "companyName": "Company Name",
- "taxId": "LV40003012345",
- "registrationNumber": 1234567890,
- "address": "Street Name 15",
- "city": "Riga",
- "zip": "LV-1035",
- "registrationCountry": "Latvia",
- "email": "test@domain.com",
- "phone": "+37129123345",
- "certificateType": "QUALIFIED",
- "pricingPlan": "Entry"
}{- "sessionId": "be945409-864b-4ba8-8b88-76bf9827af20",
- "userEmail": "<name>@domain.com"
}Starts the signing process for the certificate application form
Details of the certificate form
| certificateName | string Example: "Certificate" Name of the certificate |
| serialNumber | string Example: "SN123456789" Certificate serial number |
| organizationName | string Example: "TrustLynx Ltd." Organization name |
| department | string Example: "IT Department" Department |
| country | string Example: "Latvia" Country of the organization |
string Example: "info@trustlynx.com" Organization email | |
| keySize | string Example: "2048" Key size for the certificate |
| validity | integer <int32> Example: "365" Validity period of the certificate in days |
| authorizedPersonName | string Example: "John" Authorized person's name |
| authorizedPersonSurname | string Example: "Doe" Authorized person's surname |
| authorizedPersonPersonalIdentificationNumber | string Example: "010190-12345" Authorized person's personal identification number |
| authorizedPersonPhone | string Example: "+37129123456" Authorized person's phone number |
| authorizedPersonEmail | string Example: "john.doe@trustlynx.com" Authorized person's email |
| authorizedPerson | boolean Example: "true" Is the person authorized? |
| authorizedDocument | string <binary> Document proving authority of the signer |
| companyLogo | string <binary> Company logo which will be add to the document |
| receiveOfficialInfo | boolean Example: "true" Is the receive official information about this eSea? |
| contactPersonName | string Example: "Jane" Contact person's name |
| contactPersonSurname | string Example: "Smith" Contact person's surname |
| contactPersonPersonalIdentificationNumber | string Example: "020290-54321" Contact person's personal identification number |
| contactPersonJobTitle | string Example: "Account Manager" Contact person's job title |
| contactPersonPhone | string Example: "+37129567890" Contact person's phone number |
| contactPersonEmail | string Example: "jane.smith@trustlynx.com" Contact person's email |
| organizationPhone | string Example: "+37167000001" Organization phone number |
| address | string Example: "Street 1" Organization address |
| city | string Example: "Riga" City of the organization |
| zip | string Example: "LV-1010" ZIP code |
| organizationEmail | string Example: "contact@trustlynx.com" Organization general email |
| productPersonName | string Example: "Alice" Product person’s name |
| productPersonSurname | string Example: "Brown" Product person’s surname |
| productPersonalIdentificationNumber | string Example: "030390-78901" Product person’s personal identification number |
| productPersonPhone | string Example: "+37129998877" Product person’s phone number |
| productPersonEmail | string Example: "alice.brown@trustlynx.com" Product person’s email |
| additionalInfo | string Example: "Urgent processing required" Additional information |
| confirmationDocument | string <binary> Confirmation document |
E-Seal document from request.
| profile required | string Example: TrustLynx Company profile |
| file required | Array of strings <binary> [ items <binary > ] |
| visualization required | string |
{- "code": 404,
- "message": "API Key not found"
}Registers a profile in the system
Details of the profile to be registered
| uuid | string Example: "cca7e202-78c6-4899-a0e3-66ec7ce3d5be" |
| id | integer <int32> Example: "1" |
| profileName | string Example: "Profile Name" |
| tokenId | string Example: "Token Name" |
| signObject | string Example: "{\\n \\\"signatureLocation\\\": \\\"Tallinn, Estonia\\\",\\n \\\"signatureReason\\\": \\\"Approve\\\", ....." |
{- "uuid": "cca7e202-78c6-4899-a0e3-66ec7ce3d5be",
- "id": 1,
- "profileName": "Profile Name",
- "tokenId": "Token Name",
- "signObject": "{\\n \\\"signatureLocation\\\": \\\"Tallinn, Estonia\\\",\\n \\\"signatureReason\\\": \\\"Approve\\\", ....."
}{- "uuid": "cca7e202-78c6-4899-a0e3-66ec7ce3d5be",
- "company": {
- "id": 1,
- "companyName": "Company Name",
- "taxId": "LV40003012345",
- "registrationNumber": 1234567890,
- "email": "test@domain.com",
- "fullName": "Name Surname",
- "phone": "+37122912321",
- "registrationCountry": "Latvia",
- "address": "Street Name 15",
- "city": "Riga",
- "zip": "LV-1035",
- "activeProfile": "DEMOCOMPANY",
- "certificateType": "QUALIFIED",
- "pricingPlan": "Entry",
- "haveCertificate": false,
- "secret": ":]f>G3&by@",
- "previousMonth": "October",
- "currentMonth": "November",
- "signingCountPreviousMonth": 25,
- "signingCountCurrentMonth": 7,
- "certificateStartDate": "15.10.2025",
- "certificateExpireDate": "15.10.2026",
- "certificateUploaded": true
}, - "profiles": [
- {
- "id": 1,
- "profileName": "DEMOCOMPANY",
- "tokenId": "DEMOCOMPANY_TOKEN",
- "pdfSigningSigner": "string"
}
], - "storedDocuments": {
- "confirmationDocument": "string",
- "authorizedDocument": "string",
- "companyLogo": "string",
- "certificate": "string",
- "authCsr": "string",
- "signCsr": "string"
}
}Update profile name in the system
Details of the profile to be registered
| uuid | string Example: "cca7e202-78c6-4899-a0e3-66ec7ce3d5be" |
| profileName | string Example: "Profile Name" |
{- "uuid": "cca7e202-78c6-4899-a0e3-66ec7ce3d5be",
- "profileName": "Profile Name"
}{- "uuid": "cca7e202-78c6-4899-a0e3-66ec7ce3d5be",
- "company": {
- "id": 1,
- "companyName": "Company Name",
- "taxId": "LV40003012345",
- "registrationNumber": 1234567890,
- "email": "test@domain.com",
- "fullName": "Name Surname",
- "phone": "+37122912321",
- "registrationCountry": "Latvia",
- "address": "Street Name 15",
- "city": "Riga",
- "zip": "LV-1035",
- "activeProfile": "DEMOCOMPANY",
- "certificateType": "QUALIFIED",
- "pricingPlan": "Entry",
- "haveCertificate": false,
- "secret": ":]f>G3&by@",
- "previousMonth": "October",
- "currentMonth": "November",
- "signingCountPreviousMonth": 25,
- "signingCountCurrentMonth": 7,
- "certificateStartDate": "15.10.2025",
- "certificateExpireDate": "15.10.2026",
- "certificateUploaded": true
}, - "profiles": [
- {
- "id": 1,
- "profileName": "DEMOCOMPANY",
- "tokenId": "DEMOCOMPANY_TOKEN",
- "pdfSigningSigner": "string"
}
], - "storedDocuments": {
- "confirmationDocument": "string",
- "authorizedDocument": "string",
- "companyLogo": "string",
- "certificate": "string",
- "authCsr": "string",
- "signCsr": "string"
}
}Start verification a new demo user data in the system
Verification details of the demo user
| token | string Example: "bYpPFCekjO" |
{- "token": "bYpPFCekjO"
}{- "sessionId": "be945409-864b-4ba8-8b88-76bf9827af20",
- "userEmail": "<name>@domain.com"
}Start registers a new demo user in the system
Details of the demo user to be registered
string Example: "test@domain.com" |
{- "email": "test@domain.com"
}{- "sessionId": "be945409-864b-4ba8-8b88-76bf9827af20",
- "userEmail": "<name>@domain.com"
}Submits a request for deleting a company profile
| companyName | string Example: "Company Name" |
| userName | string Example: "User Name" |
string Example: "user.company@server.com" |
{- "companyName": "Company Name",
- "userName": "User Name",
- "email": "user.company@server.com"
}{- "uuid": "cca7e202-78c6-4899-a0e3-66ec7ce3d5be",
- "company": {
- "id": 1,
- "companyName": "Company Name",
- "taxId": "LV40003012345",
- "registrationNumber": 1234567890,
- "email": "test@domain.com",
- "fullName": "Name Surname",
- "phone": "+37122912321",
- "registrationCountry": "Latvia",
- "address": "Street Name 15",
- "city": "Riga",
- "zip": "LV-1035",
- "activeProfile": "DEMOCOMPANY",
- "certificateType": "QUALIFIED",
- "pricingPlan": "Entry",
- "haveCertificate": false,
- "secret": ":]f>G3&by@",
- "previousMonth": "October",
- "currentMonth": "November",
- "signingCountPreviousMonth": 25,
- "signingCountCurrentMonth": 7,
- "certificateStartDate": "15.10.2025",
- "certificateExpireDate": "15.10.2026",
- "certificateUploaded": true
}, - "profiles": [
- {
- "id": 1,
- "profileName": "DEMOCOMPANY",
- "tokenId": "DEMOCOMPANY_TOKEN",
- "pdfSigningSigner": "string"
}
], - "storedDocuments": {
- "confirmationDocument": "string",
- "authorizedDocument": "string",
- "companyLogo": "string",
- "certificate": "string",
- "authCsr": "string",
- "signCsr": "string"
}
}{- "uuid": "cca7e202-78c6-4899-a0e3-66ec7ce3d5be",
- "company": {
- "id": 1,
- "companyName": "Company Name",
- "taxId": "LV40003012345",
- "registrationNumber": 1234567890,
- "email": "test@domain.com",
- "fullName": "Name Surname",
- "phone": "+37122912321",
- "registrationCountry": "Latvia",
- "address": "Street Name 15",
- "city": "Riga",
- "zip": "LV-1035",
- "activeProfile": "DEMOCOMPANY",
- "certificateType": "QUALIFIED",
- "pricingPlan": "Entry",
- "haveCertificate": false,
- "secret": ":]f>G3&by@",
- "previousMonth": "October",
- "currentMonth": "November",
- "signingCountPreviousMonth": 25,
- "signingCountCurrentMonth": 7,
- "certificateStartDate": "15.10.2025",
- "certificateExpireDate": "15.10.2026",
- "certificateUploaded": true
}, - "profiles": [
- {
- "id": 1,
- "profileName": "DEMOCOMPANY",
- "tokenId": "DEMOCOMPANY_TOKEN",
- "pdfSigningSigner": "string"
}
], - "storedDocuments": {
- "confirmationDocument": "string",
- "authorizedDocument": "string",
- "companyLogo": "string",
- "certificate": "string",
- "authCsr": "string",
- "signCsr": "string"
}
}Find audit messages by company name and date range
| companyName required | string Example: companyName=Company Name |
| startDate required | string Example: startDate=24.08.2025 |
| endDate required | string Example: endDate=26.08.2025 |
| pageNumber required | integer <int32> Example: pageNumber=0 |
| pageSize required | integer <int32> Example: pageSize=10 |
| sortField | string Default: "createdAt" Example: sortField=createdAt |
| sortDirection | string Default: "desc" Example: sortDirection=desc |
Save new audit message
| companyName | string Example: "Company Name" |
| auditType | string Enum: "USER" "SYSTEM" "ERROR" "API_KEY" Example: "USER" |
| message | string Example: "User action" |
{- "companyName": "Company Name",
- "auditType": "USER",
- "message": "User action"
}