GET
/
v1
/
webhooks:getSharedSecret
import { AvaCloudSDK } from "@avalabs/avacloud-sdk";

const avaCloudSDK = new AvaCloudSDK({
  serverURL: "https://api.example.com",
  chainId: "43114",
  network: "mainnet",
});

async function run() {
  const result = await avaCloudSDK.data.webhooks.getSharedSecret();

  // Handle the result
  console.log(result);
}

run();
{
  "secret": "<string>"
}

Authorizations

x-glacier-api-key
string
header
required

Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.

Response

200
application/json
Successful response
secret
string
required