---
title: "Rotate webhook token"
method: POST
path: "/v1/automations/{automationId}/rotate-webhook-token"
tags: ["Automations"]
---

# Rotate webhook token

`POST /v1/automations/{automationId}/rotate-webhook-token`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/automations/{automationId}/rotate-webhook-token`
- Auth: HTTP bearer

## Path parameters

- `automationId` string, uuid, required

## Response `200`

New one-time webhook URL and token

- WebhookTokenRotatedResponse
  - `webhook_url` string, required
  - `webhook_token` string, required

## Other responses

- `400`: Invalid request
- `401`: Authentication required or invalid
- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
