Create/replace a secret

View as MarkdownOpen in Claude
Generate a secret for verifying the request signature header of the subscription payload. If a secret already exists, this call will delete the old secret and create a new one.

Authentication

AuthorizationToken

Header authentication of the form Token <token>

Request

This endpoint expects an object.
workspace_idstringOptional
The ID of the workspace you are creating the secret in

Response

Generated
idstring or null
The ID of the secret.
valuestring or null
The secret value.
workspace_idstring or null
The ID of the workspace that the secret belongs to.

Errors