BizKitHub
DocsAPI ReferencePost Geo/bff/post-geo/sync
postPost GeoAdmin BFF

/bff/post-geo/sync

Replace-all writer for a post's per-country and per-continent allowlists. Unknown codes abort the whole request before any DELETE, so a typo can never leave the post in a partially-cleared state. Passing empty arrays clears every rule (post becomes globally available); omitting a field entirely leaves that axis untouched. Only supported for kind='post' — branch documents reject the call because their geo availability makes no semantic sense.

Post GeopostBffPost-geoSync

Parameters

JSON body

Request body

application/json
postIdstringRequired

Post external id.

countryCodesstring[]Optional

Full replacement set of country allowlist entries. Empty array clears all per-country rules. Omit the field entirely to leave the country axis untouched (partial edits — e.g. change only the continent list without touching country entries).

ISO 3166-1 alpha-2 code (uppercase or lowercase — server normalises).

continentCodesstring[]Optional

Full replacement set of continent allowlist entries. Empty array clears all per-continent rules. Omit to leave the continent axis untouched.

2-char continent code (AF/AN/AS/EU/NA/OC/SA).

Response schema

1 status code documented

200Success
success"true"Required
countryCodesstring[]Required
continentCodesstring[]Required

Response example

application/json
{
  "success": true,
  "countryCodes": [
    "string"
  ],
  "continentCodes": [
    "string"
  ]
}

Request example

POST /bff/post-geo/sync

post
curl -X POST "https://api.bizkithub.com/bff/post-geo/sync" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "postId": "example_postId",
  "countryCodes": [
    "string"
  ],
  "continentCodes": [
    "string"
  ]
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key