TTWrite API Documentation: change_password Endpoint

This document provides instructions for using the change_password endpoint to manage user passwords in the TTWrite API.


API Endpoint: Change Password

API Endpoint

  • URL: mobile_api/change_password

Description

This API allows users to update their account password by providing their current password and a new password.


Post Parameters

FieldValueRemarks
session_idAccess token IDExample: de25cc16eb00960f076...
old_passwordUser’s current passwordExample: 123456
new_passwordUser’s new passwordExample: newpassword123

Notes

  • Ensure the session_id corresponds to the authenticated user.
  • The old_password must match the current password for the change to be successful.
  • The new_password should meet password policy requirements (if any exist).