Skip to main content
GET
/
frontend
/
style
Get frontend style
curl --request GET \
  --url https://api.thehaystack.ai/v2/haystack/frontend/style \
  --header 'Authorization: Bearer <token>'
{
  "collectionId": 123,
  "language": "<string>",
  "style": {
    "homePage": {},
    "navigation": {},
    "searchBanner": {}
  }
}

Authorizations

Authorization
string
header
required

Enter your API token from the Haystack dashboard

Query Parameters

embedToken
string

Response

200 - application/json

Frontend style config

collectionId
integer | null
language
string

Language code, e.g. "en"

style
object