Get site config
LiveGET
/api/v1/site/configFetch the agent site's branding, theme colors (including header/footer gradients), agent-uploaded icons, banners, SEO, live chat, and feature flags (otp_enabled / wheel_enabled / affiliate_enabled / jackpot) — used to render the site before any member logs in.
Media URLs (logo/banners/popup) are pre-resolved — some may be presigned URLs with an expiry. Do not cache them long-term; re-fetch the config on page load.
Compute the jackpot ticker client-side: current value ≈ base_amount_thb + growth_per_day_thb × days since seeded_at (display-only, not a payout figure).
Headers
| Field | Type | Required | Description |
|---|---|---|---|
| Authorization | string | — | Not used — this endpoint is public; no member token required |
| X-Api-Key | string | Yes | Agent API key (ak_…) from the bo screen |
| X-Timestamp | string | Yes | Signing time in unix milliseconds (±300s skew allowed) |
| X-Nonce | string | Yes | Unique per-request value (UUIDv4) for replay protection |
| X-Signature | string | Yes | hex(HMAC-SHA256(secret, canonical)) — see the Authentication page |
| X-Player-IP | string | — | The player's real IP (IPv4/IPv6) — recommended (used in login history) |
| X-Player-UA | string | — | The player's User-Agent (optional — recorded in login history) |
| X-Request-Id | string | — | Your correlation id — echoed back as request_uuid (recommended) |
| x-lang | string | — | th (default) or en — the language of message |
Response
Fields in data
| Field | Type | Required | Description |
|---|---|---|---|
| template | string | — | The website template the agent selectedCLASSIC | MODERN | PREMIUM |
| brand_name | string | — | Site brand name |
| logo_url | string | null | — | Logo URL (already resolved to a displayable URL) |
| favicon_url | string | null | — | Favicon URL |
| primary_color | string | — | Primary theme color (hex) |
| secondary_color | string | null | — | Secondary color (hex) |
| background_image_url | string | null | — | Background image URL |
| background_color | string | null | — | Background color (hex) |
| header_color | string | null | — | Header color (hex) |
| footer_color | string | null | — | Footer color (hex) |
| header_style | string | null | — | Background style for the header: SOLID uses header_color, GRADIENT uses the pair below, null means SOLIDSOLID | GRADIENT |
| header_gradient_from | string | null | — | Gradient start colour for the header (hex) — present when header_style is GRADIENT |
| header_gradient_to | string | null | — | Gradient end colour for the header (hex) |
| header_gradient_angle | number | null | — | Gradient angle for the header (0-360) — null means 180 (top to bottom) |
| footer_style | string | null | — | Background style for the footer: SOLID uses footer_color, GRADIENT uses the pair below, null means SOLIDSOLID | GRADIENT |
| footer_gradient_from | string | null | — | Gradient start colour for the footer (hex) — present when footer_style is GRADIENT |
| footer_gradient_to | string | null | — | Gradient end colour for the footer (hex) |
| footer_gradient_angle | number | null | — | Gradient angle for the footer (0-360) — null means 180 (top to bottom) |
| homepage_banner_urls | string[] | — | Homepage carousel banner URLs (in display order) |
| info_strip_enabled | boolean | — | Whether the four selling-point cards at the foot of the home page are shown |
| info_strip_1_title | string | null | — | Headline for card 1 — null means your site supplies its own wording for that card |
| info_strip_1_icon_url | string | null | — | URL of the icon the agent uploaded for card 1 — null means your site supplies its own |
| info_strip_1_desc | string | null | — | Description for card 1 — same null condition as the headline |
| info_strip_2_title | string | null | — | Headline for card 2 — null means your site supplies its own wording for that card |
| info_strip_2_icon_url | string | null | — | URL of the icon the agent uploaded for card 2 — null means your site supplies its own |
| info_strip_2_desc | string | null | — | Description for card 2 — same null condition as the headline |
| info_strip_3_title | string | null | — | Headline for card 3 — null means your site supplies its own wording for that card |
| info_strip_3_icon_url | string | null | — | URL of the icon the agent uploaded for card 3 — null means your site supplies its own |
| info_strip_3_desc | string | null | — | Description for card 3 — same null condition as the headline |
| info_strip_4_title | string | null | — | Headline for card 4 — null means your site supplies its own wording for that card |
| info_strip_4_icon_url | string | null | — | URL of the icon the agent uploaded for card 4 — null means your site supplies its own |
| category_icon_slot_url | string | null | — | URL of the icon the agent uploaded for the game category "Slots" — null means your site supplies its own |
| category_icon_arcade_url | string | null | — | URL of the icon the agent uploaded for the game category "Arcade" — null means your site supplies its own |
| category_icon_live_casino_url | string | null | — | URL of the icon the agent uploaded for the game category "Live casino" — null means your site supplies its own |
| category_icon_sports_url | string | null | — | URL of the icon the agent uploaded for the game category "Sports" — null means your site supplies its own |
| category_icon_fishing_url | string | null | — | URL of the icon the agent uploaded for the game category "Fishing" — null means your site supplies its own |
| category_icon_lottery_url | string | null | — | URL of the icon the agent uploaded for the game category "Lottery" — null means your site supplies its own |
| nav_icon_games_url | string | null | — | URL of the icon the agent uploaded for the mobile bottom-nav item "Games" — null means your site supplies its own |
| nav_icon_wallet_url | string | null | — | URL of the icon the agent uploaded for the mobile bottom-nav item "Deposit / withdraw" — null means your site supplies its own |
| nav_icon_promotions_url | string | null | — | URL of the icon the agent uploaded for the mobile bottom-nav item "Promotions" — null means your site supplies its own |
| nav_icon_account_url | string | null | — | URL of the icon the agent uploaded for the mobile bottom-nav item "Account" — null means your site supplies its own |
| account_icon_cashback_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Cashback" — null means your site supplies its own |
| account_icon_free_credit_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Free credit" — null means your site supplies its own |
| account_icon_daily_login_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Daily login" — null means your site supplies its own |
| account_icon_deposit_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Deposit" — null means your site supplies its own |
| account_icon_withdraw_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Withdraw" — null means your site supplies its own |
| account_icon_promotions_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Promotions" — null means your site supplies its own |
| account_icon_wheel_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Lucky wheel" — null means your site supplies its own |
| account_icon_diamond_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Diamond shop" — null means your site supplies its own |
| account_icon_card_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Card flip" — null means your site supplies its own |
| account_icon_affiliate_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Refer a friend" — null means your site supplies its own |
| account_icon_transactions_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Transaction history" — null means your site supplies its own |
| account_icon_contact_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Contact" — null means your site supplies its own |
| account_icon_change_password_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Change password" — null means your site supplies its own |
| account_icon_logout_url | string | null | — | URL of the icon the agent uploaded for the account-page button "Log out" — null means your site supplies its own |
| info_strip_4_desc | string | null | — | Description for card 4 — same null condition as the headline |
| announcement_enabled | boolean | — | Whether the announcement bar is shown. False with a non-empty announcement_text means the agent switched it off without deleting the text. |
| announcement_text | string | null | — | The announcement bar's text |
| announcement_link_url | string | null | — | Where the announcement bar links to — null means it is not clickable |
| announcement_style | string | null | — | "STATIC" | "MARQUEE" — null means STATIC |
| homepage_banner_links | string[] | — | Destination per banner, index-aligned with homepage_banner_urls ("" means that banner is not clickable) |
| footer_text | string | null | — | Footer text |
| popup_enabled | boolean | — | Whether the homepage announcement popup is enabled |
| popup_image_url | string | null | — | Popup image URL |
| popup_link_url | string | null | — | Destination link when the popup is clicked |
| seo_title | string | null | — | SEO page title |
| seo_description | string | null | — | SEO description |
| seo_og_image_url | string | null | — | Open Graph image URL for social sharing |
| seo_keywords | string[] | — | SEO keywords |
| gtm_id | string | null | — | The agent's Google Tag Manager container id — null when unset, or while tracking is switched off platform-wide |
| facebook_pixel_id | string | null | — | The agent's Meta Pixel id — same null conditions as gtm_id |
| contact_line_url | string | null | — | The agent's LINE Official Account link — null when unset |
| contact_telegram_url | string | null | — | The agent's Telegram link — null when unset |
| livechat_embed_html | string | null | — | Raw embed snippet from the provider (agent-supplied) — sanitize before injecting into the page |
| otp_enabled | boolean | — | Whether this agent requires OTP at signup — true = the register wizard must include request-otp → verify-otp |
| wheel_enabled | boolean | — | Whether the lucky wheel is enabled — false = hide the menu |
| affiliate_enabled | boolean | — | Whether the refer-a-friend program is enabled — false = hide the menu |
| diamond_enabled | boolean | — | Whether the diamond shop is enabled — false = hide the menu |
| daily_card_enabled | boolean | — | Whether the daily card game is enabled — false = hide the menu |
| jackpot_enabled | boolean | — | true when at least one jackpot tier is enabled (display-only ticker, §15.21b) |
| jackpot | object | — | Display-only jackpot data — enabled tiers + recent winners |
| └ tiers | object[] | — | Enabled jackpot tiers, ordered MINI → MAJOR → GRAND |
| └ tier | string | — | Jackpot tierMINI | MAJOR | GRAND |
| └ label | string | null | — | Agent-defined label for this tier |
| └ base_amount_thb | string | — | Base amount (THB, decimal string) |
| └ growth_per_day_thb | string | — | Growth per day (THB, decimal string) |
| └ seeded_at | string (ISO 8601) | — | Ticker reference time — reset on each win; used to compute the live value |
| └ recent_winners | object[] | — | Up to 10 most-recent winners (newest first) for the homepage marquee |
| └ tier | string | — | Tier wonMINI | MAJOR | GRAND |
| └ member_masked | string | — | Masked username (first 3 chars kept, e.g. abc***) — no PII |
| └ amount_thb | string | — | Amount won (THB, decimal string) |
| └ won_at | string (ISO 8601) | — | Win time |
Response example
{
"success": true,
"code": 0,
"message": "สำเร็จ",
"data": {
"template": "MODERN",
"brand_name": "ABC888",
"logo_url": "https://cdn.example.com/site/abc/logo.png",
"favicon_url": "https://cdn.example.com/site/abc/favicon.ico",
"primary_color": "#D4AF37",
"secondary_color": "#1A1A2E",
"background_image_url": null,
"background_color": "#0F0F1A",
"header_color": "#16162A",
"footer_color": "#16162A",
"header_style": "GRADIENT",
"header_gradient_from": "#16162A",
"header_gradient_to": "#2A1A3E",
"header_gradient_angle": 180,
"footer_style": "SOLID",
"footer_gradient_from": null,
"footer_gradient_to": null,
"footer_gradient_angle": null,
"homepage_banner_urls": [
"https://cdn.example.com/site/abc/banner-1.jpg",
"https://cdn.example.com/site/abc/banner-2.jpg"
],
"info_strip_enabled": true,
"info_strip_1_icon_url": "https://cdn.example.com/site/abc/info-1.svg",
"info_strip_2_icon_url": null,
"info_strip_3_icon_url": null,
"info_strip_4_icon_url": null,
"category_icon_slot_url": "https://cdn.example.com/site/abc/icon-slot.png",
"category_icon_arcade_url": null,
"category_icon_live_casino_url": null,
"category_icon_sports_url": null,
"category_icon_fishing_url": null,
"category_icon_lottery_url": null,
"nav_icon_games_url": null,
"nav_icon_wallet_url": null,
"nav_icon_promotions_url": "https://cdn.example.com/site/abc/icon-promo.png",
"nav_icon_account_url": null,
"account_icon_cashback_url": null,
"account_icon_free_credit_url": null,
"account_icon_daily_login_url": null,
"account_icon_deposit_url": "https://cdn.example.com/site/abc/icon-deposit.png",
"account_icon_withdraw_url": null,
"account_icon_promotions_url": null,
"account_icon_wheel_url": null,
"account_icon_diamond_url": null,
"account_icon_card_url": null,
"account_icon_affiliate_url": null,
"account_icon_transactions_url": null,
"account_icon_contact_url": null,
"account_icon_change_password_url": null,
"account_icon_logout_url": null,
"info_strip_1_title": "ฝาก-ถอนออโต้",
"info_strip_1_desc": "ระบบอัตโนมัติ รวดเร็วใน 30 วินาที",
"info_strip_2_title": "ปลอดภัย 100%",
"info_strip_2_desc": "เว็บตรง มั่นคง ข้อมูลเข้ารหัส",
"info_strip_3_title": null,
"info_strip_3_desc": null,
"info_strip_4_title": null,
"info_strip_4_desc": null,
"announcement_enabled": true,
"announcement_text": "ระบบถอนปิดปรับปรุง 02:00-04:00",
"announcement_link_url": null,
"announcement_style": "MARQUEE",
"homepage_banner_links": ["https://abc888.example.com/promotions", ""],
"footer_text": "ABC888 คาสิโนออนไลน์อันดับ 1",
"popup_enabled": true,
"popup_image_url": "https://cdn.example.com/site/abc/popup.jpg",
"popup_link_url": "https://abc888.example.com/promotions",
"seo_title": "ABC888 — คาสิโนออนไลน์ ฝาก-ถอนออโต้",
"seo_description": "สมัครสมาชิก ABC888 รับโบนัสต้อนรับ ฝาก-ถอนอัตโนมัติ 24 ชม.",
"seo_og_image_url": "https://cdn.example.com/site/abc/og.jpg",
"seo_keywords": ["คาสิโนออนไลน์", "สล็อต", "บาคาร่า"],
"gtm_id": "GTM-N7X4K2P",
"facebook_pixel_id": "1234567890123456",
"contact_line_url": "https://line.me/R/ti/p/@abc888",
"contact_telegram_url": "https://t.me/abc888",
"livechat_embed_html": null,
"otp_enabled": true,
"wheel_enabled": true,
"affiliate_enabled": true,
"diamond_enabled": false,
"daily_card_enabled": false,
"jackpot_enabled": true,
"jackpot": {
"tiers": [
{
"tier": "MINI",
"label": "มินิแจ็คพอต",
"base_amount_thb": "10000.00",
"growth_per_day_thb": "500.00",
"seeded_at": "2026-07-01T00:00:00.000Z"
},
{
"tier": "GRAND",
"label": "แกรนด์แจ็คพอต",
"base_amount_thb": "1000000.00",
"growth_per_day_thb": "5000.00",
"seeded_at": "2026-06-15T00:00:00.000Z"
}
],
"recent_winners": [
{
"tier": "MINI",
"member_masked": "abc***",
"amount_thb": "12500.00",
"won_at": "2026-07-01T18:22:41.000Z"
}
]
}
},
"request_uuid": "c58f2a94-3d17-4b60-8e2c-9a4f7b1d0e35"
}Possible error codes
| code | Name | HTTP | Message |
|---|---|---|---|
| 4002 | BAD_REQUEST | 400 | Bad requestUnknown agent domain, or the site is not configured / deactivated |