List companies by IDs for a user
Retrieves multiple companies in a single query based on an array of company IDs. Used during authentication to fetch all companies a user has access to. The userId in the route must match the authenticated user.
path Parameters
userIdThe user ID - must match the authenticated user
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
List companies by IDs for a user › Responses
Companies retrieved successfully
createdAtupdatedAtcompanyIdcompanyNameaddressGet a company by ID
Retrieves detailed information about a specific company
path Parameters
companyIdThe unique identifier of the company. Example: 11111111-2222-3333-4444-555555555555
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get a company by ID › Responses
Company details retrieved successfully
createdAtupdatedAtcompanyIdcompanyNameaddressUpdate a company
Updates an existing company's information
path Parameters
companyIdThe unique identifier of the company to update. Example: 11111111-2222-3333-4444-555555555555
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Update a company › Responses
Company update accepted
companyIdcompanyNameaddressGet company logo for branded certificates
Streams the stored company logo. Returns 404 if no logo has been uploaded.
path Parameters
companyIdThe unique identifier of the company
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get company logo for branded certificates › Responses
Logo image streamed successfully
Upload company logo for branded certificates
Uploads a PNG or JPEG logo (max 2 MB) for use in branded Material Test Certificate PDFs. Overwrites any existing logo.
path Parameters
companyIdThe unique identifier of the company
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Upload company logo for branded certificates › Responses
Logo uploaded; updated settings returned
companyIdlogoStorageFileNamecertificateContactNamecertificateContactEmailcertificateContactPhonecertificateFooterTextcompanyRegistrationNumbercreatedAtupdatedAtGet certificate branding settings
Returns the company's certificate branding configuration used when generating branded Material Test Certificate PDFs
path Parameters
companyIdThe unique identifier of the company
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get certificate branding settings › Responses
Certificate settings retrieved (all fields may be null if not yet configured)
companyIdlogoStorageFileNamecertificateContactNamecertificateContactEmailcertificateContactPhonecertificateFooterTextcompanyRegistrationNumbercreatedAtupdatedAtUpdate certificate branding settings
Updates the company's certificate branding configuration. Logo is managed separately via the logo upload endpoint. This endpoint does not affect the stored logo. All fields should be supplied; pass null to clear a field.
path Parameters
companyIdThe unique identifier of the company
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Update certificate branding settings › Request Body
certificateContactNamecertificateContactEmailcertificateContactPhonecertificateFooterTextcompanyRegistrationNumberUpdate certificate branding settings › Responses
Settings updated successfully
companyIdlogoStorageFileNamecertificateContactNamecertificateContactEmailcertificateContactPhonecertificateFooterTextcompanyRegistrationNumbercreatedAtupdatedAtList email domains
Returns all email domains registered for the company.
path Parameters
companyIdThe unique identifier of the company
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
List email domains › Responses
Email domains retrieved successfully
companyEmailDomainIdcompanyIdemailDomainactivelastModifiedByupdatedAtAdd email domain
Registers an email domain for the company. The same domain may be registered to multiple companies.
path Parameters
companyIdThe unique identifier of the company
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Add email domain › Responses
Domain registered successfully
companyEmailDomainIdcompanyIdemailDomainactivelastModifiedByupdatedAtRemove email domain
Soft-deletes an email domain registration from the company. The domain can be restored via the restore endpoint.
path Parameters
companyIdThe unique identifier of the company
domainIdThe unique identifier of the email domain entry to remove
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Remove email domain › Responses
Domain soft-deleted successfully
Get email domain change history
Returns the full temporal audit history for a company email domain, most recent changes first.
path Parameters
companyIdThe unique identifier of the company
domainIdThe unique identifier of the email domain entry
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get email domain change history › Responses
Audit history returned successfully
changedAtchangedByIdchangedByNamechangeTypeentityTypeentityLabelRestore email domain
Restores a previously soft-deleted email domain registration for the company.
path Parameters
companyIdThe unique identifier of the company
domainIdThe unique identifier of the email domain entry to restore
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Restore email domain › Responses
Domain restored successfully
companyEmailDomainIdcompanyIdemailDomainactivelastModifiedByupdatedAt
