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

FieldValueRemarks
user_idintegerThe unique identifier of the user for whom notifications are being fetched.
limitintegerOptional. The number of results to return per request. Default is 20.
offsetintegerOptional. The starting point for the results. Used for pagination.
typestringOptional. 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 and offset) 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.