Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/reference/get_location_hub_setting_beta.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/get_location_hub_setting_beta.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-10-15

This endpoint is in beta. Call it with the revision header 2026-10-15.pre. Beta endpoints may change before they're generally available. See our versioning and deprecation policy for more information.

Get Location Hub Setting

GEThttps://a.klaviyo.com/api/location-hub-settings/{id}

Get Location Hub settings for an account.

The resource id is the account id. Returns the effective profile property key name Location Hub uses when linking profiles to locations.

Revision header
revision: 2026-10-15.prerequired
Scopes
locations:read
Rate limits
Burst: 10/sSteady: 150/m

Path parameters

  • id#stringrequired

Query parameters

  • fields[location-hub-setting]#string[]

    For more information please visit API overview

    Allowed values:
    • id
    • profile_property_key_name

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2026-10-15.pre

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • location-hub-setting
    • id#stringrequired

      The account identifier for these settings.

      Example: abCdEf

    • attributes#objectrequired
      Show 1 field
      • profile_property_key_name#stringrequired

        Profile property key Location Hub writes when linking a profile to a location.

        Example: nearest_location

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string