This is the public-facing endpoint that allows prospective clients to submit an appointment reservation request to the law firm. No authentication token is needed — any visitor can call this endpoint to express interest in a consultation. Once submitted, the reservation is stored in the database withDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/fredy-rizo/despacho-backend/llms.txt
Use this file to discover all available pages before exploring further.
reservation_accepted set to false and remains pending until a lawyer reviews and accepts it.
Endpoint
Authentication
None. This endpoint is publicly accessible and does not require anAuthorization header.
Request Body
The client’s full legal name.
The client’s email address. Used for confirmation notifications once the reservation is accepted.
The client’s contact phone number. Must be a numeric value (no dashes or spaces).
The area of law for which the client is seeking consultation. Must be exactly one of the following allowed values:
Derecho civilDerecho familiarDerecho mercantilDerecho penalDerecho laboralDerecho inmobiliario
The client’s preferred appointment date. Recommended format:
YYYY-MM-DD (e.g., "2025-08-15").The client’s preferred appointment time. Recommended format:
HH:MM in 24-hour notation (e.g., "10:30").An optional free-text message from the client providing additional context about their legal matter.
Example Request
Responses
200 — Reservation Created
The reservation was saved successfully. The client should be informed that they will receive a notification once a lawyer accepts their request.403 — Missing Required Fields
Returned when one or more required fields are absent from the request body.500 — Server Error
Returned when an unexpected error occurs on the server (e.g., database connectivity issues). The response body is the raw error object thrown by the server.The
reservation_accepted field is automatically set to false when a reservation is first created. It will remain false until an authenticated lawyer explicitly accepts it via the Accept Reservation endpoint.