> For the complete documentation index, see [llms.txt](https://docs.dropzone.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dropzone.ai/api/integrations.md).

# Integrations

## List all available integration types

> Returns all integration definitions (types) available in the system. Does not include instance-specific configuration.

```json
{"openapi":"3.0.3","info":{"title":"Dropzone AI","version":"0.1.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"IntegrationTypesListResponse":{"type":"object","properties":{"integrations":{"type":"array","items":{"$ref":"#/components/schemas/IntegrationDefinitionSerializerToCustomer"}}},"required":["integrations"]},"IntegrationDefinitionSerializerToCustomer":{"type":"object","description":"Serializer for integration definitions/types in customer API.\nUsed for GET /api/v1/system/integration-definitions.\n\nReturns the blueprint for each integration type including its configuration schema.\nUse this to discover what integrations are available and what config fields they require.","properties":{"slug":{"type":"string","readOnly":true,"description":"Unique slug for the integration (e.g., 'crowdstrike')"},"display_name":{"type":"string","readOnly":true,"description":"Human-readable integration name"},"description":{"type":"string","readOnly":true,"nullable":true,"description":"Description of the integration's capabilities"},"docs_url":{"type":"string","readOnly":true,"nullable":true,"description":"URL to integration documentation"},"group":{"type":"string","readOnly":true,"description":"Integration group: 'cloud', 'prem', or 'saas'"},"categories":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Categories (e.g., ['EDR'], ['Identity'])"},"config_schema":{"readOnly":true,"description":"JSON Schema defining required and optional configuration fields for this integration"},"connector_support":{"type":"string","readOnly":true,"description":"Connector requirement: 'no_connector', 'optional_connector', or 'required_connector'"},"has_scanner":{"type":"string","readOnly":true,"description":"Scanner capability: 'no_scan', 'optional_scan', or 'required_scan'"},"allows_multi_slot":{"type":"boolean","readOnly":true,"description":"Whether multiple instances of this integration can be configured (e.g., multiple AWS accounts)"},"dz_provided":{"type":"boolean","description":"Whether this integration type can be Dropzone-provided (configured with Dropzone-managed keys)","readOnly":true}},"required":["allows_multi_slot","categories","config_schema","connector_support","description","display_name","docs_url","dz_provided","group","has_scanner","slug"]}}},"paths":{"/app/api/v1/integrations":{"get":{"operationId":"list_integration_types","description":"Returns all integration definitions (types) available in the system. Does not include instance-specific configuration.","summary":"List all available integration types","parameters":[{"in":"query","name":"categories","schema":{"type":"array","items":{"type":"string"}},"description":"Filter by categories (can specify multiple, e.g., ?categories=siem&categories=edr)","explode":true,"style":"form"},{"in":"query","name":"dz_provided","schema":{"type":"boolean"},"description":"Filter by whether the integration type can be Dropzone-provided"},{"in":"query","name":"group","schema":{"type":"array","items":{"type":"string"}},"description":"Filter by integration groups (can specify multiple, e.g., ?group=security&group=cloud)","explode":true,"style":"form"},{"in":"query","name":"integration_type","schema":{"type":"string","enum":["core","interviewer","poller","remediator"]},"description":"Filter by integration service type (core, interviewer, poller, remediator)"}],"tags":["integrations"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationTypesListResponse"}}},"description":"List of all available integration types/definitions"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"},"error_msg":{"type":"string"},"required_permission":{"type":"object","description":"RBAC permission the caller lacks. Present when the permission check denies the request.","properties":{"resource":{"type":"string"},"action":{"type":"string"}}}}}}},"description":"Access denied"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System error"},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System not ready for requests"}}}}}}
```

## GET /app/api/v1/integrations/{slug}

> List all configured instances for a specific integration.

```json
{"openapi":"3.0.3","info":{"title":"Dropzone AI","version":"0.1.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"IntegrationInstancesListResponse":{"type":"object","properties":{"instances":{"type":"array","items":{"$ref":"#/components/schemas/IntegrationInstanceSerializerToCustomerLight"}}},"required":["instances"]},"IntegrationInstanceSerializerToCustomerLight":{"type":"object","description":"Lightweight serializer for listing integration instances in customer API.\nDoes NOT include config_data - use GET /api/v1/integrations/{slug}/{uuid} for full details.","properties":{"slug":{"type":"string","readOnly":true,"description":"Unique slug for the integration type (e.g., 'crowdstrike', 'aws')"},"display_name":{"type":"string","readOnly":true,"description":"Human-readable name of the integration"},"description":{"type":"string","readOnly":true,"nullable":true,"description":"Description of the integration"},"group":{"type":"string","readOnly":true,"nullable":true,"description":"Integration group: 'cloud', 'prem', or 'saas'"},"categories":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Categories this integration belongs to (e.g., ['EDR'])"},"slot_uuid":{"type":"string","format":"uuid","readOnly":true,"description":"Unique identifier for this specific instance"},"is_primary":{"type":"boolean","readOnly":true,"description":"Whether this is the primary instance for its tenant scope"},"instance_label":{"type":"string","readOnly":true,"description":"Label for this instance (may be empty)"},"tenant_union":{"allOf":[{"$ref":"#/components/schemas/TenantUnion"}],"readOnly":true,"nullable":true,"description":"Tenant union for this integration instance (if applicable)"},"is_enabled":{"type":"boolean","readOnly":true,"description":"Whether the integration is enabled"},"status":{"type":"string","readOnly":true,"description":"Connection status: 'connected', 'disconnected', 'error', 'pending', 'disabled', or 'never_connected'"},"dz_provided":{"type":"boolean","readOnly":true,"description":"Whether this is a Dropzone-provided integration (vs customer-configured)"},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"When this integration instance was created"},"updated_at":{"type":"string","format":"date-time","readOnly":true,"description":"When this integration instance was last updated"}},"required":["categories","created_at","description","display_name","dz_provided","group","instance_label","is_enabled","is_primary","slot_uuid","slug","status","tenant_union","updated_at"]},"TenantUnion":{"type":"object","description":"Adds update nested feature","properties":{"id":{"type":"integer","readOnly":true},"last_modified_by":{"allOf":[{"$ref":"#/components/schemas/CustomUser"}],"nullable":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"display_name":{"type":"string"},"lookup_dict":{}},"required":["created_at","display_name","id","updated_at"]},"CustomUser":{"type":"object","description":"Basic serializer to pass CustomUser details to the front end.\nExtend with any fields your app needs.","properties":{"id":{"type":"integer","readOnly":true},"first_name":{"type":"string","maxLength":150},"last_name":{"type":"string","maxLength":150},"email":{"title":"Email address","oneOf":[{"type":"string","format":"email","maxLength":254},{"type":"string","maxLength":0}]},"role":{"$ref":"#/components/schemas/UserRoleEnum"},"oidc_user_id":{"type":"string","nullable":true}},"required":["id","role"]},"UserRoleEnum":{"enum":["admin","member","restricted-read-only"],"type":"string","description":"* `admin` - admin\n* `member` - member\n* `restricted-read-only` - restricted-read-only"}}},"paths":{"/app/api/v1/integrations/{slug}":{"get":{"operationId":"integration_instances_list_external","description":"List all configured instances for a specific integration.","parameters":[{"in":"path","name":"slug","schema":{"type":"string"},"required":true},{"in":"query","name":"tenant_union_id","schema":{"type":"integer"},"description":"Filter by tenant union ID"}],"tags":["integrations"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationInstancesListResponse"}}},"description":"List of integration instances (config_data NOT included)"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"},"error_msg":{"type":"string"},"required_permission":{"type":"object","description":"RBAC permission the caller lacks. Present when the permission check denies the request.","properties":{"resource":{"type":"string"},"action":{"type":"string"}}}}}}},"description":"Access denied"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Resource not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System error"},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System not ready for requests"}}}}}}
```

## POST /app/api/v1/integrations/{slug}

> Create a new integration instance.

```json
{"openapi":"3.0.3","info":{"title":"Dropzone AI","version":"0.1.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"IntegrationInstanceSerializerToCustomerCreate":{"type":"object","description":"Serializer for creating integration instances via customer API.\nUsed for POST /api/v1/integrations/{slug}.","properties":{"config_data":{"description":"Configuration data matching the integration's config_schema. Include all required fields."},"tenant_union_id":{"type":"integer","nullable":true,"description":"(Optional) Tenant union ID for multi-tenant integrations. Only use if you need separate integration configs per tenant union."},"connector_slug":{"type":"string","nullable":true,"description":"(Optional) Connector slug for on-premises integrations requiring a connector. Only needed if the integration requires a connector."},"is_enabled":{"type":"boolean","default":true,"description":"Whether to enable the integration immediately (default: true)"},"instance_label":{"type":"string","default":"","description":"(Optional) Label for this instance. Required when adding a secondary instance to a scope that already has one (only for integrations that allow multiple instances per tenant)."}},"required":["config_data"]},"IntegrationSlotSerializerToCustomerFull":{"type":"object","description":"Full serializer for integration instances in customer API.\nUsed for GET /api/v1/integrations/{slug}/{uuid} - includes config_data.\n\nThis returns complete details including configuration data (with passwords masked).\nFor listing many instances without config, use GET /api/v1/integrations/{slug} instead.","properties":{"slug":{"type":"string","readOnly":true,"description":"Integration type slug (e.g., 'crowdstrike')"},"display_name":{"type":"string","readOnly":true,"description":"Human-readable integration name"},"description":{"type":"string","readOnly":true,"nullable":true,"description":"Integration description"},"docs_url":{"type":"string","readOnly":true,"nullable":true,"description":"URL to integration documentation"},"group":{"type":"string","readOnly":true,"description":"Integration group: 'cloud', 'prem', or 'saas'"},"categories":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Categories (e.g., ['EDR'])"},"config_schema":{"readOnly":true,"nullable":true,"description":"JSON Schema for configuration fields - describes what config_data should contain"},"connector_support":{"type":"string","readOnly":true,"description":"Connector requirement level for this integration"},"has_scanner":{"type":"string","readOnly":true,"description":"Scanner capability level for this integration"},"allows_multi_slot":{"type":"boolean","readOnly":true,"description":"Whether multiple instances can be configured"},"allows_multiple_slots_per_tenant":{"type":"boolean","readOnly":true,"description":"Whether labeled secondary instances can be added alongside the primary in a scope"},"slot_uuid":{"type":"string","format":"uuid","readOnly":true,"description":"Unique identifier for this specific instance"},"is_primary":{"type":"boolean","readOnly":true,"description":"Whether this is the primary instance for its tenant scope"},"instance_label":{"type":"string","readOnly":true,"description":"Label for this instance (may be empty)"},"tenant_union":{"allOf":[{"$ref":"#/components/schemas/TenantUnion"}],"readOnly":true,"nullable":true,"description":"Tenant union for this integration instance (if applicable)"},"config_data":{"readOnly":true,"nullable":true,"description":"Configuration data for this integration instance (passwords are masked with asterisks)"},"is_enabled":{"type":"boolean","readOnly":true,"description":"Whether the integration is enabled"},"status":{"type":"string","readOnly":true,"description":"Connection status: 'connected', 'disconnected', 'error', 'pending', etc."},"dz_provided":{"type":"boolean","readOnly":true,"description":"Whether this is a Dropzone-managed integration (vs customer-configured)"},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"When this integration instance was created"},"updated_at":{"type":"string","format":"date-time","readOnly":true,"description":"When this integration instance was last updated"},"private_public_data":{"type":"array","items":{"type":"object","additionalProperties":{}},"nullable":true,"description":"Dropzone-provided configuration data (ARNs, service account emails, etc.) that customers need but cannot modify","readOnly":true}},"required":["allows_multi_slot","allows_multiple_slots_per_tenant","categories","config_data","config_schema","connector_support","created_at","description","display_name","docs_url","dz_provided","group","has_scanner","instance_label","is_enabled","is_primary","private_public_data","slot_uuid","slug","status","tenant_union","updated_at"]},"TenantUnion":{"type":"object","description":"Adds update nested feature","properties":{"id":{"type":"integer","readOnly":true},"last_modified_by":{"allOf":[{"$ref":"#/components/schemas/CustomUser"}],"nullable":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"display_name":{"type":"string"},"lookup_dict":{}},"required":["created_at","display_name","id","updated_at"]},"CustomUser":{"type":"object","description":"Basic serializer to pass CustomUser details to the front end.\nExtend with any fields your app needs.","properties":{"id":{"type":"integer","readOnly":true},"first_name":{"type":"string","maxLength":150},"last_name":{"type":"string","maxLength":150},"email":{"title":"Email address","oneOf":[{"type":"string","format":"email","maxLength":254},{"type":"string","maxLength":0}]},"role":{"$ref":"#/components/schemas/UserRoleEnum"},"oidc_user_id":{"type":"string","nullable":true}},"required":["id","role"]},"UserRoleEnum":{"enum":["admin","member","restricted-read-only"],"type":"string","description":"* `admin` - admin\n* `member` - member\n* `restricted-read-only` - restricted-read-only"}}},"paths":{"/app/api/v1/integrations/{slug}":{"post":{"operationId":"integrations_create","description":"Create a new integration instance.","parameters":[{"in":"path","name":"slug","schema":{"type":"string"},"required":true}],"tags":["integrations"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationInstanceSerializerToCustomerCreate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/IntegrationInstanceSerializerToCustomerCreate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/IntegrationInstanceSerializerToCustomerCreate"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationSlotSerializerToCustomerFull"}}},"description":"Successfully created integration instance"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Bad request - invalid input"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"},"error_msg":{"type":"string"},"required_permission":{"type":"object","description":"RBAC permission the caller lacks. Present when the permission check denies the request.","properties":{"resource":{"type":"string"},"action":{"type":"string"}}}}}}},"description":"Access denied"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Resource not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System error"},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System not ready for requests"}}}}}}
```

## GET /app/api/v1/integrations/{slug}/{slot\_uuid}

> Get specific integration instance with full config.

```json
{"openapi":"3.0.3","info":{"title":"Dropzone AI","version":"0.1.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"IntegrationSlotSerializerToCustomerFull":{"type":"object","description":"Full serializer for integration instances in customer API.\nUsed for GET /api/v1/integrations/{slug}/{uuid} - includes config_data.\n\nThis returns complete details including configuration data (with passwords masked).\nFor listing many instances without config, use GET /api/v1/integrations/{slug} instead.","properties":{"slug":{"type":"string","readOnly":true,"description":"Integration type slug (e.g., 'crowdstrike')"},"display_name":{"type":"string","readOnly":true,"description":"Human-readable integration name"},"description":{"type":"string","readOnly":true,"nullable":true,"description":"Integration description"},"docs_url":{"type":"string","readOnly":true,"nullable":true,"description":"URL to integration documentation"},"group":{"type":"string","readOnly":true,"description":"Integration group: 'cloud', 'prem', or 'saas'"},"categories":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Categories (e.g., ['EDR'])"},"config_schema":{"readOnly":true,"nullable":true,"description":"JSON Schema for configuration fields - describes what config_data should contain"},"connector_support":{"type":"string","readOnly":true,"description":"Connector requirement level for this integration"},"has_scanner":{"type":"string","readOnly":true,"description":"Scanner capability level for this integration"},"allows_multi_slot":{"type":"boolean","readOnly":true,"description":"Whether multiple instances can be configured"},"allows_multiple_slots_per_tenant":{"type":"boolean","readOnly":true,"description":"Whether labeled secondary instances can be added alongside the primary in a scope"},"slot_uuid":{"type":"string","format":"uuid","readOnly":true,"description":"Unique identifier for this specific instance"},"is_primary":{"type":"boolean","readOnly":true,"description":"Whether this is the primary instance for its tenant scope"},"instance_label":{"type":"string","readOnly":true,"description":"Label for this instance (may be empty)"},"tenant_union":{"allOf":[{"$ref":"#/components/schemas/TenantUnion"}],"readOnly":true,"nullable":true,"description":"Tenant union for this integration instance (if applicable)"},"config_data":{"readOnly":true,"nullable":true,"description":"Configuration data for this integration instance (passwords are masked with asterisks)"},"is_enabled":{"type":"boolean","readOnly":true,"description":"Whether the integration is enabled"},"status":{"type":"string","readOnly":true,"description":"Connection status: 'connected', 'disconnected', 'error', 'pending', etc."},"dz_provided":{"type":"boolean","readOnly":true,"description":"Whether this is a Dropzone-managed integration (vs customer-configured)"},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"When this integration instance was created"},"updated_at":{"type":"string","format":"date-time","readOnly":true,"description":"When this integration instance was last updated"},"private_public_data":{"type":"array","items":{"type":"object","additionalProperties":{}},"nullable":true,"description":"Dropzone-provided configuration data (ARNs, service account emails, etc.) that customers need but cannot modify","readOnly":true}},"required":["allows_multi_slot","allows_multiple_slots_per_tenant","categories","config_data","config_schema","connector_support","created_at","description","display_name","docs_url","dz_provided","group","has_scanner","instance_label","is_enabled","is_primary","private_public_data","slot_uuid","slug","status","tenant_union","updated_at"]},"TenantUnion":{"type":"object","description":"Adds update nested feature","properties":{"id":{"type":"integer","readOnly":true},"last_modified_by":{"allOf":[{"$ref":"#/components/schemas/CustomUser"}],"nullable":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"display_name":{"type":"string"},"lookup_dict":{}},"required":["created_at","display_name","id","updated_at"]},"CustomUser":{"type":"object","description":"Basic serializer to pass CustomUser details to the front end.\nExtend with any fields your app needs.","properties":{"id":{"type":"integer","readOnly":true},"first_name":{"type":"string","maxLength":150},"last_name":{"type":"string","maxLength":150},"email":{"title":"Email address","oneOf":[{"type":"string","format":"email","maxLength":254},{"type":"string","maxLength":0}]},"role":{"$ref":"#/components/schemas/UserRoleEnum"},"oidc_user_id":{"type":"string","nullable":true}},"required":["id","role"]},"UserRoleEnum":{"enum":["admin","member","restricted-read-only"],"type":"string","description":"* `admin` - admin\n* `member` - member\n* `restricted-read-only` - restricted-read-only"}}},"paths":{"/app/api/v1/integrations/{slug}/{slot_uuid}":{"get":{"operationId":"integration_instance_retrieve_external","description":"Get specific integration instance with full config.","parameters":[{"in":"path","name":"slot_uuid","schema":{"type":"string","format":"uuid"},"required":true},{"in":"path","name":"slug","schema":{"type":"string"},"required":true}],"tags":["integrations"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationSlotSerializerToCustomerFull"}}},"description":"Full integration instance details including masked config_data"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"},"error_msg":{"type":"string"},"required_permission":{"type":"object","description":"RBAC permission the caller lacks. Present when the permission check denies the request.","properties":{"resource":{"type":"string"},"action":{"type":"string"}}}}}}},"description":"Access denied"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Resource not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System error"},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System not ready for requests"}}}}}}
```

## DELETE /app/api/v1/integrations/{slug}/{slot\_uuid}

> Delete integration instance.

```json
{"openapi":"3.0.3","info":{"title":"Dropzone AI","version":"0.1.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}}},"paths":{"/app/api/v1/integrations/{slug}/{slot_uuid}":{"delete":{"operationId":"integrations_destroy","description":"Delete integration instance.","parameters":[{"in":"path","name":"slot_uuid","schema":{"type":"string","format":"uuid"},"required":true},{"in":"path","name":"slug","schema":{"type":"string"},"required":true}],"tags":["integrations"],"responses":{"204":{"description":"Integration instance deleted successfully"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"},"error_msg":{"type":"string"},"required_permission":{"type":"object","description":"RBAC permission the caller lacks. Present when the permission check denies the request.","properties":{"resource":{"type":"string"},"action":{"type":"string"}}}}}}},"description":"Access denied"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Resource not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System error"},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System not ready for requests"}}}}}}
```

## PATCH /app/api/v1/integrations/{slug}/{slot\_uuid}

> Update integration instance (partial update supported).

```json
{"openapi":"3.0.3","info":{"title":"Dropzone AI","version":"0.1.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"PatchedIntegrationInstanceSerializerToCustomerUpdate":{"type":"object","description":"Serializer for updating integration instances via customer API.\nUsed for PATCH /api/v1/integrations/{slug}/{uuid}.","properties":{"config_data":{"description":"New configuration data (must include all required fields from config_schema)"},"tenant_union_id":{"type":"integer","nullable":true,"description":"(Optional) Update the tenant union for this integration. Only use if you need separate integration configs per tenant union."},"connector_slug":{"type":"string","nullable":true,"description":"(Optional) Update the connector for this integration. Only needed if the integration requires a connector."},"is_enabled":{"type":"boolean","description":"Enable or disable the integration"},"instance_label":{"type":"string","description":"(Optional) Update the label for this instance"}}},"IntegrationSlotSerializerToCustomerFull":{"type":"object","description":"Full serializer for integration instances in customer API.\nUsed for GET /api/v1/integrations/{slug}/{uuid} - includes config_data.\n\nThis returns complete details including configuration data (with passwords masked).\nFor listing many instances without config, use GET /api/v1/integrations/{slug} instead.","properties":{"slug":{"type":"string","readOnly":true,"description":"Integration type slug (e.g., 'crowdstrike')"},"display_name":{"type":"string","readOnly":true,"description":"Human-readable integration name"},"description":{"type":"string","readOnly":true,"nullable":true,"description":"Integration description"},"docs_url":{"type":"string","readOnly":true,"nullable":true,"description":"URL to integration documentation"},"group":{"type":"string","readOnly":true,"description":"Integration group: 'cloud', 'prem', or 'saas'"},"categories":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Categories (e.g., ['EDR'])"},"config_schema":{"readOnly":true,"nullable":true,"description":"JSON Schema for configuration fields - describes what config_data should contain"},"connector_support":{"type":"string","readOnly":true,"description":"Connector requirement level for this integration"},"has_scanner":{"type":"string","readOnly":true,"description":"Scanner capability level for this integration"},"allows_multi_slot":{"type":"boolean","readOnly":true,"description":"Whether multiple instances can be configured"},"allows_multiple_slots_per_tenant":{"type":"boolean","readOnly":true,"description":"Whether labeled secondary instances can be added alongside the primary in a scope"},"slot_uuid":{"type":"string","format":"uuid","readOnly":true,"description":"Unique identifier for this specific instance"},"is_primary":{"type":"boolean","readOnly":true,"description":"Whether this is the primary instance for its tenant scope"},"instance_label":{"type":"string","readOnly":true,"description":"Label for this instance (may be empty)"},"tenant_union":{"allOf":[{"$ref":"#/components/schemas/TenantUnion"}],"readOnly":true,"nullable":true,"description":"Tenant union for this integration instance (if applicable)"},"config_data":{"readOnly":true,"nullable":true,"description":"Configuration data for this integration instance (passwords are masked with asterisks)"},"is_enabled":{"type":"boolean","readOnly":true,"description":"Whether the integration is enabled"},"status":{"type":"string","readOnly":true,"description":"Connection status: 'connected', 'disconnected', 'error', 'pending', etc."},"dz_provided":{"type":"boolean","readOnly":true,"description":"Whether this is a Dropzone-managed integration (vs customer-configured)"},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"When this integration instance was created"},"updated_at":{"type":"string","format":"date-time","readOnly":true,"description":"When this integration instance was last updated"},"private_public_data":{"type":"array","items":{"type":"object","additionalProperties":{}},"nullable":true,"description":"Dropzone-provided configuration data (ARNs, service account emails, etc.) that customers need but cannot modify","readOnly":true}},"required":["allows_multi_slot","allows_multiple_slots_per_tenant","categories","config_data","config_schema","connector_support","created_at","description","display_name","docs_url","dz_provided","group","has_scanner","instance_label","is_enabled","is_primary","private_public_data","slot_uuid","slug","status","tenant_union","updated_at"]},"TenantUnion":{"type":"object","description":"Adds update nested feature","properties":{"id":{"type":"integer","readOnly":true},"last_modified_by":{"allOf":[{"$ref":"#/components/schemas/CustomUser"}],"nullable":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"display_name":{"type":"string"},"lookup_dict":{}},"required":["created_at","display_name","id","updated_at"]},"CustomUser":{"type":"object","description":"Basic serializer to pass CustomUser details to the front end.\nExtend with any fields your app needs.","properties":{"id":{"type":"integer","readOnly":true},"first_name":{"type":"string","maxLength":150},"last_name":{"type":"string","maxLength":150},"email":{"title":"Email address","oneOf":[{"type":"string","format":"email","maxLength":254},{"type":"string","maxLength":0}]},"role":{"$ref":"#/components/schemas/UserRoleEnum"},"oidc_user_id":{"type":"string","nullable":true}},"required":["id","role"]},"UserRoleEnum":{"enum":["admin","member","restricted-read-only"],"type":"string","description":"* `admin` - admin\n* `member` - member\n* `restricted-read-only` - restricted-read-only"}}},"paths":{"/app/api/v1/integrations/{slug}/{slot_uuid}":{"patch":{"operationId":"integrations_partial_update","description":"Update integration instance (partial update supported).","parameters":[{"in":"path","name":"slot_uuid","schema":{"type":"string","format":"uuid"},"required":true},{"in":"path","name":"slug","schema":{"type":"string"},"required":true}],"tags":["integrations"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedIntegrationInstanceSerializerToCustomerUpdate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedIntegrationInstanceSerializerToCustomerUpdate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedIntegrationInstanceSerializerToCustomerUpdate"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationSlotSerializerToCustomerFull"}}},"description":"Updated integration instance"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Bad request - invalid input"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"},"error_msg":{"type":"string"},"required_permission":{"type":"object","description":"RBAC permission the caller lacks. Present when the permission check denies the request.","properties":{"resource":{"type":"string"},"action":{"type":"string"}}}}}}},"description":"Access denied"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Resource not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System error"},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System not ready for requests"}}}}}}
```

## POST /app/api/v1/integrations/{slug}/{slot\_uuid}/make-primary

> Make this instance the primary for its tenant scope. The current primary becomes a secondary, so it must have an instance\_label.

```json
{"openapi":"3.0.3","info":{"title":"Dropzone AI","version":"0.1.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"IntegrationSlotSerializerToCustomerFull":{"type":"object","description":"Full serializer for integration instances in customer API.\nUsed for GET /api/v1/integrations/{slug}/{uuid} - includes config_data.\n\nThis returns complete details including configuration data (with passwords masked).\nFor listing many instances without config, use GET /api/v1/integrations/{slug} instead.","properties":{"slug":{"type":"string","readOnly":true,"description":"Integration type slug (e.g., 'crowdstrike')"},"display_name":{"type":"string","readOnly":true,"description":"Human-readable integration name"},"description":{"type":"string","readOnly":true,"nullable":true,"description":"Integration description"},"docs_url":{"type":"string","readOnly":true,"nullable":true,"description":"URL to integration documentation"},"group":{"type":"string","readOnly":true,"description":"Integration group: 'cloud', 'prem', or 'saas'"},"categories":{"type":"array","items":{"type":"string"},"readOnly":true,"description":"Categories (e.g., ['EDR'])"},"config_schema":{"readOnly":true,"nullable":true,"description":"JSON Schema for configuration fields - describes what config_data should contain"},"connector_support":{"type":"string","readOnly":true,"description":"Connector requirement level for this integration"},"has_scanner":{"type":"string","readOnly":true,"description":"Scanner capability level for this integration"},"allows_multi_slot":{"type":"boolean","readOnly":true,"description":"Whether multiple instances can be configured"},"allows_multiple_slots_per_tenant":{"type":"boolean","readOnly":true,"description":"Whether labeled secondary instances can be added alongside the primary in a scope"},"slot_uuid":{"type":"string","format":"uuid","readOnly":true,"description":"Unique identifier for this specific instance"},"is_primary":{"type":"boolean","readOnly":true,"description":"Whether this is the primary instance for its tenant scope"},"instance_label":{"type":"string","readOnly":true,"description":"Label for this instance (may be empty)"},"tenant_union":{"allOf":[{"$ref":"#/components/schemas/TenantUnion"}],"readOnly":true,"nullable":true,"description":"Tenant union for this integration instance (if applicable)"},"config_data":{"readOnly":true,"nullable":true,"description":"Configuration data for this integration instance (passwords are masked with asterisks)"},"is_enabled":{"type":"boolean","readOnly":true,"description":"Whether the integration is enabled"},"status":{"type":"string","readOnly":true,"description":"Connection status: 'connected', 'disconnected', 'error', 'pending', etc."},"dz_provided":{"type":"boolean","readOnly":true,"description":"Whether this is a Dropzone-managed integration (vs customer-configured)"},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"When this integration instance was created"},"updated_at":{"type":"string","format":"date-time","readOnly":true,"description":"When this integration instance was last updated"},"private_public_data":{"type":"array","items":{"type":"object","additionalProperties":{}},"nullable":true,"description":"Dropzone-provided configuration data (ARNs, service account emails, etc.) that customers need but cannot modify","readOnly":true}},"required":["allows_multi_slot","allows_multiple_slots_per_tenant","categories","config_data","config_schema","connector_support","created_at","description","display_name","docs_url","dz_provided","group","has_scanner","instance_label","is_enabled","is_primary","private_public_data","slot_uuid","slug","status","tenant_union","updated_at"]},"TenantUnion":{"type":"object","description":"Adds update nested feature","properties":{"id":{"type":"integer","readOnly":true},"last_modified_by":{"allOf":[{"$ref":"#/components/schemas/CustomUser"}],"nullable":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"display_name":{"type":"string"},"lookup_dict":{}},"required":["created_at","display_name","id","updated_at"]},"CustomUser":{"type":"object","description":"Basic serializer to pass CustomUser details to the front end.\nExtend with any fields your app needs.","properties":{"id":{"type":"integer","readOnly":true},"first_name":{"type":"string","maxLength":150},"last_name":{"type":"string","maxLength":150},"email":{"title":"Email address","oneOf":[{"type":"string","format":"email","maxLength":254},{"type":"string","maxLength":0}]},"role":{"$ref":"#/components/schemas/UserRoleEnum"},"oidc_user_id":{"type":"string","nullable":true}},"required":["id","role"]},"UserRoleEnum":{"enum":["admin","member","restricted-read-only"],"type":"string","description":"* `admin` - admin\n* `member` - member\n* `restricted-read-only` - restricted-read-only"}}},"paths":{"/app/api/v1/integrations/{slug}/{slot_uuid}/make-primary":{"post":{"operationId":"integrations_make_primary_create","description":"Make this instance the primary for its tenant scope. The current primary becomes a secondary, so it must have an instance_label.","parameters":[{"in":"path","name":"slot_uuid","schema":{"type":"string","format":"uuid"},"required":true},{"in":"path","name":"slug","schema":{"type":"string"},"required":true}],"tags":["integrations"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationSlotSerializerToCustomerFull"}}},"description":"The instance, now primary"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Bad request - invalid input"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"},"error_msg":{"type":"string"},"required_permission":{"type":"object","description":"RBAC permission the caller lacks. Present when the permission check denies the request.","properties":{"resource":{"type":"string"},"action":{"type":"string"}}}}}}},"description":"Access denied"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Resource not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System error"},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System not ready for requests"}}}}}}
```

## POST /app/api/v1/integrations/{slug}/test

> Test integration configuration without saving it. Validates the config and tests connectivity.

```json
{"openapi":"3.0.3","info":{"title":"Dropzone AI","version":"0.1.0"},"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"IntegrationInstanceSerializerToCustomerTest":{"type":"object","description":"Serializer for testing integration configuration via customer API.\nUsed for POST /api/v1/integrations/{slug}/test.","properties":{"config_data":{"description":"Configuration data to test (does not modify the saved configuration)"},"tenant_union_id":{"type":"integer","nullable":true,"description":"(Optional) Tenant union ID to use for testing. Only use if testing multi-tenant integration configs."},"connector_slug":{"type":"string","nullable":true,"description":"(Optional) Connector slug to use for testing. Only needed if testing integrations that require a connector."}},"required":["config_data"]}}},"paths":{"/app/api/v1/integrations/{slug}/test":{"post":{"operationId":"integrations_test_create","description":"Test integration configuration without saving it. Validates the config and tests connectivity.","parameters":[{"in":"path","name":"slug","schema":{"type":"string"},"required":true}],"tags":["integrations"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationInstanceSerializerToCustomerTest"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/IntegrationInstanceSerializerToCustomerTest"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/IntegrationInstanceSerializerToCustomerTest"}}},"required":true},"responses":{"200":{"description":"Test successful - returns test results"},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Bad request - invalid input"},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string"},"error_msg":{"type":"string"},"required_permission":{"type":"object","description":"RBAC permission the caller lacks. Present when the permission check denies the request.","properties":{"resource":{"type":"string"},"action":{"type":"string"}}}}}}},"description":"Access denied"},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"Resource not found"},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System error"},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"error_msg":{"type":"string"}}}}},"description":"System not ready for requests"}}}}}}
```
