Company
List companies accessible to the caller
Returns all companies accessible to the caller, derived from the gateway-injected X-Groups header (Entra group GUIDs map to company IDs).
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List companies accessible to the caller › Responses
Companies retrieved successfully
createdAtupdatedAtcompanyIdcompanyNameaddressGet company stamp for branded certificates
Streams the stored company stamp. Returns 404 if no stamp has been uploaded.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Get company stamp for branded certificates › Responses
Stamp image streamed successfully (PNG or JPEG, depending on the stored file)
Upload company stamp for branded certificates
Uploads a PNG or JPEG stamp (max 2 MB) for use in branded Material Test Certificate PDFs. Overwrites any existing stamp.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Upload company stamp for branded certificates › Responses
Stamp uploaded; updated settings returned
companyIdlogoStorageFileNamestampStorageFileNamestampTextcertificateContactNamecertificateContactEmailcertificateContactPhonecertificateFooterTextcompanyRegistrationNumbercreatedAtupdatedAtDelete company stamp for branded certificates
Removes the stored company stamp image and clears the accompanying stamp text. Idempotent; returns 200 even if no stamp was configured.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Delete company stamp for branded certificates › Responses
Stamp removed; updated settings returned
companyIdlogoStorageFileNamestampStorageFileNamestampTextcertificateContactNamecertificateContactEmailcertificateContactPhonecertificateFooterTextcompanyRegistrationNumbercreatedAtupdatedAtGet 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
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format 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
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format 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
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format 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
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Upload company logo for branded certificates › Responses
Logo uploaded; updated settings returned
companyIdlogoStorageFileNamestampStorageFileNamestampTextcertificateContactNamecertificateContactEmailcertificateContactPhonecertificateFooterTextcompanyRegistrationNumbercreatedAtupdatedAtGet 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
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Get certificate branding settings › Responses
Certificate settings retrieved (all fields may be null if not yet configured)
companyIdlogoStorageFileNamestampStorageFileNamestampTextcertificateContactNamecertificateContactEmailcertificateContactPhonecertificateFooterTextcompanyRegistrationNumbercreatedAtupdatedAtUpdate 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
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Update certificate branding settings › Request Body
stampTextcertificateContactNamecertificateContactEmailcertificateContactPhonecertificateFooterTextcompanyRegistrationNumberUpdate certificate branding settings › Responses
Settings updated successfully
companyIdlogoStorageFileNamestampStorageFileNamestampTextcertificateContactNamecertificateContactEmailcertificateContactPhonecertificateFooterTextcompanyRegistrationNumbercreatedAtupdatedAtList email domains
Returns all email domains registered for the company.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format 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
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format 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
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format 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
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format 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
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Restore email domain › Responses
Domain restored successfully
companyEmailDomainIdcompanyIdemailDomainactivelastModifiedByupdatedAt
