# Update information about webhook settings Updates the information about the webhook settings in Store. Check webhooks documentation to learn more. Endpoint: PUT /v2/project/{project_id}/admin/webhook Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 ## Request fields (application/json): - `url` (string, required) URL of your server for receiving [Game services](/webhooks/operation/successful-order-payment/) webhooks. The URL must be publicly accessible and use the HTTPS protocol, for example https://example.com. You can also specify the URL you find in any tool for testing webhooks. For [Game services](/webhooks/operation/successful-order-payment/) webhooks, the setting specified in this API call takes precedence over the setting configured in Publisher Account in [Project Settings > Webhooks](https://publisher.xsolla.com/0/projects/0/edit/webhooks/) section. Example: "http://site.ru/webhook" - `secret` (string, required) The project secret key for signing [Game services](/webhooks/operation/successful-order-payment/) webhooks. For [Game services](/webhooks/operation/successful-order-payment/), the key specified in this API call takes precedence over the key generated in Publisher Account in [Project Settings > Webhooks](https://publisher.xsolla.com/0/projects/0/edit/webhooks/) section. Example: "my_secret_key" - `is_enabled` (boolean, required) Whether [Game services](/webhooks/operation/successful-order-payment/) webhooks are enabled. For [Game services](/webhooks/operation/successful-order-payment/) webhooks, the setting specified in this API call takes precedence over the setting configured in Publisher Account in [Project Settings > Webhooks](https://publisher.xsolla.com/0/projects/0/edit/webhooks/) section. Example: true - `version` (integer) Webhooks version. In version 2, the [items](/webhooks/operation/successful-order-payment/#!path=items&t=request) array includes the parameters is_free, is_bonus, and is_bundle_content, which are not present in version 1 (default). Enum: 1, 2 ## Response 401 fields (application/json): - `statusCode` (integer) Example: 401 - `errorCode` (integer) Example: 1020 - `errorMessage` (string) Example: "[0401-1020]: Error in Authentication method occurred" ## Response 204 fields ## Response 404 fields ## Response 422 fields