All Collections
API
Drata Open API: Workspace ID for POST or PUT Requests
Drata Open API: Workspace ID for POST or PUT Requests

This article covers how to identify your workspace ID to make a POST or PUT request using the Drata Open API.

Harrison Krat avatar
Written by Harrison Krat
Updated over a week ago

HERE'S WHAT

The Drata Open API gives users the ultimate flexibility to push data to Drata. You can leverage the available POST and PUT endpoints to automate and streamline the way your team transfers data into Drata.

BEFORE DIVING IN

  • See our full API developer documentation at https://developers.drata.com/docs/.

  • The full API key will only be shown once when you create the key. You will not be able to access it again. See this help article on how to generate an API key.

  • A rate limit of 500 requests / minute will be enforced per unique source IP.

HERE'S HOW

  • For all POST and PUT requests you will need to identify your Workspace ID.

  • If you do not have Multiple Product Support enabled on your Drata account, your Workspace ID is 1.

  • If Multiple Product Support is enabled, you can make a GET request to the List Workspaces endpoint to identify the Workspace you would like to make the POST or PUT request to.

  • Once you have your Workspace parameter identified you can input this value into the “Try It” section of the API documentation, accompanied by your API key and any additional parameters and/or request body.

Did this answer your question?