Get App Config
Returns the full app configuration needed to bootstrap the client application.
Authentication: Public — no Bearer token required. If a valid Bearer token is provided, the response includes current_user data. On api.customerhub.com HMAC application authentication is still required.
Response includes:
theme— Current theme version with compiled CSS/JS assetsbrand— Branding config (logo, colors, favicon, app name)app— App settings (features enabled, public_content, navigation, social links) plus the auth bootstrap fields belowcurrent_user— User profile if authenticated (null if not)navigation— Sidebar/nav menu items the user can accessls_options— LoyalStream (AI) chat configuration
Auth bootstrap fields (under app):
recaptcha_site_key— reCAPTCHA v3 site key to load in the browser before callingPOST /sessionorPOST /users.nullwhen reCAPTCHA is disabled for the environment, in which caserecaptcha_tokencan be omittedpublic_signup— WhetherPOST /usersself-registration is open on this appgoogle_oauth_client_id— Google client ID forPOST /session/google_authapple_oauth_client_id— Apple client ID forPOST /session/apple_authws_url— Action Cable WebSocket URL for real-time features
Use this to:
- Determine which features are enabled (posts, products, comments, directory)
- Decide whether a login or signup form must solve reCAPTCHA
- Build navigation menus
- Apply theming and branding
- Check if user is logged in
Response
OK