Public Platform Settings API
Base URL: http://localhost:8000/api/v1
Prefix: /platform-settings
Auth: Not required
Headers: Content-Type: application/json
1. Get Public Platform Settings
Retrieves public platform identity, branding, reservation, and OAuth configuration.
GET
/platform-settings/Auth: Not required
Success Example
{
"success": true,
"message": "Public platform settings retrieved successfully.",
"data": {
"settings": {
"name": "EstateHub",
"currency": "USD",
"language": "en",
"support_email": "support@example.com"
},
"branding": {
"primary_color": "#2563EB",
"secondary_color": "#14B8A6",
"accent_color": "#F59E0B",
"logo_url": "https://cdn.example.com/logo.png",
"favicon_url": "https://cdn.example.com/favicon.ico",
"hero_title": "Find your next place to call home",
"hero_description": "Discover verified properties for buying and leasing with trusted sellers and guided support."
},
"reservation": {
"purchase_reservation_type": "percentage",
"purchase_reservation_value": "2.00",
"rental_reservation_type": "percentage",
"rental_reservation_value": "2.00"
},
"oauth": {
"google": {
"enabled": true,
"client_id": "google-client-id"
},
"facebook": {
"enabled": false,
"app_id": "",
"api_version": "v21.0"
},
"apple": {
"enabled": false,
"client_id": ""
}
}
}
}Notes
-
No authentication is required.
-
No request body or query parameters are required.
-
Missing settings records are created using database defaults.
-
OAuth secrets and private signing keys are never returned.
-
Disabled OAuth providers return empty public identifiers.
-
Branding URLs may be empty when no branding asset is configured.
-
Reservation decimal values are returned as strings.
Common Success Format
{
"success": true,
"message": "Public platform settings retrieved successfully.",
"data": {}
}Common Error Format
{
"success": false,
"message": "Unable to retrieve public platform settings.",
"errors": {}
}