> For the complete documentation index, see [llms.txt](https://intuitem.gitbook.io/ciso-assistant/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://intuitem.gitbook.io/ciso-assistant/api-documentation/api-reference/webhooks.md). Agents can also search and read this documentation through its [MCP server](https://intuitem.gitbook.io/ciso-assistant/~gitbook/mcp).

# Webhooks

## GET /api/webhooks/audit-sinks/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"PaginatedAuditSinkList":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/AuditSink"}}}},"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"}}},"paths":{"/api/webhooks/audit-sinks/":{"get":{"operationId":"webhooks_audit_sinks_list","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","parameters":[{"in":"query","name":"created_at__date","schema":{"type":"string","format":"date"}},{"in":"query","name":"created_at__date__gt","schema":{"type":"string","format":"date"}},{"in":"query","name":"created_at__date__gte","schema":{"type":"string","format":"date"}},{"in":"query","name":"created_at__date__lt","schema":{"type":"string","format":"date"}},{"in":"query","name":"created_at__date__lte","schema":{"type":"string","format":"date"}},{"in":"query","name":"created_at__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"created_at__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"created_at__isnull","schema":{"type":"boolean"}},{"in":"query","name":"created_at__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"created_at__lte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"genericcollection","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id","schema":{"type":"array","items":{"type":"string","format":"uuid"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}},{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}},{"in":"query","name":"updated_at__date","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__gt","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__gte","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__lt","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__date__lte","schema":{"type":"string","format":"date"}},{"in":"query","name":"updated_at__gt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"updated_at__gte","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"updated_at__isnull","schema":{"type":"boolean"}},{"in":"query","name":"updated_at__lt","schema":{"type":"string","format":"date-time"}},{"in":"query","name":"updated_at__lte","schema":{"type":"string","format":"date-time"}}],"tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAuditSinkList"}}},"description":""}}}}}}
```

## POST /api/webhooks/audit-sinks/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"}}},"paths":{"/api/webhooks/audit-sinks/":{"post":{"operationId":"webhooks_audit_sinks_create","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AuditSink"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"description":""}}}}}}
```

## GET /api/webhooks/audit-sinks/{id}/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"}}},"paths":{"/api/webhooks/audit-sinks/{id}/":{"get":{"operationId":"webhooks_audit_sinks_retrieve","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this webhook endpoint.","required":true}],"tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"description":""}}}}}}
```

## PUT /api/webhooks/audit-sinks/{id}/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"}}},"paths":{"/api/webhooks/audit-sinks/{id}/":{"put":{"operationId":"webhooks_audit_sinks_update","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this webhook endpoint.","required":true}],"tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AuditSink"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"description":""}}}}}}
```

## DELETE /api/webhooks/audit-sinks/{id}/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/webhooks/audit-sinks/{id}/":{"delete":{"operationId":"webhooks_audit_sinks_destroy","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this webhook endpoint.","required":true}],"tags":["webhooks"],"responses":{"204":{"description":"No response body"}}}}}}
```

## PATCH /api/webhooks/audit-sinks/{id}/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"PatchedAuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}}},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]}}},"paths":{"/api/webhooks/audit-sinks/{id}/":{"patch":{"operationId":"webhooks_audit_sinks_partial_update","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this webhook endpoint.","required":true}],"tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAuditSink"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedAuditSink"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedAuditSink"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"description":""}}}}}}
```

## GET /api/webhooks/audit-sinks/{id}/cascade-info/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"}}},"paths":{"/api/webhooks/audit-sinks/{id}/cascade-info/":{"get":{"operationId":"webhooks_audit_sinks_cascade_info_retrieve","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this webhook endpoint.","required":true}],"tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"description":""}}}}}}
```

## GET /api/webhooks/audit-sinks/{id}/neighborhood/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"}}},"paths":{"/api/webhooks/audit-sinks/{id}/neighborhood/":{"get":{"operationId":"webhooks_audit_sinks_neighborhood_retrieve","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this webhook endpoint.","required":true}],"tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"description":""}}}}}}
```

## GET /api/webhooks/audit-sinks/{id}/object/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"}}},"paths":{"/api/webhooks/audit-sinks/{id}/object/":{"get":{"operationId":"webhooks_audit_sinks_object_retrieve","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this webhook endpoint.","required":true}],"tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"description":""}}}}}}
```

## POST /api/webhooks/audit-sinks/{id}/replay/

> Re-emit historical audit events to this sink. Body: {since, until?} (ISO\
> timestamps). Backfills a sink that was down — see replay\_audit\_to\_sink.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"}}},"paths":{"/api/webhooks/audit-sinks/{id}/replay/":{"post":{"operationId":"webhooks_audit_sinks_replay_create","description":"Re-emit historical audit events to this sink. Body: {since, until?} (ISO\ntimestamps). Backfills a sink that was down — see replay_audit_to_sink.","parameters":[{"in":"path","name":"id","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this webhook endpoint.","required":true}],"tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AuditSink"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"description":""}}}}}}
```

## GET /api/webhooks/audit-sinks/autocomplete/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"}}},"paths":{"/api/webhooks/audit-sinks/autocomplete/":{"get":{"operationId":"webhooks_audit_sinks_autocomplete_retrieve","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"description":""}}}}}}
```

## POST /api/webhooks/audit-sinks/batch-action/

> Admin-managed audit-log forwarding destinations (kind=AUDIT\_SINK). Folder/IAM\
> scoped via BaseModelViewSet (administrator-only, like all webhookendpoint\
> perms) — not owner-scoped like integration webhooks.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"AuditSink":{"type":"object","description":"Serializer for audit-sink endpoints (kind=AUDIT_SINK): admin-managed\ndestinations that forward the audit log to an external SIEM. No HMAC secret\nor per-event subscription — the whole audit feed is forwarded in the chosen\nbody_format, authenticated via static headers or OAuth2 client credentials.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"transport":{"allOf":[{"$ref":"#/components/schemas/TransportEnum"}],"description":"Delivery transport (audit sinks only).\n\n* `http` - HTTP\n* `kafka` - Kafka"},"body_format":{"allOf":[{"$ref":"#/components/schemas/BodyFormatEnum"}],"description":"Canonical event schema for audit sinks.\n\n* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"body_wrapper":{"allOf":[{"$ref":"#/components/schemas/BodyWrapperEnum"}],"description":"Envelope applied to the HTTP body. Azure Monitor Logs Ingestion requires an array.\n\n* `none` - None\n* `array` - JSON array"},"headers":{"writeOnly":true},"has_headers":{"type":"string","readOnly":true},"auth_type":{"allOf":[{"$ref":"#/components/schemas/AuthTypeEnum"}],"description":"Authentication for HTTP audit sinks.\n\n* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"},"oauth_config":{"description":"OAuth2 client credentials: {token_url, client_id, client_secret, scope, extra_params}."},"has_client_secret":{"type":"string","readOnly":true},"kafka_config":{"description":"Kafka transport: {bootstrap_servers, topic, config:{...}}."},"has_sasl_password":{"type":"string","readOnly":true},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}},"folder":{"type":"string","format":"uuid"},"created_at":{"type":"string","format":"date-time","readOnly":true}},"required":["created_at","has_client_secret","has_headers","has_sasl_password","id","name"]},"TransportEnum":{"enum":["http","kafka"],"type":"string","description":"* `http` - HTTP\n* `kafka` - Kafka"},"BodyFormatEnum":{"enum":["ciso_native","ocsf","raw"],"type":"string","description":"* `ciso_native` - CISO Assistant (HMAC-signed)\n* `ocsf` - OCSF\n* `raw` - Raw LogEntry"},"BodyWrapperEnum":{"enum":["none","array"],"type":"string","description":"* `none` - None\n* `array` - JSON array"},"AuthTypeEnum":{"enum":["static","oauth2_client_credentials"],"type":"string","description":"* `static` - Static headers\n* `oauth2_client_credentials` - OAuth 2.0 client credentials"}}},"paths":{"/api/webhooks/audit-sinks/batch-action/":{"post":{"operationId":"webhooks_audit_sinks_batch_action_create","description":"Admin-managed audit-log forwarding destinations (kind=AUDIT_SINK). Folder/IAM\nscoped via BaseModelViewSet (administrator-only, like all webhookendpoint\nperms) — not owner-scoped like integration webhooks.","tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AuditSink"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditSink"}}},"description":""}}}}}}
```

## GET /api/webhooks/endpoints/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"PaginatedWebhookEndpointList":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"WebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","has_secret","id","name"]},"PayloadFormatEnum":{"enum":["thin","full"],"type":"string","description":"* `thin` - Thin\n* `full` - Full"}}},"paths":{"/api/webhooks/endpoints/":{"get":{"operationId":"webhooks_endpoints_list","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","parameters":[{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}},{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","description":"A search term.","schema":{"type":"string"}}],"tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedWebhookEndpointList"}}},"description":""}}}}}}
```

## POST /api/webhooks/endpoints/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"WebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","has_secret","id","name"]},"PayloadFormatEnum":{"enum":["thin","full"],"type":"string","description":"* `thin` - Thin\n* `full` - Full"}}},"paths":{"/api/webhooks/endpoints/":{"post":{"operationId":"webhooks_endpoints_create","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"description":""}}}}}}
```

## GET /api/webhooks/endpoints/{id}/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"WebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","has_secret","id","name"]},"PayloadFormatEnum":{"enum":["thin","full"],"type":"string","description":"* `thin` - Thin\n* `full` - Full"}}},"paths":{"/api/webhooks/endpoints/{id}/":{"get":{"operationId":"webhooks_endpoints_retrieve","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"description":""}}}}}}
```

## PUT /api/webhooks/endpoints/{id}/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"WebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","has_secret","id","name"]},"PayloadFormatEnum":{"enum":["thin","full"],"type":"string","description":"* `thin` - Thin\n* `full` - Full"}}},"paths":{"/api/webhooks/endpoints/{id}/":{"put":{"operationId":"webhooks_endpoints_update","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"description":""}}}}}}
```

## DELETE /api/webhooks/endpoints/{id}/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/webhooks/endpoints/{id}/":{"delete":{"operationId":"webhooks_endpoints_destroy","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["webhooks"],"responses":{"204":{"description":"No response body"}}}}}}
```

## PATCH /api/webhooks/endpoints/{id}/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"PatchedWebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}}},"PayloadFormatEnum":{"enum":["thin","full"],"type":"string","description":"* `thin` - Thin\n* `full` - Full"},"WebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","has_secret","id","name"]}}},"paths":{"/api/webhooks/endpoints/{id}/":{"patch":{"operationId":"webhooks_endpoints_partial_update","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedWebhookEndpoint"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedWebhookEndpoint"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedWebhookEndpoint"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"description":""}}}}}}
```

## GET /api/webhooks/endpoints/{id}/cascade-info/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"WebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","has_secret","id","name"]},"PayloadFormatEnum":{"enum":["thin","full"],"type":"string","description":"* `thin` - Thin\n* `full` - Full"}}},"paths":{"/api/webhooks/endpoints/{id}/cascade-info/":{"get":{"operationId":"webhooks_endpoints_cascade_info_retrieve","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"description":""}}}}}}
```

## GET /api/webhooks/endpoints/{id}/neighborhood/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"WebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","has_secret","id","name"]},"PayloadFormatEnum":{"enum":["thin","full"],"type":"string","description":"* `thin` - Thin\n* `full` - Full"}}},"paths":{"/api/webhooks/endpoints/{id}/neighborhood/":{"get":{"operationId":"webhooks_endpoints_neighborhood_retrieve","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"description":""}}}}}}
```

## GET /api/webhooks/endpoints/{id}/object/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"WebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","has_secret","id","name"]},"PayloadFormatEnum":{"enum":["thin","full"],"type":"string","description":"* `thin` - Thin\n* `full` - Full"}}},"paths":{"/api/webhooks/endpoints/{id}/object/":{"get":{"operationId":"webhooks_endpoints_object_retrieve","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","parameters":[{"in":"path","name":"id","schema":{"type":"string"},"required":true}],"tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"description":""}}}}}}
```

## GET /api/webhooks/endpoints/autocomplete/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"WebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","has_secret","id","name"]},"PayloadFormatEnum":{"enum":["thin","full"],"type":"string","description":"* `thin` - Thin\n* `full` - Full"}}},"paths":{"/api/webhooks/endpoints/autocomplete/":{"get":{"operationId":"webhooks_endpoints_autocomplete_retrieve","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","tags":["webhooks"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"description":""}}}}}}
```

## POST /api/webhooks/endpoints/batch-action/

> API endpoint to create, list, retrieve, update, and delete\
> Webhook Endpoints.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}},"schemas":{"WebhookEndpoint":{"type":"object","description":"Serializer for the WebhookEndpoint model.\nHandles the 'show once' secret logic.","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"name":{"type":"string","maxLength":200},"description":{"type":"string","nullable":true},"payload_format":{"allOf":[{"$ref":"#/components/schemas/PayloadFormatEnum"}],"description":"The format of the webhook payload sent to this endpoint.\n\n* `thin` - Thin\n* `full` - Full"},"url":{"description":"Consumer URL (HTTP transport).","oneOf":[{"type":"string","format":"uri","maxLength":2048},{"type":"string","maxLength":0}]},"event_types":{"type":"array","items":{"type":"string","description":"The event type string, e.g., 'appliedcontrol.created'"}},"is_active":{"type":"boolean","description":"Global toggle to enable/disable sending events to this endpoint."},"created_at":{"type":"string","format":"date-time","readOnly":true},"secret":{"type":"string","writeOnly":true,"description":"HMAC signing secret"},"has_secret":{"type":"string","readOnly":true},"target_folders":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["created_at","has_secret","id","name"]},"PayloadFormatEnum":{"enum":["thin","full"],"type":"string","description":"* `thin` - Thin\n* `full` - Full"}}},"paths":{"/api/webhooks/endpoints/batch-action/":{"post":{"operationId":"webhooks_endpoints_batch_action_create","description":"API endpoint to create, list, retrieve, update, and delete\nWebhook Endpoints.","tags":["webhooks"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}},"description":""}}}}}}
```

## GET /api/webhooks/event-types/

> Returns a list of all registered event type strings.

```json
{"openapi":"3.0.3","info":{"title":"CISO Assistant API","version":"v4.3.4"},"tags":[{"name":"webhooks"}],"security":[{"PersonalAccessToken":[]}],"components":{"securitySchemes":{"PersonalAccessToken":{"type":"apiKey","in":"header","name":"Authorization","description":"Personal access token, created from your user profile. Send it as `Authorization: Token <PAT>`."}}},"paths":{"/api/webhooks/event-types/":{"get":{"operationId":"webhooks_event_types_retrieve","description":"Returns a list of all registered event type strings.","tags":["webhooks"],"responses":{"200":{"description":"No response body"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://intuitem.gitbook.io/ciso-assistant/api-documentation/api-reference/webhooks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
