---
title: "Rotate Webhook Secret Endpoint"
method: POST
path: "/v1/sources/{source_id}/webhook-secret/rotate"
tags: ["sources"]
---

# Rotate Webhook Secret Endpoint

`POST /v1/sources/{source_id}/webhook-secret/rotate`

## Request

- Base URL: `https://api.actionbox.cloud`
- URL: `https://api.actionbox.cloud/v1/sources/{source_id}/webhook-secret/rotate`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `actionbox_session`

Rotate a Source callback secret; the raw secret is returned once.

## Path parameters

- `source_id` string, required

## Headers

- `x-user-id` string, nullable
- `authorization` string, nullable
- `X-Actionbox-Client` string, nullable

## Cookies

- `actionbox_session` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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