---
title: "Regenerate the token for the outgoing webhook."
method: POST
path: "/api/v4/hooks/outgoing/{hook_id}/regen_token"
tags: ["webhooks"]
---

# Regenerate the token for the outgoing webhook.

`POST /api/v4/hooks/outgoing/{hook_id}/regen_token`

Regenerate the token for the outgoing webhook.
##### Permissions
`manage_webhooks` for system or `manage_webhooks` for the specific team or `manage_webhooks` for the channel.

## Path parameters

- `hook_id` string, required

## Response `200`

Webhook token regenerate successful

- 38cb7293StatusOK
  - `status` string — Will contain "ok" if the request was successful and there was nothing else to return

## Other responses

- `400` — Invalid or missing parameters in URL or request body
- `401` — No access token provided
- `403` — Do not have appropriate permissions
- `404` — Resource not found

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
