Skip to main content
POST
/
workspaces
/
{id}
/
webhooks
/
rotate-secret
Rotate workspace webhook secret
curl --request POST \
  --url https://api.firma.dev/functions/v1/signing-request-api/workspaces/{id}/webhooks/rotate-secret \
  --header 'Authorization: <api-key>'
{
  "message": "<string>",
  "new_secret": "<string>",
  "grace_period_hours": 123,
  "warning": "<string>"
}

Authorizations

Authorization
string
header
required

API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.

Path Parameters

id
string<uuid>
required

Workspace ID

Response

Secret rotated successfully

message
string
new_secret
string
grace_period_hours
integer
warning
string