Category: API

TTWrite API: Vote Polls

Endpoint URL //ttwrite.4up.eu/mobile_api/vote_polls Description This API allows users to cast their votes in polls created on the TTWrite platform. Parameters Field Value Remarks poll_id integer The unique identifier of the poll being voted on. option_id integer The unique identifier of the selected poll option. Example Usage httpCopy codePOST //ttwrite.4up.eu/mobile_api/vote_polls Content-Type:Read More

TTWrite API: Thread Data

The Thread Data API suite provides endpoints for retrieving detailed thread data and loading replies to posts in a thread. 1. Fetch Thread Data Endpoint URL //ttwrite.4up.eu/mobile_api/thread_data Description This API retrieves the main post and its associated thread data, including replies to the post. Parameters Field Value Remarks thread_id integerRead More

TTWrite API: Search Posts

Endpoint URL //ttwrite.4up.eu/mobile_api/search_posts Description This API allows users to search for posts based on keywords or phrases, enabling content discovery on the platform. Parameters Field Value Remarks query string The search term or keyword for finding posts. limit integer Optional. The number of results to return. Default is 20. offsetRead More

TTWrite API: Search People

Endpoint URL //ttwrite.4up.eu/mobile_api/search_people Description This API allows users to search for people on the TTWrite platform by name or username, facilitating user discovery. Parameters Field Value Remarks query string The search term, such as a name or username, for finding people. limit integer Optional. The number of results to return.Read More

TTWrite API: Search Hashtags

Endpoint URL //ttwrite.4up.eu/mobile_api/search_hashtags Description This API allows users to search for hashtags and retrieve a list of matching results, which can be used for content discovery and categorization. Parameters Field Value Remarks query string The search term or keyword for finding hashtags. limit integer Optional. The number of results toRead More

TTWrite API: Save Notification Token

Endpoint URL //ttwrite.4up.eu/mobile_api/save_pnotif_token Description This API allows users to register or update their notification token, enabling push notifications for updates, alerts, and messages. Parameters Field Value Remarks user_id integer The unique identifier of the user. device_id string The unique identifier for the user’s device. notification_token string The notification token generatedRead More

TTWrite API: Reset User Password

Endpoint URL //ttwrite.4up.eu/mobile_api/resetpassword Description This API allows users to reset their password by providing the necessary recovery details. Parameters Field Value Remarks email string The email address associated with the user account. reset_code string Optional. The code sent to the user’s email for verification. new_password string Optional. The new passwordRead More