- Overview
- Introduction
- Hosts
- Global Headers
- Common HTTP Error Codes
- API Permits
- Authorization
- API Contexts
- Common Concepts
- Common Models
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Management API
- Introduction
- Core
- Applications
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- SMS Sender Identities
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- Members
- Listing Members
- Member Profile
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Stores
- Offers
- Rewards
- Triggerer
- CMS
- Introduction
- Pages
- Components
- Website
- Website Domains
- Venue Info
- Landing Pages
- Landing Page Templates
- Articles
- Events
- Events Groups
- Job Postings
- Press Releases
- Tags
- Service Messages
- Content Prototypes
- ContentPrototype Model
- List Content Prototypes
- Show Content Prototype
- Create Content Prototype
- Update Content Prototype
- Destroy Content Prototype
- List Organization Content Prototypes
- Show Organization Content Prototype
- Create Organization Content Prototype
- Update Organization Content Prototype
- Destroy Organization Content Prototype
- Mixed Content
- Attachments
- Events
- Games
- Scraper
- Files
- Receipts
- Users API
- Operations API
- Introduction
- Manager API
- Tenant API
- Messaging API
- Data API
- ML API
- Introduction
- Predict Sending KPI v1
- Explain Sending KPI Prediction v1
- Predict Sending KPI In Date Range v1
- Predict Sending Popularity v2
- Predict Sending Text Popularity v2
- Predict Sending Time Series Popularity v2
- Explain Sending Popularity Prediction v2
- Explain Sending Text Popularity Prediction v2
- Explain Sending Time Series Popularity Prediction v2
- Recommend sending time v2
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
List places
Pending
POST
https://api.mpc.dev.placewise.com/v1/locations/places/list
API Permit:Geo:Api:Locations:Places:Index
API Context:Global
Authorizations:UserToken
Request
Query Params
per_page
integerÂ
optional
Header Params
X-Client-Authorization
stringÂ
optional
Default:
{{API_TOKEN}}
Body Params application/json
country
stringÂ
optional
precision
enum<string>Â
optional
Allowed values:
citypostcode
ids
arrayÂ
optional
cities
array[string]
optional
postcodes
array[string]
optional
radius
integerÂ
optional
latitude
numberÂ
optional
longitude
numberÂ
optional
Example
{
"country": "string",
"precision": "city",
"ids": [
1
],
"cities": [
"string"
],
"postcodes": [
"string"
],
"radius": 0,
"latitude": 0,
"longitude": 0
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/locations/places/list?per_page=&page_no=1' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
places
array[object (Place) {14}]Â
required
id
integer <uint64>
read-onlyrequired
Example:
1
precision
enum<string>Â
required
Allowed values:
citypostcode
postcode
string  | nullÂ
required
city
string  | nullÂ
required
district
string  | nullÂ
required
state
string  | nullÂ
required
suburb
string  | nullÂ
required
county
string  | nullÂ
required
latitude
stringÂ
required
longitude
stringÂ
required
polygon
array [array]  | nullÂ
required
created_at
string <date-time>
read-onlyrequired
Example:
2022-11-05T16:25:58.099512Z
updated_at
string <date-time>
read-onlyrequired
Example:
2022-11-15T16:25:58.099512Z
pagination_info
object (PaginationInfo)  | nullÂ
read-onlyrequired
count
integerÂ
read-onlyrequired
Example:
1000
total_count
integerÂ
required
>= 1
Example:
2050
per_page
integerÂ
read-onlyrequired
Example:
1000
total_pages
integerÂ
read-onlyrequired
Example:
3
current_page
integerÂ
read-onlyrequired
Example:
1
next_page
integer  | nullÂ
read-onlyrequired
Example:
2
prev_page
integer  | nullÂ
read-onlyrequired
Example:
null
is_first_page
booleanÂ
read-onlyrequired
Example:
true
is_last_page
booleanÂ
read-onlyrequired
Example:
false
is_out_of_range
booleanÂ
read-onlyrequired
per_page
param out of range?Example:
false
offset
integerÂ
read-onlyrequired
Example:
0
Example
{
"places": [
{
"id": 1,
"precision": "city",
"country": "NO",
"postcode": "51912",
"city": "South Laurettastead",
"district": "Fort Felix",
"state": "Oregon",
"suburb": "Velma Point",
"county": "Clay County",
"latitude": "-25.3364",
"longitude": "-152.5065",
"polygon": null,
"created_at": "2022-11-05T16:25:58.099512Z",
"updated_at": "2022-11-15T16:25:58.099512Z"
},
{
"precision": "city",
"country": "NO",
"postcode": "02962",
"city": "Lake Maximillianfort",
"district": "East Mya",
"state": "North Dakota",
"suburb": "Kaela Glens",
"county": "Lincoln County",
"latitude": "-14.3785",
"longitude": "-141.699",
"polygon": [
[
25.9829,
83.5864
],
[
-52.6075,
-88.4505
]
]
}
],
"pagination_info": {
"total_count": 2050
}
}
🟠422Invalid Parameters
Modified at 2025-02-19 11:04:46