The vacancies API lets companies publish and manage job postings while giving candidates and guests the ability to browse, search, and filter active openings. All write operations require a valid company session cookie. Read operations that benefit from personalisation accept an optional token to tailor results through the ML prediction model.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.
VacanteDTO fields
Every vacancy is represented by aVacanteDTO object with the following fields.
Unique vacancy ID.
Job posting title. Max 100 characters.
Job position or role name. Max 50 characters.
Contract type (e.g.
"Tiempo completo", "Prácticas"). Max 15 characters.Work modality (e.g.
"Presencial", "Remoto", "Híbrido"). Max 50 characters.City where the vacancy is located. Max 50 characters.
Department or state. Max 50 characters.
Monthly salary offered.
Required years of experience (e.g.
"2"). Max 4 characters.Full vacancy description. Max 400 characters.
Candidate requirements. Max 400 characters.
List of desired skills.
Path to an optional presentation video file.
Date the vacancy was published (
YYYY-MM-DD).Whether the vacancy is currently active system-wide.
Whether the company has toggled the vacancy on.
ID of the company user that owns this vacancy.
Display name of the owning company.
Profile image URL of the owning company.
Total number of applications ever submitted.
Current active applicant count.
Whether the authenticated candidate has an active application for this vacancy.
The authenticated candidate’s application status for this vacancy.
Whether the authenticated candidate has saved this vacancy. Defaults to
false.Total number of times this vacancy has been saved by candidates.
Number of times the vacancy has been shared.
Total visit/view count. Defaults to
0.ML match score between the authenticated candidate and this vacancy. Defaults to
0.0.Administrative note attached to the vacancy.
FiltroVacanteDTO fields
Filter bodies sent to the/listar endpoints use the following fields (all optional unless otherwise noted).
Filter by posting title (partial match).
Filter by position name.
Filter by contract type.
Filter by work modality.
Filter by city.
Filter by required years of experience.
Minimum salary filter.
Filter by company name.
Filter vacancies published on or after this date.
Filter by active state. Set automatically to
true for the public filtered listing.Filter by the company’s own active toggle.
Filter by the candidate’s application status on each vacancy.
When
true, returns only vacancies the candidate has saved.When
true, returns only vacancies that have a video. Defaults to false.Endpoints
List own vacancies
Returns the paginated list of vacancies created by the authenticated company.Requires a valid
jwtToken cookie belonging to a company account.Zero-based page number.
Number of results per page.
Filter own vacancies
Returns the authenticated company’s vacancies that match the supplied filter criteria.Requires a valid
jwtToken cookie belonging to a company account.Zero-based page number.
Number of results per page.
application/json — FiltroVacanteDTO
GET /api/vacantes.
Example
Filter all active vacancies
Returns active vacancies for candidates and guests. When the requester is an authenticated candidate with a complete profile (nivelEducativo, aptitudes, and experiencia all set), results are re-ranked by the ML prediction score. Otherwise results are returned in standard order.
The
jwtToken cookie is optional. When omitted, the caller is treated as a guest and personalised ranking is disabled.Zero-based page number.
Number of results per page.
application/json — FiltroVacanteDTO
VacanteDTO item includes a prediccion score when ML ranking is active.
Example
Top featured vacancies
Returns a curated list of vacancies sorted by publication date, salary, and required experience. Suitable for a homepage featured section.The
jwtToken cookie is optional. When provided, the authenticated user’s ID is forwarded to the service for potential personalisation.Most popular vacancies
Returns the company’s own vacancies ranked by total application count.Requires a valid
jwtToken cookie belonging to a company account.Get vacancy details
Returns the full details of a single vacancy. When the requester is an authenticated candidate, the response includes candidate-specific fields (candidatoPostulado, estadoPostulacion, vacanteGuardada, prediccion).
The
jwtToken cookie is optional.Vacancy ID.
404 with { "mensaje": "Vacante no encontrada" } if the ID does not exist.
Example
Create vacancy
Creates a new vacancy associated with the authenticated company. Acceptsmultipart/form-data so that an optional promotional video can be uploaded at the same time.
Requires a valid
jwtToken cookie belonging to a company account.multipart/form-data
Vacancy data serialised as JSON. Required fields:
titulo, cargo, tipo, modalidad, ciudad, departamento.Optional promotional video file. When provided, the server stores it and sets
videoLink on the vacancy.Get vacancy for editing
Returns the raw vacancy data by ID for pre-populating an edit form.Vacancy ID.
VacanteDTO object directly.
Update vacancy
Updates an existing vacancy. Acceptsmultipart/form-data to allow replacing or removing the promotional video.
Vacancy ID to update.
multipart/form-data
Updated vacancy data.
Optional new video file. If provided and a video already exists, the previous file is deleted before saving the new one.
When
true, removes the current video without uploading a replacement.Toggle vacancy active state
Activates or deactivates a vacancy.Vacancy ID.
Pass
true to activate, false to deactivate.200 OK with empty body.
Example
Increment share counter
Increments thenumCompartidos counter by one each time a vacancy is shared.
Vacancy ID.
200 OK with empty body.
Register a visit
Increments the visit counter for a vacancy each time it is viewed.Vacancy ID.
200 OK with empty body.
Autocomplete suggestions
Returns a list of title/cargo strings that match the supplied prefix. Useful for powering a search autocomplete widget.The search prefix. An empty string returns an empty array.
string[]