Skip to main content

Settings By Name

GET /v2/site/:sitename

Retrieves a specific site configuration by its site name identifier. The endpoint looks up the site using the provided name and returns all current configuration values. The response includes visual settings like colors and branding assets, feature flags, and identifiers such as tenant and site ID.

Headers

  • Origin - Custom header for Origin (Example: https://app.zit.red)

Response Example

{
"colors": {
"header_background": "#1a1a1a",
"header_navigation": "#FFFFFF",
"header_icons": "#FFD700",
"primary_color": "#0055FF"
},
"_id": "site-id-1",
"sitename": "example-site.example.io",
"tenant": "tenant-id-1",
"webshopEnabled": true,
"ticket_auto_escalation_for_customers": true,
"created": 1750374628888,
"updated": 1750374628888,
"__v": 0,
"title": "Example Site (S1G1)",
"logo": "/v1/files/site/tenant-id-1/logo.png",
"favicon": "/v1/files/site/tenant-id-1/favicon.png",
"id": "site-id-1",
"sso": true
}