Leave Management

Submit a leave request

Submit a leave request with optional document upload. Uses multipart/form-data. Document is required for certain leave types (baixa_doenca, casamento, etc.). Max file size: 2MB. Allowed: PDF, JPG, PNG, DOC, DOCX.

post/api/leaves

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/leaves
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Headers

x-api-tokenstring nullable

Request body multipart/form-data

leave_typestring required
start_datestring required
end_datestring required
notesstring nullable
documentstring binary nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 21 revisions of this API.