TTWrite API: Update User General Data
Endpoint URL
//ttwrite.4up.eu/mobile_api/gen_settings
Description
This API allows the logged-in user to update their general profile details, such as name, email, and other basic information.
Parameters
Field | Value | Remarks |
---|---|---|
name | string | Optional. The name of the user. |
email | string | Optional. The email address of the user. |
bio | string | Optional. A brief biography or description about the user. |
location | string | Optional. The user’s location. |
website | string | Optional. The user’s website URL. |
profile_pic | file | Optional. A file upload for updating the user’s profile picture. |
Example Usage
httpCopy codePOST //ttwrite.4up.eu/mobile_api/gen_settings
Content-Type: application/json
{
"name": "John Doe",
"email": "[email protected]",
"bio": "Tech enthusiast and writer.",
"location": "San Francisco, CA",
"website": "//johndoe.com"
}
Notes
- Authentication is required to access this API.
- Parameters are optional, and users can update only the fields they want to change.
- Ensure valid input values for fields like
email
andwebsite
. - For file uploads (e.g.,
profile_pic
), ensure the request is sent asmultipart/form-data
.
admin December 9, 2024 edit user details API, gen_settings API, general settings endpoint, profile picture upload API, profile update endpoint, TTWrite API, TTWrite API documentation, TTWrite authentication API, TTWrite general settings, TTWrite update endpoint, TTWrite user website update, update email API, update profile settings, update user data, update user location, update user name API, user bio update API, user data management, user profile update API, user settings API API, Social Media, TTWrite Comments Off on TTWrite API: Update User General Data