ARTICLE AD BOX
I am using ElevenLabs for transcribing audio (speech to text), and want to create a webhook which will be triggered once audio transcription is complete.
I found that you must specify the webhook type into Edit Endpoint into the dashboard in order to make it work.
Webhooks

My question is that I couldn't do it using the JavaScript SDK and I didn't find the option on the API reference.
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
const { webhookId, webhookSecret } = await elevenlabs.webhooks.create({
settings: {
authType: "hmac",
name: "test-webhook",
webhookUrl: "https://www.example.com/webhooks/abc",
},
});
Their API reference
Is there a way to do it programatically because it is important for me since my webhook URL is generated automatically and should be updated by code not by hand.
