TTWrite API: Get Notifications / Mentions
Endpoint URL
//ttwrite.4up.eu/mobile_api/get_notifications
Description
This API fetches notifications and mentions for the authenticated user, including updates about likes, comments, follows, and mentions.
Parameters
Field | Value | Remarks |
---|---|---|
user_id | integer | The unique identifier of the user for whom notifications are being fetched. |
limit | integer | Optional. The number of results to return per request. Default is 20. |
offset | integer | Optional. The starting point for the results. Used for pagination. |
type | string | Optional. Filter notifications by type (e.g., mentions , likes , follows ). |
Example Usage
httpCopy codeGET //ttwrite.4up.eu/mobile_api/get_notifications?user_id=123&limit=10&offset=0&type=mentions
Notes
- Authentication is required to access this API.
- Pagination parameters (
limit
andoffset
) are optional but recommended for managing large result sets. - Use the
type
parameter to filter notifications by specific categories such as mentions, likes, or follows.
admin December 9, 2024 fetch mentions TTWrite, fetch user activity, fetch user notifications, get mentions endpoint, get notifications API, mentions API TTWrite, notification filtering API, notification management TTWrite, notification types API, notifications and mentions API, notifications by type API, pagination in notifications API, TTWrite API, TTWrite likes notifications, TTWrite mentions functionality, TTWrite notifications endpoint, TTWrite user updates API, user activity API TTWrite, user interactions API, user notifications API API, Social Media, TTWrite Comments Off on TTWrite API: Get Notifications / Mentions