Get the private access info

Get private access info. This endpoint is only available on Trust Center Pro.

Securitybearer
Request
query Parameters
workspaceId
number

ID of the Workspace. If this is not sent, it will default to the global workspace.

Responses
200

Successful

400

Malformed data and/or validation errors

401

Invalid Authorization

402

You must upgrade your plan to use this feature

403

You are not allowed to perform this action

412

You must accept the Drata terms and conditions to use the API

500

Internal server error

get/trust-center/private-access
Request samples
Response samples
application/json
{
  • "flowType": "SELF",
  • "preapprovedEmailDomains": [
    • {
      • "id": 1,
      • "name": "domain.com",
      • "createdAt": "2020-07-06",
      • "deletedAt": null
      }
    ],
  • "preapprovedEmailAddresses": [
    • {
      • "id": 1,
      • "createdAt": "2025-07-01T16:45:55.246Z",
      • "deletedAt": null
      }
    ]
}