Generate a secret key for a webhook signature

Generate or update the secret key for a webhook signature

post/rotatesecret_22P_v1

Request

  • Base URL
    https://orangelogicURL/webapi/extensibility/webhook/subscription
  • URL
    https://orangelogicURL/webapi/extensibility/webhook/subscription/rotatesecret_22P_v1
  • Auth
    none required

Request body

newSecretstring

An alphanumeric string to be the <code>newSecret</code>. If you leave this parameter empty, Orange Logic generates a random secret and adds it to the response body.

subscriptionIDstring

The subscriptionID of the webhook you are creating a secret for.

Response

200

newSecretstring

Example response

{
  "newSecret": "GNSlz1PkDXih"
}

Changes

No recorded changes to this operation across all 1 revision of this API.