Create Location
POSThttps://a.klaviyo.com/api/locations
Create a physical location.
The location has to be placeable on a map: supply either a full address (address1, city, zip, and country, plus region in countries that have states or provinces, such as the US, Canada, and Australia), or both latitude and longitude. Klaviyo geocodes whatever is supplied and fills in the remaining address fields it can resolve, so latitude and longitude may be absent from the response until geocoding finishes — check geocode_status.
- Revision header
revision: 2026-10-15.prerequired- Scopes
locations:write- Rate limits
- Burst:
10/sSteady:150/m
Query parameters
For more information please visit API overview
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2026-10-15.pre
Request body
Content type: application/vnd.api+jsonrequired
Show 2 fields
Show 18 fields
Name of the location as it should appear to your team and in profile properties. Leading and trailing whitespace is stripped; the result must be non-empty. Maximum 255 characters.
First line of the street address.
Second line of the street address, such as a suite or floor.
City or town.
State, province, or other top-level administrative area.
Postal code.
Country name or ISO country code.
Latitude of the location. Supply with longitude to place a location that has no resolvable street address.
Enter a number. Until you do, the example request uses the example value.
Longitude of the location. Supply with latitude to place a location that has no resolvable street address.
Enter a number. Until you do, the example request uses the example value.
Your own category for this location, used to group locations in reporting. Maximum 50 characters.
Free-text description of the location.
Web page for this location. Maximum 500 characters.
Public phone number for this location. Maximum 20 characters.
Public contact email address for this location. Maximum 255 characters.
Name of the person responsible for this location. Maximum 255 characters.
Email address of the person responsible for this location. Maximum 255 characters.
Amenities or capabilities offered at this location.
Value written to the location profile property on profiles associated with this location. Defaults to the location name when omitted. Maximum 500 characters.
Responses
201Success
Content type: application/vnd.api+json
Show 5 fields
Primary key that uniquely identifies this location.
Show 21 fields
Name of the location.
First line of the street address.
Second line of the street address, such as a suite or floor.
City or town.
State, province, or other top-level administrative area.
Postal code.
Country name or ISO country code.
Latitude of the location, resolved by geocoding when not supplied directly.
Longitude of the location, resolved by geocoding when not supplied directly.
Whether the supplied address has been resolved to coordinates. Locations still
pendingorqueuedhave no latitude or longitude yet, and locations thatfailedgeocoding cannot be used for proximity segmentation.Your own category for this location.
Free-text description of the location.
Web page for this location.
Public phone number for this location.
Public contact email address for this location.
Name of the person responsible for this location.
Email address of the person responsible for this location.
Amenities or capabilities offered at this location.
Value written to the location profile property on profiles associated with this location.
Number of profiles currently associated with this location. Recomputed periodically, so it lags recent segment membership changes.
Number of segments linked to this location. Available via
?include=segments.
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json