Find managed connections by provider type and current state
Invalid Authorization
Response Code 402
You must pay to activate this feature
You are not allowed to perform this action
Internal server error
Response Code: 412
You must accept the Drata terms and conditions to use the API
{- "data": [
- {
- "id": "1",
- "clientType": "GOOGLE",
- "state": "ACTIVE",
- "connected": false,
- "connectedAt": "2020-07-06 12:00:00.000000",
- "failedAt": "2020-07-06 12:00:00.000000",
- "companyId": "12341234",
- "assignmentId": "FLk12AsS",
- "user": {
- "id": 1,
- "firstName": "Sally",
- "lastName": "Smith",
- "jobTitle": "CEO",
- "drataTermsAgreedAt": "2020-07-06 12:00:00.000000",
- "createdAt": "2020-07-06 12:00:00.000000",
- "updatedAt": "2020-07-06 12:00:00.000000",
- "roles": [
- "ROLE",
- "ANOTHER_ROLE"
], - "backgroundChecks": [
- {
- "id": 1,
- "userId": 1,
- "status": "OK",
- "caseId": "abc123",
- "caseInvitationId": "abc123",
- "manualCheckDate": "2020-07-06",
- "manuallyCheckUrl": "url.com",
- "type": "CERTN",
- "source": "DRATA",
- "reportData": "string",
- "user": { },
- "outOfScopeReason": "abc123",
- "outOfScopeAt": "2020-07-06 12:00:00.000000",
- "linkedAt": "2020-07-06 12:00:00.000000",
- "createdAt": "2020-07-06 12:00:00.000000",
- "updatedAt": "2020-07-06 12:00:00.000000"
}
], - "identities": [
- {
- "id": 1,
- "identityId": "1a2b3c",
- "username": "Username",
- "connectedAt": "2020-07-06 12:00:00.000000",
- "disconnectedAt": "2020-07-06 12:00:00.000000",
- "hasMfa": true,
- "user": { },
- "connection": { },
- "hasIdp": true,
- "firstName": "John",
- "lastName": "Doe",
- "startedAt": "Thu Jan 30 2025",
- "separatedAt": "Thu Jan 30 2025",
- "isContractor": true,
- "jobTitle": "Engineer",
- "managerId": "x00jk12-2312",
- "managerName": ""
}
]
}, - "accountId": "string",
- "clientId": "drata.com",
- "clientAlias": "My-connection-alias-1",
- "manuallyUpdatedAt": "2020-07-06 12:00:00.000000",
- "aliasUpdatedAt": "2020-07-06 12:00:00.000000",
- "deletedAt": "2020-07-06 12:00:00.000000",
- "requestorId": "328d3016-71f3-4485-af20-06ce8044da18",
- "product": "",
- "writeAccessEnabled": false,
- "sourcePreference": "LABEL",
- "securityLabel": "Jira Security Label",
- "jqlQuery": "project = IT AND type = \"Offboarding\"",
- "authorized": true,
- "workspaces": [
- {
- "id": 1,
- "name": "Drata",
- "description": "Platform to track SOC 2 compliance within the organization",
- "howItWorks": null,
- "primary": true
}
], - "providerTypes": [
- 5
], - "code": 10010,
- "groupLabel": "Everyone"
}
], - "page": 1,
- "limit": 10,
- "total": 100
}