Get site config

Live
GET/api/v1/site/config

Fetch 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

FieldTypeRequiredDescription
Authorizationstring—Not used — this endpoint is public; no member token required
X-Api-KeystringYesAgent API key (ak_…) from the bo screen
X-TimestampstringYesSigning time in unix milliseconds (±300s skew allowed)
X-NoncestringYesUnique per-request value (UUIDv4) for replay protection
X-SignaturestringYeshex(HMAC-SHA256(secret, canonical)) — see the Authentication page
X-Player-IPstring—The player's real IP (IPv4/IPv6) — recommended (used in login history)
X-Player-UAstring—The player's User-Agent (optional — recorded in login history)
X-Request-Idstring—Your correlation id — echoed back as request_uuid (recommended)
x-langstring—th (default) or en — the language of message

Response

Fields in data

FieldTypeRequiredDescription
templatestring—The website template the agent selectedCLASSIC | MODERN | PREMIUM
brand_namestring—Site brand name
logo_urlstring | null—Logo URL (already resolved to a displayable URL)
favicon_urlstring | null—Favicon URL
primary_colorstring—Primary theme color (hex)
secondary_colorstring | null—Secondary color (hex)
background_image_urlstring | null—Background image URL
background_colorstring | null—Background color (hex)
header_colorstring | null—Header color (hex)
footer_colorstring | null—Footer color (hex)
header_stylestring | null—Background style for the header: SOLID uses header_color, GRADIENT uses the pair below, null means SOLIDSOLID | GRADIENT
header_gradient_fromstring | null—Gradient start colour for the header (hex) — present when header_style is GRADIENT
header_gradient_tostring | null—Gradient end colour for the header (hex)
header_gradient_anglenumber | null—Gradient angle for the header (0-360) — null means 180 (top to bottom)
footer_stylestring | null—Background style for the footer: SOLID uses footer_color, GRADIENT uses the pair below, null means SOLIDSOLID | GRADIENT
footer_gradient_fromstring | null—Gradient start colour for the footer (hex) — present when footer_style is GRADIENT
footer_gradient_tostring | null—Gradient end colour for the footer (hex)
footer_gradient_anglenumber | null—Gradient angle for the footer (0-360) — null means 180 (top to bottom)
homepage_banner_urlsstring[]—Homepage carousel banner URLs (in display order)
info_strip_enabledboolean—Whether the four selling-point cards at the foot of the home page are shown
info_strip_1_titlestring | null—Headline for card 1 — null means your site supplies its own wording for that card
info_strip_1_icon_urlstring | null—URL of the icon the agent uploaded for card 1 — null means your site supplies its own
info_strip_1_descstring | null—Description for card 1 — same null condition as the headline
info_strip_2_titlestring | null—Headline for card 2 — null means your site supplies its own wording for that card
info_strip_2_icon_urlstring | null—URL of the icon the agent uploaded for card 2 — null means your site supplies its own
info_strip_2_descstring | null—Description for card 2 — same null condition as the headline
info_strip_3_titlestring | null—Headline for card 3 — null means your site supplies its own wording for that card
info_strip_3_icon_urlstring | null—URL of the icon the agent uploaded for card 3 — null means your site supplies its own
info_strip_3_descstring | null—Description for card 3 — same null condition as the headline
info_strip_4_titlestring | null—Headline for card 4 — null means your site supplies its own wording for that card
info_strip_4_icon_urlstring | null—URL of the icon the agent uploaded for card 4 — null means your site supplies its own
category_icon_slot_urlstring | null—URL of the icon the agent uploaded for the game category "Slots" — null means your site supplies its own
category_icon_arcade_urlstring | null—URL of the icon the agent uploaded for the game category "Arcade" — null means your site supplies its own
category_icon_live_casino_urlstring | null—URL of the icon the agent uploaded for the game category "Live casino" — null means your site supplies its own
category_icon_sports_urlstring | null—URL of the icon the agent uploaded for the game category "Sports" — null means your site supplies its own
category_icon_fishing_urlstring | null—URL of the icon the agent uploaded for the game category "Fishing" — null means your site supplies its own
category_icon_lottery_urlstring | null—URL of the icon the agent uploaded for the game category "Lottery" — null means your site supplies its own
nav_icon_games_urlstring | 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_urlstring | 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_urlstring | 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_urlstring | 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_urlstring | 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_urlstring | 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_urlstring | 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_urlstring | null—URL of the icon the agent uploaded for the account-page button "Deposit" — null means your site supplies its own
account_icon_withdraw_urlstring | null—URL of the icon the agent uploaded for the account-page button "Withdraw" — null means your site supplies its own
account_icon_promotions_urlstring | null—URL of the icon the agent uploaded for the account-page button "Promotions" — null means your site supplies its own
account_icon_wheel_urlstring | 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_urlstring | 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_urlstring | 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_urlstring | 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_urlstring | 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_urlstring | 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_urlstring | 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_urlstring | 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_descstring | null—Description for card 4 — same null condition as the headline
announcement_enabledboolean—Whether the announcement bar is shown. False with a non-empty announcement_text means the agent switched it off without deleting the text.
announcement_textstring | null—The announcement bar's text
announcement_link_urlstring | null—Where the announcement bar links to — null means it is not clickable
announcement_stylestring | null—"STATIC" | "MARQUEE" — null means STATIC
homepage_banner_linksstring[]—Destination per banner, index-aligned with homepage_banner_urls ("" means that banner is not clickable)
footer_textstring | null—Footer text
popup_enabledboolean—Whether the homepage announcement popup is enabled
popup_image_urlstring | null—Popup image URL
popup_link_urlstring | null—Destination link when the popup is clicked
seo_titlestring | null—SEO page title
seo_descriptionstring | null—SEO description
seo_og_image_urlstring | null—Open Graph image URL for social sharing
seo_keywordsstring[]—SEO keywords
gtm_idstring | null—The agent's Google Tag Manager container id — null when unset, or while tracking is switched off platform-wide
facebook_pixel_idstring | null—The agent's Meta Pixel id — same null conditions as gtm_id
contact_line_urlstring | null—The agent's LINE Official Account link — null when unset
contact_telegram_urlstring | null—The agent's Telegram link — null when unset
livechat_embed_htmlstring | null—Raw embed snippet from the provider (agent-supplied) — sanitize before injecting into the page
otp_enabledboolean—Whether this agent requires OTP at signup — true = the register wizard must include request-otp → verify-otp
wheel_enabledboolean—Whether the lucky wheel is enabled — false = hide the menu
affiliate_enabledboolean—Whether the refer-a-friend program is enabled — false = hide the menu
diamond_enabledboolean—Whether the diamond shop is enabled — false = hide the menu
daily_card_enabledboolean—Whether the daily card game is enabled — false = hide the menu
jackpot_enabledboolean—true when at least one jackpot tier is enabled (display-only ticker, §15.21b)
jackpotobject—Display-only jackpot data — enabled tiers + recent winners
└ tiersobject[]—Enabled jackpot tiers, ordered MINI → MAJOR → GRAND
└ tierstring—Jackpot tierMINI | MAJOR | GRAND
└ labelstring | null—Agent-defined label for this tier
└ base_amount_thbstring—Base amount (THB, decimal string)
└ growth_per_day_thbstring—Growth per day (THB, decimal string)
└ seeded_atstring (ISO 8601)—Ticker reference time — reset on each win; used to compute the live value
└ recent_winnersobject[]—Up to 10 most-recent winners (newest first) for the homepage marquee
└ tierstring—Tier wonMINI | MAJOR | GRAND
└ member_maskedstring—Masked username (first 3 chars kept, e.g. abc***) — no PII
└ amount_thbstring—Amount won (THB, decimal string)
└ won_atstring (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

codeNameHTTPMessage
4002BAD_REQUEST400Bad requestUnknown agent domain, or the site is not configured / deactivated