Updates the information about the webhook settings in Store. Check webhooks documentation to learn more.
project_id required | integer Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 |
Information about webhook settings.
url required | string URL of your server for receiving Game services webhooks. The URL must be publicly accessible and use the HTTPS protocol, for example For Game services webhooks, the setting specified in this API call takes precedence over the setting configured in Publisher Account in Project Settings > Webhooks section. |
secret required | string The project secret key for signing Game services webhooks. For Game services, the key specified in this API call takes precedence over the key generated in Publisher Account in Project Settings > Webhooks section. |
is_enabled required | boolean Whether Game services webhooks are enabled. For Game services webhooks, the setting specified in this API call takes precedence over the setting configured in Publisher Account in Project Settings > Webhooks section. |
version | integer Webhooks version. In version |
Information about webhook settings was successfully updated.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
Information about webhook settings with passed project_id
does not exists. Make sure you used correct project_id
or created webhook earlier.
Information about webhook settings contains empty URL.
{- "secret": "my_secret_key",
- "is_enabled": true,
- "version": 1
}
{- "statusCode": 401,
- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred"
}