Custom Connections allow users to integrate external systems with Drata. CUSTOM connections push arbitrary JSON evidence records using a user-defined schema. MDM and HRIS connections use a fixed common model for device management and HR identity data respectively. The help docs for custom connections and tests and custom device connections have more information.
Find Custom Connections matching the provided filters.
🔒 Requires Custom Connections Management: List Custom Connections permission.
💎 Requires your account have the Custom Connections and Tests feature. Contact your CSM for help upgrading.
Malformed data and/or validation errors
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1,
- "clientAlias": "My Custom Connection",
- "description": "Custom connection for managing Employee Data",
- "providerTypes": [
- "MDM"
], - "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "createdById": 1,
- "customResources": [
- {
- "id": 123,
- "name": "Employees",
- "description": "Employee records for compliance tracking",
- "schema": {
- "id": "string",
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
}
}, - "required": [
- "name"
], - "additionalProperties": false,
- "selfRequired": true,
}, - "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "deletedAt": "2025-07-01T16:45:55.246Z"
}
], - "createdByUser": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
}
], - "pagination": {
- "cursor": "string",
- "totalCount": 0
}
}Create a new Custom Connection. Supported provider types: CUSTOM, MDM, HRIS. CUSTOM connections require schema or sampleData and displayNameKey. MDM and HRIS connections use a fixed common model — schema, sampleData, and displayNameKey must not be provided.
🔒 Requires Custom Connections Management: Create Custom Connection permission.
💎 Requires your account have the Custom Connections and Tests feature. Contact your CSM for help upgrading.
Created
Malformed data and/or validation errors
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "name": "My Custom Connection",
- "providerTypes": [
- "CUSTOM"
], - "workspaceIds": [
- 1
], - "schema": {
- "type": "object",
- "properties": {
- "employeeId": {
- "type": "string"
}, - "name": {
- "type": "string"
}, - "department": {
- "type": "string"
}, - "startDate": {
- "type": "string"
}, - "isActive": {
- "type": "boolean"
}, - "metadata": {
- "type": "object",
- "properties": {
- "lastReview": {
- "type": "string"
}
}, - "additionalProperties": true
}
}, - "additionalProperties": true
}, - "sampleData": {
- "employeeId": "EMP-001",
- "name": "Jane Smith",
- "department": "Engineering",
- "startDate": "2024-01-15T00:00:00Z",
- "isActive": true,
- "metadata": {
- "lastReview": "2025-03-01T00:00:00Z"
}
}, - "description": "A connection for syncing employee records from our internal HRIS.",
- "displayNameKey": "name"
}{- "id": 1,
- "clientAlias": "My Custom Connection",
- "description": "Custom connection for managing Employee Data",
- "providerTypes": [
- "MDM"
], - "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "createdById": 1,
- "customResources": [
- {
- "id": 123,
- "name": "Employees",
- "description": "Employee records for compliance tracking",
- "schema": {
- "id": "string",
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
}
}, - "required": [
- "name"
], - "additionalProperties": false,
- "selfRequired": true,
}, - "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "deletedAt": "2025-07-01T16:45:55.246Z"
}
], - "createdByUser": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
}🔒 Requires Custom Connections Management: List Custom Connections permission.
💎 Requires your account have the Custom Connections and Tests feature. Contact your CSM for help upgrading.
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "id": 1,
- "clientAlias": "My Custom Connection",
- "description": "Custom connection for managing Employee Data",
- "providerTypes": [
- "MDM"
], - "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "createdById": 1,
- "customResources": [
- {
- "id": 123,
- "name": "Employees",
- "description": "Employee records for compliance tracking",
- "schema": {
- "id": "string",
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
}
}, - "required": [
- "name"
], - "additionalProperties": false,
- "selfRequired": true,
}, - "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "deletedAt": "2025-07-01T16:45:55.246Z"
}
], - "createdByUser": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
}Update Custom Connection details
🔒 Requires Custom Connections Management: Update Custom Connection permission.
💎 Requires your account have the Custom Connections and Tests feature. Contact your CSM for help upgrading.
Successful
Malformed data and/or validation errors
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "clientAlias": "My Updated Custom Connection",
- "description": "Updated description for Custom Connection"
}{- "id": 1,
- "clientAlias": "My Custom Connection",
- "description": "Custom connection for managing Employee Data",
- "providerTypes": [
- "MDM"
], - "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "createdById": 1,
- "customResources": [
- {
- "id": 123,
- "name": "Employees",
- "description": "Employee records for compliance tracking",
- "schema": {
- "id": "string",
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
}
}, - "required": [
- "name"
], - "additionalProperties": false,
- "selfRequired": true,
}, - "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "deletedAt": "2025-07-01T16:45:55.246Z"
}
], - "createdByUser": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z"
}
}🔒 Requires Custom Connections Management: Delete Custom Connection permission.
💎 Requires your account have the Custom Connections and Tests feature. Contact your CSM for help upgrading.
No Content
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "statusCode": 0,
- "message": "string",
- "code": 0,
- "debugInfo": {
- "name": "string",
- "message": "string",
- "stack": "string"
}
}