Headers and parameters headers-and-parameters
Here are the details about the headers and parameters that are available in the Places Service REST API:
Supported headers
Header
Description
Method
Example
AuthorizationYour bearer token
All
x-api-keyYour API key
All
19776964b4cde49e08d8f62e5824f777bx-gw-ims-org-idYour org ID
All
18FB61145BAC2FFB0A494777@AdobeOrgContent-TypeFormat of content sent or received
PUT, POST
application/jsonAccept-LanguageLanguage used for error messages
Optional
en-USLibrary parameters
Parameter
Description
Type
Limit
Request or Response
Example
idID of library
assigned
n/a
Response
"id": "b2488788-2d2a-462b-b1a2-305272777dda"nameName of the library
string
256 characters
both, required in request
"name": "Amazing Places"orgIDExperience cloud orgID of the organization
assigned
n/a
Response
"orgID": "777F20F55BACA09E0A495D8F@AdobeOrg"poiCountNumber of POIs in library
integer
150,000 max
Response
"poiCount": 25149metadataDescriptorsCount for each unique POI metadata key value pair
mixed
n/a
Response
poiCountInCitiesCount for each unique POI city value
mixed
n/a
Response
POI parameters
Parameter
Description
Type
Limit
Request or Response
Example
dataPoi data
Array of POI details
n/a
both
idID of POI
assigned
n/a
response
"id": "1455462b-7f9c-4220-9f42-5bbce777a0d1"nameName of the POI
string
512 characters
both, optional*
"name": "My Favorite Place"descriptionDescription of the POI
string
512 characters
both, optional*
"description": "This is a very good place."locationArray of type and coordinates of POI
array (mixed)
n/a
both
"location": {"type": "Point", "coordinates": [-122.201007, 37.604713]typeType of POI
string
only “Point” currently supported
both, required in request
"type": "Point"coordinatesArray of longitude and latitude of POI
array (float)
longitude: -180 to 180, latitude -85 to 85
both, required in request
"coordinates": [-122.201007, 37.604713]radiusSize of circular geofence around POI
float
10 - 2000 meters
both, required in request
"radius": 100countryCountry for the POI
string
32 characters
both, optional*
"country": "United States"stateState for the POI
string
32 characters
both, optional*
"state": "California"cityCity for the POI
string
32 characters
both, optional*
"city": "San Jose"streetStreet address for the POI
string
256 characters
both, optional*
"street": "122 Woz Way"categoryCategory for the POI
string
100 characters
both, optional*
"category": "cafe"iconIcon for the POI
string
50 characters
both, optional*
"icon": "star"colorColor for the POI
string
8 characters
both, optional*
"color": "blue"metadataArray of key/value pairs for the POI
array(string)
key: 256 characters, value: 256 characters, maximum of 10 pairs
both, optional*
"metadata": {"region": "Equator"}lib_idID of the library the POI is in
n/a
n/a
both, required
"lib_id": "ac7a0b25-c6c2-43ba-bbc6-2b1777b80fe9"- If the parameter value is not included, the value is set to
emptyin database. If the existing key/value pair is not included, the key/value pair is removed for that POI in the database.
recommendation-more-help
475fad96-f29f-4dca-a109-68bf0557e825