Notifications
List Notifications
GET /notifications — Infipost Public API
Get paginated notifications for your organization, sorted by most recent first. Returns 100 notifications per page.
cURL
curl --request GET \
--url 'https://api.infipost.asia/public/v1/notifications' \
--header 'Authorization: YOUR_API_KEY'Authorization
Authorizationstring · headerrequiredWorkspace API key or OAuth access token. Send the token directly without a Bearer prefix.
Parameters
pageinteger · queryPage number (0-indexed). Defaults to 0.
Response
Paginated list of notifications
application/json
{
"notifications": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"content": "Your post to X was published successfully",
"link": null,
"createdAt": "2025-01-15T10:30:00.000Z"
},
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"content": "Failed to publish post to LinkedIn",
"link": null,
"createdAt": "2025-01-15T09:15:00.000Z"
}
],
"total": 250,
"page": 0,
"limit": 100,
"hasMore": true
}notificationsarray[]Show child attributes
idstringUnique notification ID
contentstringNotification message
linkstringOptional link associated with the notification
createdAtstringWhen the notification was created
totalintegerTotal number of notifications
pageintegerCurrent page number (0-indexed)
limitintegerNumber of notifications per page (always 100)
hasMorebooleanWhether there are more pages available
Bài viết này có hữu ích không?