Generate webhook secret

This endpoint is used to generate a webhook secret that is essential for authenticating the sources of webhooks.

POST : v1/account/generate-webhook-secret

Headers

Name
Type
Descrition

secret-key

string

Your Redstone secret key

public-key

string

Your Redstone public key

Response

On a successful request, the API will return a response with the following structure:

  • webhook_secret (string): The generated webhook secret that will be used for authentication.

{
  "status": "",
  "code": 0,
  "message": "",
  "data": {
    "webhook_secret": ""
  }
}

            

NOTE: The generated webhook secret should be stored securely and used to verify the authenticity of incoming webhook requests.

Last updated