Company Profile API

Manage the current tenant company profile and profile-owned attachments.

The company profile is scoped to the current tenant. Profile document endpoints return DocumentDto.

Endpoints

MethodPathDescription
GET/api/v1/company/profileGet the current tenant company profile
PUT/api/v1/company/profileInitialize the current tenant company profile
POST/api/v1/company/profile/logoUpload the company logo
PUT/api/v1/company/profile/logoReplace the company logo
GET/api/v1/company/profile/documentsList company profile documents
POST/api/v1/company/profile/policies/{policyType}/documentUpload a policy document
PUT/api/v1/company/profile/policies/{policyType}/documentReplace a policy document
POST/api/v1/company/profile/certifications/{certificationType}/documentUpload a certification attachment
PUT/api/v1/company/profile/certifications/{certificationType}/documentReplace a certification attachment
POST/api/v1/company/profile/questionnaire/attachments/{field}Upload questionnaire attachment
PUT/api/v1/company/profile/questionnaire/attachments/{field}Replace questionnaire attachment
POST/api/v1/company/profile/training/{trainingType}/documentUpload training attachment

Profile

GET /api/v1/company/profile and PUT /api/v1/company/profile return CompanyProfileDto with id, logoDocumentId, createdAt and updatedAt.

Multipart uploads

All profile document write endpoints use multipart/form-data with a required file field.

Path parameterApplies toDescription
policyTypePolicy document endpointsPolicy slot to upload or replace
certificationTypeCertification document endpointsCertification slot to upload or replace
fieldQuestionnaire attachmentsQuestionnaire field key
trainingTypeTraining document endpointTraining slot to upload

POST upload endpoints return 201 Created; PUT replacement endpoints return 200 OK.