# Refresh a webhook subscription
This endpoint refreshes a webhook subscription.
You can make a request to this endpoint by using a
"refresh_url". This url is provided in every notification message as well as in the responses to requests to the confirm_webhook_subscription and refresh_webhook_subscription endpoint.
This endpoint does not require User Secret (API key) authorization.
|string||query string||Unique subscription token generated by the system.|
|integer, ||body||Time in seconds when the notification subscription expires. It is counted from the time of the creation of the subscription. The maximum and default value is 604800 seconds (7 days).|
|string||body||Client secret provided for the purpose of calculating a notification hash to be used for hash verification. It must be a URL-safe-Base64 compatible 16 character long string.|
"client_secret" parameter is optional and does not need to be included in the request body when refreshing subscriptions. If it is not included in the request body, the hash is not calculated and a
server_secret is not be returned in the response.
|callback_url||string||Target URL to which messages are to be delivered. It can have maximum 512 characters.|
# Status codes
Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status codes section.
Was this article helpful?