Rotacionar secret do webhook

Gera um novo secret para o webhook. O novo secret é retornado uma única vez. Atualize sua configuração do servidor antes que o secret antigo expire.

Authentication

AuthorizationBearer

API Key in the format mk_live_<43-chars>. Obtain from the Dashboard or POST /auth/api-keys.

Path parameters

idstringRequired
Unique identifier of the webhook

Response

Default Response
idstring
Unique identifier of the webhook whose secret was rotated
secretstring

New HMAC-SHA256 signing secret. Store it securely — the previous secret is immediately invalidated and this value cannot be retrieved again.

messagestring

Human-readable confirmation message

Errors

401
Unauthorized Error
404
Not Found Error