The companies API manages employer profiles on the platform. A company profile stores contact details, branding assets, sector information, and aggregated statistics about the company’s vacancy and hiring activity. Most write operations require the authenticated company’s session cookie.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Esteban-Mendez-j/Proyecto-Docker/llms.txt
Use this file to discover all available pages before exploring further.
EmpresaDTO fields
EmpresaDTO extends UsuarioDTO and inherits the base user fields in addition to its own company-specific properties.
Inherited from UsuarioDTO
Unique user ID.
Company display name. Max 50 characters.
Contact email address (unique). Max 100 characters.
Password. Required on creation only. Max 15 characters. Not returned on reads.
Contact phone number (unique). Max 15 characters.
Company description or about text. Max 400 characters.
Profile image file path. Required on creation. Max 255 characters.
Account registration date.
Date of last login.
Whether the company account is active.
Roles assigned to the user (e.g.
["EMPRESA"]).Administrative note on the account.
Company tax identification number (NIT, unique). Max 9 characters.
Industry or business sector (e.g.
"Tecnología", "Salud"). Max 50 characters.Company website URL. Max 255 characters.
Path to an optional company presentation video. Max 500 characters.
Whether the company has been verified by a SearchJobs administrator.
Total number of vacancies ever created by this company.
Number of currently active vacancies.
Total number of candidates accepted across all vacancies.
Acceptance rate as a percentage (
candidatosAceptados / totalApplications * 100).Endpoints
Get company profile
Returns the profile of a company. WhenidUsuario is not provided, the ID is extracted from the JWT token so a company can retrieve its own profile.
Requires a valid
jwtToken cookie. If the resolved ID does not correspond to an existing company, the server returns 401 Unauthorized.User ID of the company to retrieve. When omitted, the authenticated user’s ID is used.
401— Token missing, invalid, or does not belong to a registered company.404— Company not found for the suppliedidUsuario.
Create company
Registers a new company account in the system. Typically called during the sign-up flow.application/json — EmpresaDTO
Required fields: nombre, correo, imagen.
Get company by ID
Returns the rawEmpresaDTO for a specific company. Used for pre-populating edit forms.
The user ID of the company to retrieve.
EmpresaDTO object.
Example
Update company profile
Updates a company’s information, optionally replacing the profile image. Usesmultipart/form-data to support file uploads. The server identifies the company from the JWT token, not from the path variable.
Requires a valid
jwtToken cookie. The user ID is resolved from the token — the {idUsuario} path variable is present for routing but the authoritative source is the token claim.User ID of the company to update.
multipart/form-data
Updated company data serialised as JSON. Validated against the update group constraints (NIT uniqueness check is skipped for the current owner).
Optional new profile image. When provided, the previous image file is deleted and replaced.
The success message reads “Candidato actualizado correctamente.” — this is a known copy-paste issue in the source code. The company profile was still updated correctly despite the message text.
Delete company
Permanently removes a company and its associated data from the system.ID of the company to delete.
204 No Content.
Example