Retrieve Mapbox Settings

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.zerionsoftware.com/doc/iformbuilder-v81/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "iFormBuilder V81 MCP server": {
    "url": "https://apidocs.zerionsoftware.com/doc/iformbuilder-v81/mcp"
  }
}

Close
GET /mapbox/settings

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.

Headers

  • Authorization string

    e.g. Bearer {access_token}

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • enabled boolean Required

      always true; a disabled server answers 409

    • user string Required

      the Mapbox account user name

    • api_key_last4 string | null Required

      the last four characters of the stored key; null when none is stored, "" when the key is four characters or shorter

    • map_type string Required

      the default map type

    • map_types array[string] Required

      the map types map_type may take

    • profile_default_threshold integer Required

      the default map-view threshold for a new profile

    • server_mapview_limit integer Required

      the server-wide map-view cap; negative means no cap

  • 401

    Unauthorized - missing or invalid bearer token.

  • 403

    Forbidden - the client is not internal, or the user's role is not allowed (see Authorization).

  • 409

    Conflict - Mapbox is not enabled on this server.

GET /mapbox/settings
curl \
 --request GET 'https://api.iformbuilder.com/exzact/api/v81/[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
}