Retrieve Profile Map View 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/profiles/{profile_id}

Returns a profile's map-view settings: whether map views are enabled, its monthly map-view threshold, and whether it has a Mapbox token. The token itself is never returned.

allocated is the sum of every profile's threshold on the server, enabled or not; unallocated is server_mapview_limit minus allocated, or null when the server has no cap (a negative server_mapview_limit).

Authorization

Internal API clients only, and SERVER users only, whatever the server's ZWS mode.

Headers

  • Authorization string

    e.g. Bearer {access_token}

Path parameters

  • profile_id integer Required

    id of the profile

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • profile_id integer Required
    • enabled boolean Required

      whether map views are enabled for the profile

    • threshold integer Required

      the profile's monthly map-view threshold

    • has_token boolean Required

      true when the profile has a Mapbox token

    • server_mapview_limit integer Required

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

    • allocated integer Required

      the sum of every profile's threshold on the server

    • unallocated integer | null Required

      server_mapview_limit minus allocated; null when the server has no cap

  • 401

    Unauthorized - missing or invalid bearer token.

  • 403

    Forbidden - the client is not internal, or the user is not a SERVER user.

  • 404

    Not Found - the profile does not exist or has no company info.

  • 409

    Conflict - Mapbox is not enabled on this server.

GET /mapbox/profiles/{profile_id}
curl \
 --request GET 'https://api.iformbuilder.com/exzact/api/v81/[servername]/mapbox/profiles/123456' \
 --header "Authorization: Bearer {access_token}"
Response examples (200)
{
  "profile_id": 123456,
  "enabled": true,
  "threshold": 500,
  "has_token": true,
  "server_mapview_limit": 2000,
  "allocated": 1500,
  "unallocated": 500
}