WebHook
Overview
WebHook is a callback mechanism that automatically sends a POST request to a specified URL when a user's account password is updated. This feature can be used to notify external systems or services, ensuring they can promptly obtain the latest account information.
Trigger Conditions
The system will trigger a WebHook callback when the account password is updated.
Request Method
- HTTP Method:
POST - Content-Type:
application/json - Request URL: The WebHook URL configured in personal information settings
Request Parameters
The request body is in JSON format and contains the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
body | string | Yes | Main content of the request, usually a notification message |
username | string | Yes | Account username |
password | string | Yes | Updated account password |
Request Example
json
{
"body": "Account password has been updated",
"username": "example_user",
"password": "new_password"
}