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

Good to go!

400

Malformed data and/or validation errors

401

Invalid Authorization

403

You are not allowed to perform this action

500

Internal server error

default

Response Code: 412

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

get/trust-center/private-access
Request samples
Response samples
application/json
{
  • "flowType": "SELF",
  • "preapprovedEmailDomains": [
    • {
      • "id": 1,
      • "name": "drata.com",
      • "createdAt": "2020-07-06",
      • "deletedAt": null
      }
    ]
}