Skip to main content

Geo Map Filters

Returns a list of geographic filter options based on the specified date range.

Endpoint

GET /hubspot/stats/geo-map-filters/:startDate/:endDate

URL Parameters

Request Headers

Note: This endpoint does not accept a request body.

Response

Success Response (HTTP 200)

  • filters: List of available geographic filters
    • key: Identifier for the filter
    • label: Display name for the filter
    • states: List of US states when applicable (empty for non-US entries)

Error Response (HTTP 400–500)

Any non-200 status code indicates an error.

Authentication

Provide a valid token using the Authorization header.

Example Request (cURL)

Example Request (JavaScript - fetch)

Notes

  • Returned filters may include a states array only when applicable (US regions).
  • Dates must be in YYYY-MM-DD format.