List notifications
curl --request GET \
--url https://api.interchange.io/api/v2/notifications \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"notifications": [
{
"id": "<string>",
"type": "brand_agent.created",
"status": "success",
"read": true,
"acknowledged": true,
"messagePreview": "<string>",
"actionUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"totalCount": 4503599627370495,
"unreadCount": 4503599627370495,
"hasMore": true
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Notifications
List notifications
List notifications for the authenticated user, newest first, with unread/acknowledged filtering and pagination. The response includes the total and unread counts.
GET
/
notifications
List notifications
curl --request GET \
--url https://api.interchange.io/api/v2/notifications \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.interchange.io/api/v2/notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.interchange.io/api/v2/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"notifications": [
{
"id": "<string>",
"type": "brand_agent.created",
"status": "success",
"read": true,
"acknowledged": true,
"messagePreview": "<string>",
"actionUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"totalCount": 4503599627370495,
"unreadCount": 4503599627370495,
"hasMore": true
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Authorizations
API key or access token
Query Parameters
Available options:
success, error, warning, info Available options:
true, false Required range:
1 <= x <= 100Required range:
x >= 0Response
List notifications
Paginated list of notification summaries
Notifications projected to the summary shape. Use the notification detail endpoint for the full data payload.
Show child attributes
Show child attributes
Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991