Category: API

TTWrite API: Report Post

Endpoint URL //ttwrite.4up.eu/mobile_api/publication_report Description This API allows users to report a publication for violating platform guidelines or other issues. Parameters Field Value Remarks post_id integer The unique identifier of the post being reported. reason string The reason for reporting the post (e.g., “spam”, “abuse”). additional_info string Optional. Any additional informationRead More

TTWrite API: Refresh Access Token

Endpoint URL //ttwrite.4up.eu/mobile_api/refresh_access_token Description This API allows users to refresh their access token, ensuring continued access to the platform without requiring a re-login. Parameters Field Value Remarks refresh_token string The refresh token issued during the initial authentication process. Example Usage httpCopy codePOST //ttwrite.4up.eu/mobile_api/refresh_access_token Content-Type: application/json { “refresh_token”: “eyJhbGc…dXNzIn” } Notes

TTWrite API: Repost Post

Endpoint URL //ttwrite.4up.eu/mobile_api/publication_repost Description This API allows users to repost a publication to their profile, similar to retweeting or sharing on other platforms. Parameters Field Value Remarks post_id integer The unique identifier of the post to be reposted. Example Usage httpCopy codePOST //ttwrite.4up.eu/mobile_api/publication_repost Content-Type: application/json { “post_id”: 12345 } Notes

TTWrite API: Messaging Endpoints

The TTWrite messaging API provides a robust set of endpoints to facilitate seamless communication between users. These endpoints allow developers to implement features like sending messages, retrieving chat histories, searching messages, and managing conversations. With support for multimedia attachments and efficient pagination, the messaging API ensures a smooth user experienceRead More

TTWrite API: Logout User

Endpoint URL //ttwrite.4up.eu/mobile_api/logout Description This API logs out the authenticated user, invalidating the current session token. Parameters Field Value Remarks None None No additional parameters are required. Example Usage httpCopy codePOST //ttwrite.4up.eu/mobile_api/logout Content-Type: application/json {} Notes Let me know if you need further refinements or additional details!