# Get trip configuration Retrieve the complete configuration for a trip, including blocks, contact info, settings, and theme Endpoint: GET /trips/{tripId}/config Version: 1.0.0 Security: bearerAuth ## Path parameters: - `tripId` (integer, required) Unique identifier of the trip Example: 12345 ## Response 200 fields (application/json): - `version` (string, required) Semantic version of the config schema Example: "1.0.0" - `blocks` (array, required) Array of content blocks (accommodations, activities, transport, etc.) - `contact` (object, required) Contact information displayed on the trip - `contact.address` (string) Example: "123 Main Street, Paris, France" - `contact.agencyName` (string) Example: "Travel Dreams Agency" - `contact.agentName` (string) Example: "John Doe" - `contact.description` (string) Example: "Expert travel agent specializing in European tours" - `contact.email` (string) Example: "contact@travelagency.com" - `contact.phoneNumber` (string) Example: "+33 1 23 45 67 89" - `contact.pictureUrl` (string) Example: "https://example.com/agent-photo.jpg" - `contact.type` (string) Type of contact Enum: "agency", "agent" - `contact.visible` (boolean) Whether contact info is visible on the trip Example: true - `contact.web` (string) Example: "https://travelagency.com" - `slider` (array) Array of image URLs for the trip slider Example: ["https://example.com/image1.jpg"] - `updatedAt` (string, required) Last update timestamp Example: "2025-01-20T14:45:00.000Z" - `settings` (object, required) Trip settings and preferences - `settings.canDownloadPdf` (boolean, required) Allow travelers to download trip as PDF Example: true - `settings.canCreateCopy` (boolean, required) Allow travelers to create a copy of the trip - `settings.hasExpiration` (boolean, required) Whether the trip has an expiration date - `settings.shareOnWhatsapp` (object) WhatsApp sharing configuration Example: {"enabled":true,"phoneNumber":"+33123456789"} - `settings.shareOnWhatsapp.enabled` (boolean) Example: true - `settings.language` (string, required) Trip language code Example: "en" - `settings.startOfTheWeek` (string, required) First day of the week Enum: "monday", "sunday" - `settings.timeFormat` (string, required) Time format preference Enum: "12h", "24h" - `settings.dateFormat` (string, required) Date format pattern Example: "DD/MM/YYYY" - `settings.timezone` (string, required) IANA timezone identifier Example: "Europe/Paris" - `settings.currencySymbolPosition` (string, required) Where to display currency symbol Enum: "start", "end" - `settings.decimalSeparator` (string, required) Decimal separator character Enum: ",", "." - `settings.currency` (string, required) ISO 4217 currency code Example: "EUR" - `moreInfo` (object, required) Additional information form configuration - `moreInfo.enabled` (boolean, required) Whether the additional info form is enabled - `moreInfo.fields` (array, required) Form field definitions Example: [] - `moreInfo.fields.id` (string) Example: "field-123" - `moreInfo.fields.type` (string) Enum: "text", "email", "phone", "textarea", "select", "checkbox" - `moreInfo.fields.label` (string) Example: "Dietary restrictions" - `moreInfo.fields.required` (boolean) - `paymentMethodId` (integer,null) ID of the payment method associated with this trip Example: 123 - `quotation` (object) Quotation rates for the trip Example: {"planningRate":10,"secondRate":5} - `quotation.planningRate` (number) Planning rate percentage Example: 10 - `quotation.secondRate` (number) Second rate percentage Example: 5 - `theme` (object, required) Visual theme and branding for the trip - `theme.headerImage` (object) Header image configuration Example: {"config":"cover"} - `theme.headerImage.config` (string) Header image display mode Enum: "cover", "contain", "none" - `theme.navigation` (string,null) Navigation layout style Enum: "verticalRight", "verticalLeft", "horizontal", "none" - `theme.logo` (string) URL of the agency/brand logo Example: "https://example.com/logo.png" - `theme.color` (string) Primary brand color (hex code) Example: "#195bf5" - `theme.font` (string,null) Font family for the trip Example: "Roboto" - `theme.pdfContactPosition` (string,null) Where to display contact info in PDF Enum: "firstPage", "lastPage" - `images` (object, required) Trip image gallery Example: {"files":[]} - `images.files` (array) Example: [] - `images.files.url` (string, required) URL of the image Example: "https://example.com/trip-image.jpg" - `images.files.display` (string) Image display mode Enum: "cover", "contain" - `images.files.index` (integer) Display order index - `cover` (object) Trip cover image configuration - `cover.enabled` (boolean) Whether cover is enabled Example: true - `cover.files` (array) Cover image files Example: [] ## Response 400 fields ## Response 404 fields