> For the complete documentation index, see [llms.txt](https://developers.make.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.make.com/white-label-documentation/admin-api-reference/admin-hooks.md).

# Admin / Hooks

## Reset an expired webhook

> Recovers a webhook that the gateway flagged as expired ("gone") because no scenario was listening to it\
> for longer than the gone interval, for example after a scenario was deleted and later restored.\
> \
> The call clears the webhook's \`gone\` flag, refreshes its last-used timestamp so it is not expired again\
> on the next request, writes an audit trace, and broadcasts a message asking every gateway instance to drop the\
> webhook from its in-memory rejection cache so incoming requests are accepted without a gateway restart.\
> \
> The database change always wins: when the gateway broadcast fails, the response still succeeds and\
> reports \`gatewayNotified: false\`. The call is idempotent and can be repeated; resetting a webhook that is\
> not expired only refreshes its last-used timestamp.\
> \
> Requires the \`scenario edit\` admin permission.<br>

```json
{"openapi":"3.0.0","info":{"title":"Web API v2 - Public ","version":"1.0.0"},"tags":[],"servers":[{"url":"https://eu1.make.com/api/v2","description":"EU1 production zone"},{"url":"https://eu2.make.com/api/v2","description":"EU2 production zone"},{"url":"https://us1.make.com/api/v2","description":"US1 production zone"},{"url":"https://us2.make.com/api/v2","description":"US2 production zone"},{"url":"https://eu1.make.celonis.com/api/v2","description":"Celonis EU1 production zone"},{"url":"https://us1.make.celonis.com/api/v2","description":"Celonis US1 production zone"}],"security":[{"token":["admin:write"]}],"components":{"securitySchemes":{"token":{"type":"apiKey","name":"Authorization","in":"header","description":"Authorize the API call with your API token in the `Authorization` header with the value: `Token your-api-token`.\n\nIf you don't have an API token yet, please refer to the [\"Authentication\" section](/api-documentation/authentication) to learn how to create one.\n"}}},"paths":{"/admin/hooks/{hookId}/reset-gone":{"post":{"tags":["Admin / Hooks"],"summary":"Reset an expired webhook","description":"Recovers a webhook that the gateway flagged as expired (\"gone\") because no scenario was listening to it\nfor longer than the gone interval, for example after a scenario was deleted and later restored.\n\nThe call clears the webhook's `gone` flag, refreshes its last-used timestamp so it is not expired again\non the next request, writes an audit trace, and broadcasts a message asking every gateway instance to drop the\nwebhook from its in-memory rejection cache so incoming requests are accepted without a gateway restart.\n\nThe database change always wins: when the gateway broadcast fails, the response still succeeds and\nreports `gatewayNotified: false`. The call is idempotent and can be repeated; resetting a webhook that is\nnot expired only refreshes its last-used timestamp.\n\nRequires the `scenario edit` admin permission.\n","parameters":[{"name":"hookId","in":"path","required":true,"schema":{"type":"integer","minimum":1,"maximum":2147483647},"description":"The ID of the webhook. Use the `GET /hooks` API call to get the ID values of webhooks."}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","required":["success","gatewayNotified"],"properties":{"success":{"type":"boolean","description":"Always `true`; the webhook was reset in the database."},"gatewayNotified":{"type":"boolean","description":"Whether the broadcast was sent, that is, the message broker accepted it. It does not confirm that any gateway received it. When `false`, the webhook is reset in the database but the broadcast was not sent; repeat the call to retry it. Gateways that miss the broadcast pick up the reset within about 15 minutes anyway, because of their periodic rolling restart."}}}}}},"400":{"description":"The `hookId` path parameter is not a positive integer.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"suberrors":{"type":"array","description":"Individual validation failures reported by the parameter validator.","items":{"type":"object","required":["message","name"],"properties":{"message":{"type":"string"},"name":{"type":"string"}}}}}}}}},"401":{"description":"The access token lacks the `admin:write` scope, or authentication is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"403":{"description":"The caller is not an administrator or lacks the `scenario edit` admin permission.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"404":{"description":"No webhook with the given ID exists.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.make.com/white-label-documentation/admin-api-reference/admin-hooks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
