> ## Documentation Index
> Fetch the complete documentation index at: https://generaltranslation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# WebhooksClient

webhooks ऑपरेशनों के लिए क्लाइंट

यह क्लाइंट X API के webhooks endpoints के साथ इंटरैक्ट करने के लिए मेथड उपलब्ध कराता है। यह सभी webhooks-संबंधित ऑपरेशनों के लिए authentication, request formatting और रिस्पॉन्स parsing को संभालता है।

<div id="constructors">
  ## कंस्ट्रक्टर्स
</div>

<div id="constructor">
  ### constructor
</div>

• **new WebhooksClient**(`client`): [`WebhooksClient`](/hi/xdks/typescript/reference/classes/WebhooksClient)

एक नया WebhooksClient इंस्टेंस बनाता है

<div id="parameters">
  #### पैरामीटर
</div>

| नाम      | type                                                     | विवरण                        |
| :------- | :------------------------------------------------------- | :--------------------------- |
| `client` | [`Client`](/hi/xdks/typescript/reference/classes/Client) | मुख्य X API क्लाइंट इंस्टेंस |

<div id="returns">
  #### रिटर्न
</div>

[`WebhooksClient`](/hi/xdks/typescript/reference/classes/WebhooksClient)

#### यहाँ परिभाषित

[webhooks/client.ts:162](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L162)

<div id="methods">
  ## मेथड्स
</div>

<div id="createstreamlink">
  ### createStreamLink
</div>

▸ **createStreamLink**(`webhookId`, `options`): `Promise`\<`Response`>

स्ट्रीम लिंक बनाएँ
यह दिए गए webhook पर FilteredStream इवेंट पहुँचाने के लिए एक लिंक बनाता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type                                                                    | विवरण                                                          |
| :---------- | :---------------------------------------------------------------------- | :------------------------------------------------------------- |
| `webhookId` | `string`                                                                | आपके FilteredStream ruleset से लिंक करने के लिए webhook की ID। |
| `options`   | `CreateStreamLinkOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                                              |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

वह Promise जो API रिस्पॉन्स पर resolve होता है, या यदि requestOptions.raw true है, तो raw Response

#### यहाँ परिभाषित है

[webhooks/client.ts:207](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L207)

▸ **createStreamLink**(`webhookId`, `options?`): `Promise`\<[`WebhookLinksCreateResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookLinksCreateResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | प्रकार                    |
| :---------- | :------------------------ |
| `webhookId` | `string`                  |
| `options?`  | `CreateStreamLinkOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`WebhookLinksCreateResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookLinksCreateResponse)>

#### यहाँ परिभाषित है

[webhooks/client.ts:220](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L220)

***

<div id="deletestreamlink">
  ### deleteStreamLink
</div>

▸ **deleteStreamLink**(`webhookId`, `options`): `Promise`\<`Response`>

स्ट्रीम लिंक हटाएँ
यह दिए गए webhook के लिए FilteredStream इवेंट्स से लिंक हटाता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम                          | type     | विवरण                                                      |
| :--------------------------- | :------- | :--------------------------------------------------------- |
| `webhookId`                  | `string` | आपके FilteredStream ruleset से लिंक करने के लिए webhook ID |
| `options`                    | `Object` | -                                                          |
| `options.requestOptions`     | `Object` | -                                                          |
| `options.requestOptions.raw` | `true`   | -                                                          |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

API रिस्पॉन्स में resolve होने वाला Promise, या यदि requestOptions.raw true है, तो raw Response

#### यहाँ परिभाषित

[webhooks/client.ts:433](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L433)

▸ **deleteStreamLink**(`webhookId`): `Promise`\<[`WebhookLinksDeleteResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookLinksDeleteResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type     |
| :---------- | :------- |
| `webhookId` | `string` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`WebhookLinksDeleteResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookLinksDeleteResponse)>

#### यहाँ परिभाषित है

[webhooks/client.ts:446](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L446)

***

<div id="getstreamlinks">
  ### getStreamLinks
</div>

▸ **getStreamLinks**(`options`): `Promise`\<`Response`>

स्ट्रीम लिंक प्राप्त करें
फ़िल्टर किए गए स्ट्रीम ruleset से जुड़े webhook लिंक की सूची प्राप्त करें।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम                          | type     |
| :--------------------------- | :------- |
| `options`                    | `Object` |
| `options.requestOptions`     | `Object` |
| `options.requestOptions.raw` | `true`   |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

API रिस्पॉन्स पर रिज़ॉल्व होने वाला Promise, या यदि requestOptions.raw true है तो raw Response

#### यहाँ परिभाषित है

[webhooks/client.ts:527](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L527)

▸ **getStreamLinks**(): `Promise`\<[`WebhookLinksGetResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookLinksGetResponse)>

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`WebhookLinksGetResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookLinksGetResponse)>

#### में निर्दिष्ट

[webhooks/client.ts:536](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L536)

***

<div id="createwebhookreplayjob">
  ### createWebhookReplayJob
</div>

▸ **createWebhookReplayJob**(`options`): `Promise`\<`Response`>

webhook के लिए replay job बनाएँ
webhook को डिलीवर किए गए या डिलीवर करने का प्रयास किए गए सभी इवेंट्स के लिए पिछले 24 घंटों तक के इवेंट्स पुनर्प्राप्त करने हेतु एक replay job बनाता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                                                                          |
| :-------- | :---------------------------------------------------------------------------- |
| `options` | `CreateWebhookReplayJobOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

ऐसा Promise जो API रिस्पॉन्स पर resolve होता है, या यदि requestOptions.raw true हो, तो raw Response

#### यहाँ परिभाषित है

[webhooks/client.ts:605](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L605)

▸ **createWebhookReplayJob**(`options?`): `Promise`\<[`ReplayJobCreateResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.ReplayJobCreateResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम        | type                            |
| :--------- | :------------------------------ |
| `options?` | `CreateWebhookReplayJobOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`ReplayJobCreateResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.ReplayJobCreateResponse)>

#### यहाँ परिभाषित

[webhooks/client.ts:614](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L614)

***

<div id="validate">
  ### validate
</div>

▸ **validate**(`webhookId`, `options`): `Promise`\<`Response`>

webhook को मान्य करें
यह दिए गए webhook के लिए CRC जाँच को ट्रिगर करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम                          | प्रकार   | विवरण                           |
| :--------------------------- | :------- | :------------------------------ |
| `webhookId`                  | `string` | जाँच करने के लिए webhook की ID। |
| `options`                    | `Object` | -                               |
| `options.requestOptions`     | `Object` | -                               |
| `options.requestOptions.raw` | `true`   | -                               |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

API रिस्पॉन्स पर रिज़ॉल्व होने वाला Promise, या यदि requestOptions.raw true है, तो raw Response

#### इसमें परिभाषित

[webhooks/client.ts:704](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L704)

▸ **validate**(`webhookId`): `Promise`\<[`WebhookConfigPutResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookConfigPutResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type     |
| :---------- | :------- |
| `webhookId` | `string` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`WebhookConfigPutResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookConfigPutResponse)>

#### यहाँ परिभाषित है

[webhooks/client.ts:717](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L717)

***

<div id="delete">
  ### delete
</div>

▸ **delete**(`webhookId`, `options`): `Promise`\<`Response`>

Webhook हटाएँ
किसी मौजूदा webhook कॉन्फ़िगरेशन को हटाता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम                          | type     | विवरण                         |
| :--------------------------- | :------- | :---------------------------- |
| `webhookId`                  | `string` | हटाए जाने वाले webhook का ID। |
| `options`                    | `Object` | -                             |
| `options.requestOptions`     | `Object` | -                             |
| `options.requestOptions.raw` | `true`   | -                             |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

वह Promise जो API रिस्पॉन्स पर resolve होता है, या अगर requestOptions.raw true है, तो raw Response

#### इसमें परिभाषित

[webhooks/client.ts:808](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L808)

▸ **delete**(`webhookId`): `Promise`\<[`WebhookConfigDeleteResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookConfigDeleteResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम         | type     |
| :---------- | :------- |
| `webhookId` | `string` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`WebhookConfigDeleteResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookConfigDeleteResponse)>

#### यहाँ परिभाषित है

[webhooks/client.ts:821](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L821)

***

<div id="get">
  ### get
</div>

▸ **get**(`options`): `Promise`\<`Response`>

webhook प्राप्त करें
क्लाइंट ऐप से जुड़ी webhook कॉन्फ़िगरेशन की सूची प्राप्त करें।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                                                       |
| :-------- | :--------------------------------------------------------- |
| `options` | `GetOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

API रिस्पॉन्स पर resolve होने वाला Promise, या अगर requestOptions.raw true है, तो raw Response

<div id="defined-in">
  #### इसमें परिभाषित है
</div>

[webhooks/client.ts:908](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L908)

▸ **get**(`options?`): `Promise`\<[`Get2WebhooksResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2WebhooksResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम        | type         |
| :--------- | :----------- |
| `options?` | `GetOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`Get2WebhooksResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2WebhooksResponse)>

#### यहाँ परिभाषित है

[webhooks/client.ts:917](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L917)

***

<div id="create">
  ### create
</div>

▸ **create**(`options`): `Promise`\<`Response`>

webhook बनाएँ
यह एक नया webhook कॉन्फ़िगरेशन बनाता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                                                          |
| :-------- | :------------------------------------------------------------ |
| `options` | `CreateOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

वह Promise जो API रिस्पॉन्स पर resolve होता है, या यदि requestOptions.raw true है, तो raw Response

#### यहाँ परिभाषित

[webhooks/client.ts:1023](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L1023)

▸ **create**(`options?`): `Promise`\<[`WebhookConfigCreateResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookConfigCreateResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम        | type            |
| :--------- | :-------------- |
| `options?` | `CreateOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`WebhookConfigCreateResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.WebhookConfigCreateResponse)>

#### यहाँ परिभाषित है

[webhooks/client.ts:1032](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/webhooks/client.ts#L1032)
