BizKitHub
DocsAPI ReferencePost/bff/post/view-geo
getPostAdmin BFF

/bff/post/view-geo

Aggregates content__post_contact_view through brj__geo_ip → brj__geo_ip_city and returns the ten (country, city) pairs with the highest unique-contact view count. Rows are only present when logged-in contacts viewed the post with geo data resolved. Returns an empty items array when no data exists yet.

PostgetBffPostView-geo

Parameters

1 query

Query parameters

· 1
idstringRequired

Post external ID.

ExampleaBcDeFgH12345678

Response schema

1 status code documented

200Success
itemsobject[]Required
Each array item:
countrystringRequired
ExampleCzech Republic
citystringRequired
ExamplePrague
countnumberRequired
Example25

Response example

application/json
{
  "items": [
    {
      "country": "Czech Republic",
      "city": "Prague",
      "count": 25
    }
  ]
}

Request example

GET /bff/post/view-geo

get
curl -X GET "https://api.bizkithub.com/bff/post/view-geo?id=aBcDeFgH12345678" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key