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
| Parameter | Type | Required | Description |
|---|---|---|---|
startDate | string | ✅ | Start date of the range (YYYY-MM-DD) |
endDate | string | ✅ | End date of the range (YYYY-MM-DD) |
Request Headers
| Header | Value | Description |
|---|---|---|
Authorization | Bearer <token> | Authentication token |
Note: This endpoint does not accept a request body.
Response
Success Response (HTTP 200)
filters: List of available geographic filterskey: Identifier for the filterlabel: Display name for the filterstates: 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 theAuthorization header.
Example Request (cURL)
Example Request (JavaScript - fetch)
Notes
- Returned filters may include a
statesarray only when applicable (US regions). - Dates must be in
YYYY-MM-DDformat.