- 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
- Introduction
- Users
- Conversations
- Notifications
- Subunits Scopes
- 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 Notifications
GET
https://api.mpc.dev.placewise.com/v1/users/me/notifications
API Permit:Notifications:Api:Users:Notifications:Index
API Context:Customer
Authorizations:User
Request
Query Params
seen
booleanÂ
optional
Example:
true
per_page
integerÂ
optional
sort_directions[]
enum<string>Â
optional
Allowed values:
ASCDESC
Default:
DESC
Examples:
ASCDESC
Header Params
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 -g --request GET 'https://api.mpc.dev.placewise.com/v1/users/me/notifications?seen=true&per_page=&page_no=1&sort_by[]=id&sort_directions[]=DESC' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Locale: pl'
Responses
🟢200Success
application/json
Body
not_seen_notifications_count
integerÂ
required
>= 0
Example:
5
notifications
array[object (UserNotification) {9}]Â
required
id
integer <uint64>
read-onlyrequired
Example:
1
app_module
stringÂ
required
Example:
operations_documents
type
enum<string>Â
required
Allowed value:
operations_alert_accepted
Example:
operations_alert_accepted
body
stringÂ
required
Example:
APPROVED: Holiday promo coupon 10% discount
url
stringÂ
required
Example:
447;type=customer/resources/details/23
occurred_at
string <date-time>
required
Example:
2022-11-09T16:25:58.099512Z
created_at
string <date-time>
read-onlyrequired
Example:
2022-11-05T16:25:58.099512Z
received_at
required
seen_at
required
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
{
"not_seen_notifications_count": 5,
"notifications": [
{
"id": 1,
"app_module": "operations_documents",
"type": "operations_alert_accepted",
"body": "APPROVED: Holiday promo coupon 10% discount",
"url": "447;type=customer/resources/details/23",
"occurred_at": "2022-11-09T16:25:58.099512Z",
"created_at": "2022-11-05T16:25:58.099512Z",
"received_at": "2022-11-09T16:25:58.099512Z",
"seen_at": "2022-11-09T16:25:58.099512Z"
}
],
"pagination_info": {
"count": 1000,
"total_count": 2050,
"per_page": 1000,
"total_pages": 3,
"current_page": 1,
"next_page": 2,
"prev_page": null,
"is_first_page": true,
"is_last_page": false,
"is_out_of_range": false,
"offset": 0
}
}
Modified at 2024-12-09 08:32:06