## Get Webhook Config

`WebhookConfigResponse WebhookConfigs.Retrieve(WebhookConfigRetrieveParamsparameters, CancellationTokencancellationToken = default)`

**get** `/api/v1/beta/webhook-configs/{config_id}`

Get a single webhook configuration by ID.

### Parameters

- `WebhookConfigRetrieveParams parameters`

  - `required string configID`

  - `string? organizationID`

  - `string? projectID`

### Returns

- `class WebhookConfigResponse:`

  A stored webhook configuration. The signing secret is never included.

  - `required string ID`

    Unique identifier for the webhook configuration.

  - `required Boolean HasSecret`

    Whether a signing secret is configured for this endpoint.

  - `required string TenantID`

    Owner tenant ID.

  - `JsonElement TenantType "project"constant`

    Owner tenant type.

  - `required string WebhookUrl`

    URL that receives webhook POST notifications.

  - `DateTimeOffset? CreatedAt`

    Creation datetime

  - `DateTimeOffset? UpdatedAt`

    Update datetime

  - `IReadOnlyList<WebhookEvent>? WebhookEvents`

    Subscribed events (null = all events).

    - `"batch.cancelled"BatchCancelled`

    - `"batch.error"BatchError`

    - `"batch.pending"BatchPending`

    - `"batch.running"BatchRunning`

    - `"batch.success"BatchSuccess`

    - `"classify.cancelled"ClassifyCancelled`

    - `"classify.error"ClassifyError`

    - `"classify.partial_success"ClassifyPartialSuccess`

    - `"classify.pending"ClassifyPending`

    - `"classify.running"ClassifyRunning`

    - `"classify.success"ClassifySuccess`

    - `"extract.cancelled"ExtractCancelled`

    - `"extract.error"ExtractError`

    - `"extract.partial_success"ExtractPartialSuccess`

    - `"extract.pending"ExtractPending`

    - `"extract.success"ExtractSuccess`

    - `"parse.cancelled"ParseCancelled`

    - `"parse.error"ParseError`

    - `"parse.partial_success"ParsePartialSuccess`

    - `"parse.pending"ParsePending`

    - `"parse.running"ParseRunning`

    - `"parse.success"ParseSuccess`

    - `"sheets.cancelled"SheetsCancelled`

    - `"sheets.error"SheetsError`

    - `"sheets.partial_success"SheetsPartialSuccess`

    - `"sheets.pending"SheetsPending`

    - `"sheets.success"SheetsSuccess`

    - `"split.cancelled"SplitCancelled`

    - `"split.error"SplitError`

    - `"split.pending"SplitPending`

    - `"split.processing"SplitProcessing`

    - `"split.success"SplitSuccess`

    - `"unmapped_event"UnmappedEvent`

  - `IReadOnlyDictionary<string, string>? WebhookHeaders`

    Custom HTTP headers sent with each request.

  - `WebhookOutputFormat? WebhookOutputFormat`

    Response format sent to the webhook.

    - `"json"Json`

    - `"string"String`

### Example

```csharp
WebhookConfigRetrieveParams parameters = new() { ConfigID = "config_id" };

var webhookConfigResponse = await client.WebhookConfigs.Retrieve(parameters);

Console.WriteLine(webhookConfigResponse);
```

#### Response

```json
{
  "id": "id",
  "has_secret": true,
  "tenant_id": "tenant_id",
  "tenant_type": "project",
  "webhook_url": "webhook_url",
  "created_at": "2019-12-27T18:11:19.117Z",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "webhook_events": [
    "batch.cancelled"
  ],
  "webhook_headers": {
    "foo": "string"
  },
  "webhook_output_format": "json"
}
```
