Skip to content

Public client configuration

GET
/v1/public-config
curl --request GET \
--url https://api.frontmail.dev/v1/public-config

No key needed, cacheable. Frontmail’s shared Turnstile site key for native apps and the base URL its WebView must use (@frontmail/react-native reads it when no own siteKey is passed).

Public configuration.

Media typeapplication/json
object
turnstile
required
object
mobileSiteKey
required

Site key of Frontmail’s shared Turnstile widget for native apps (null when not configured).

string | null
mobileBaseUrl
required

Base URL the native Turnstile WebView must load with (a hostname of that widget).

string | null
Example
{
"turnstile": {
"mobileBaseUrl": "https://mobile.frontmail.dev"
}
}