Get notifications / Mentions
Please use this (https://gliqe.com/mobile_api/get_notifications) API for accessing the endpoint of fetching user notifications & mentions
Get parameters
Field | Value | Remarks |
---|---|---|
session_id | Access token ID | E.g. de25cc16eb00960f076... |
type | Notification type (notifs/mentions) | E.g. `notifs` |
page_size | Total records limit for each request | Recommended: 20 |
offset | Last record offset ID | This is only needed when loading records of the pagination system. |
Success response
{
"code": 200,
"message": "Fetched successfully",
"data": [
{
"id": 36,
"notifier_id": 73,
"recipient_id": 7,
"status": "0",
"subject": "subscribe",
"entry_id": 73,
"json": "[]",
"time": "19 hours ago",
"username": "thomas_dugelman",
"avatar": "http://colibri.loc/upload/default/avatar.png",
"verified": "1",
"name": "Thomas Dugelman",
"url": "http://colibri.loc/@thomas_dugelman"
},
{...}
]
}
Error responses
{
"code": 401,
"data": [],
"message": "Unauthorized Access"
}
{
"code": 404,
"message": "No data found",
"data": []
}
{
"code": 400,
"message": "The type of notification is missing or invalid. Please check your details",
"data": []
}