Get Integration Config
GET
/api/integrations/config
const url = 'https://app.lionrapid.com/api/integrations/config?domain=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://app.lionrapid.com/api/integrations/config?domain=example'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”domain
required
Domain
string
Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
CustomerConfigResponse
Tier 1 — returned by GET /worker/config. No secrets, no KV prefix.
publicApiKey is the project’s publishable (pk_) key — designed to be
stamped into public HTML by the edge worker’s auto-init snippet. It is
NOT a secret, but it must never carry a master (sk_) key: the worker
fails the snippet closed unless the value is pk_-prefixed.
object
domain
required
Domain
string
projectId
required
Projectid
string
publicApiKey
Publicapikey
string
originHost
required
Originhost
string
originProtocol
required
Originprotocol
string
apiBaseUrl
required
Apibaseurl
string
defaultLanguage
required
Defaultlanguage
string
defaultNamespace
Defaultnamespace
string
enabledLanguages
required
Enabledlanguages
Array<string>
excludePaths
required
Excludepaths
Array<string>
authCookies
required
Authcookies
Array<string>
authPaths
required
Authpaths
Array<string>
minTextLength
required
Mintextlength
integer
htmlCacheTtl
required
Htmlcachettl
integer
kvCacheTtl
required
Kvcachettl
integer
outputBufferingEnabled
Outputbufferingenabled
boolean
switcher
required
editor
required
CustomerConfigEditorResponse
object
enabled
required
Enabled
boolean
cdnUrl
required
Cdnurl
string
snippet
required
CustomerConfigSnippetResponse
object
enabled
required
Enabled
boolean
cdnUrl
required
Cdnurl
string
active
required
Active
boolean
noindexLocales
Noindexlocales
Array<string>
cacheQueryAllowlist
Any of:
Array<string>
null
updatedAt
Updatedat
number
Example
{ "publicApiKey": "", "defaultNamespace": "default", "outputBufferingEnabled": true, "updatedAt": 0}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}