ai-credits

Rotate the AI credit webhook signing secret.

Changed on

Generates a new HMAC signing secret for the project and returns it exactly once. The previous secret stops working immediately, so update your webhook verification before rotating. Requires a webhook URL to be configured first.

post/v3/projects/{id}/ai-credits/settings/rotate-secret

Request

  • Base URL: https://api.unlayer.com
  • URL: https://api.unlayer.com/v3/projects/{id}/ai-credits/settings/rotate-secret
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required

The resource ID

Response

Default Response

signing_secretstring required

The new HMAC signing secret. Shown only once.

Changes