> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Control

Adds a new control to an organization. User must have the `control.update` scope.

<Note>
  External Documentation

  To learn more, visit the [Hyperproof documentation](https://developer.hyperproof.app/api-details#api=controls-api\&operation=add-control).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter          | Description                                             |
  | ------------------ | ------------------------------------------------------- |
  | Control Identifier | The identifier of the control.                          |
  | Description        | The description of the control.                         |
  | Name               | The name of the control.                                |
  | Owner              | The unique identifier of the user who owns the control. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter           | Description                                                                                                                                                                                                                                                                   |
  | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Automation          | The automation status of the control.                                                                                                                                                                                                                                         |
  | Custom Fields       | A json object that includes the custom fields. For more information about how to construct this json please visit [Hyperproof's documentation](https://developer.hyperproof.app/api-details#api=controls-api\&operation=add-control\&definition=CustomFieldObjectValuePatch). |
  | Domain Name         | The domain name of the control.                                                                                                                                                                                                                                               |
  | External Object IDs | A list of external object IDs for the control.                                                                                                                                                                                                                                |
  | Implementation      | The implementation status of the control.                                                                                                                                                                                                                                     |
  | Notes               | Notes for the control.                                                                                                                                                                                                                                                        |
  | Scope ID            | The identifier of the scope.                                                                                                                                                                                                                                                  |
  | Testing Status      | The testing status of the control.                                                                                                                                                                                                                                            |
</div>

## Example Output

```json theme={"dark"}
{
	"id": "d88d505d-5199-11ee-a644-522476618ae8",
	"orgId": "ce83e3cd-5199-11ee-a644-522476618ae8",
	"controlType": "scopeAssignment",
	"controlIdentifier": "SOC2-P4.1.1_Legal",
	"name": "Include in the privacy notice the use of collected personal information",
	"scopeName": "Legal",
	"description": "The privacy notice identifies the use of collected personal information.",
	"notes": "",
	"domainId": "d7cf0a26-5199-11ee-a644-522476618ae8",
	"domainName": "Privacy",
	"freshnessPolicy": "manual",
	"freshForDuration": "PT720H",
	"freshness": "fresh",
	"implementation": "inProgress",
	"testingStatus": "effective",
	"testingDeficiency": [],
	"computeTestingStatus": false,
	"automation": "partial",
	"health": "notAvailable",
	"overrideHealth": false,
	"owner": {
		"id": "d2363cab-5199-11ee-a644-522476618ae8",
		"type": "activeUser",
		"userId": "82d7c228-8bcd-11e9-a94b-ab3de8494987",
		"email": "jane.doe@example.com",
		"givenName": "Jane",
		"surname": "Doe",
		"language": "en",
		"locale": "US",
		"timeZone": "America/Los_Angeles",
		"status": "active"
	},
	"customFields": [
		{
			"fieldId": "ceb912ab-519b-11ee-a644-522476618ae8",
			"fieldName": "Sponsor",
			"fieldType": "text",
			"textValue": "John Smith"
		}
	],
	"status": "active",
	"createdBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987",
	"createdOn": "2023-09-12T18:26:10.005365Z",
	"updatedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987",
	"updatedOn": "2023-09-12T18:26:10.005365Z",
	"permissions": []
}
```

## Workflow Library Example

[Add Control with Hyperproof and Send Results Via Email](https://library.blinkops.com/workflows/add-control-with-hyperproof-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/add-control-with-hyperproof-and-send-results-via-email/canvas" />
</div>
