Returns the server's Mapbox integration settings. The Mapbox secret key is never returned: api_key_last4 carries its last four characters only (null when no key is stored, "" when the stored key is four characters or shorter).
map_types lists the map types map_type may take. server_mapview_limit is the server-wide map-view cap; a negative value means no cap.
Authorization
Internal API clients only. On a ZWS-integrated server, COMPANY and SERVER users are allowed; on any other server, SERVER users only. The role check runs before the enabled check, so a disallowed user gets 403 even when Mapbox is disabled.
GET
/mapbox/settings
curl \
--request GET 'https://api.iformbuilder.com/exzact/api/v80/[servername]/mapbox/settings' \
--header "Authorization: Bearer {access_token}"
Response examples (200)
{
"enabled": true,
"user": "zerion",
"api_key_last4": "9XyZ",
"map_type": "streets-v11",
"map_types": [
"streets-v11",
"satellite-v9"
],
"profile_default_threshold": 500,
"server_mapview_limit": 2000
}