Skip to main content
POST
Rotate the signing secret: issue a new one and keep the old one valid for 24 hours.
Scope: events:endpoints:write. See API Tokens.

Authorizations

Authorization
string
header
required

CloudThinker token: a personal access token ct_pat_… (fine-grained scopes, created in Settings) or an OAuth access token ct_oat_… (1 hour, from the OAuth flow). Send Authorization: Bearer <token>. Scopes have the form module:resource:read|write; write includes read.

Headers

Idempotency-Key
string
required

Unique per logical write. A retry with the same key and body returns the first result.

Required string length: 1 - 255

Path Parameters

workspace_id
string<uuid>
required

Workspace to act in. Every call names it.

endpoint_id
string<uuid>
required

Event endpoint id.

Response

Created

The rotated signing secret.

id
string<uuid>
required
secret
string
required

New signing secret, starting whsec_. Shown only once.

previous_secret_expires_at
string<date-time>
required

Until this time each event is also signed with the previous secret.