Workflows

Rotate a workflow's signing secret

A new secret signs its webhook steps from now on (the old one stops at once); the answer is the only place it is shown to a dashboard member. Audited `workflow.rotate_secret`.

POST
/workflows/{id}/signing-secret/rotate

A new secret signs its webhook steps from now on (the old one stops at once); the answer is the only place it is shown to a dashboard member. Audited workflow.rotate_secret.

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid

Response Body

Success

application/json
  1. response

A new signing secret.

object*string
signing_secret*string
workflow_id*string
Formatuuid
Example Request
curl -X POST 'https://api.exx.sh/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/signing-secret/rotate'
Example Response
{  "object": "string",  "signing_secret": "string",  "workflow_id": "03e70e31-d7a4-4401-a629-6a4b6096cdfe"}