---
updatedAt: 2026-05-27T12:53:27.000Z
agentTools:
  projectIndex: https://developer.onetrust.com/onetrust/llms.txt
---

# Create Risk

Use this API to create a new risk in the Risk Register. The response will include details of the created risk.
> 🗒 Things to Know
>
> - This API will create a new risk with the specified details.
> - The risk will be created in the default state.
> - This is a standalone risk creation endpoint.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Tech Risk & Compliance - IT Risk Management",
    "description": "The IT Risk Management API provides comprehensive REST endpoints for managing enterprise security controls, threats, vulnerabilities, and their implementations with OAuth2 security and extensive customization capabilities.",
    "version": "1.0",
    "contact": {
      "name": "OneTrust Support",
      "url": "https://my.onetrust.com/s/contactsupport"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    }
  },
  "servers": [
    {
      "url": "https://{hostname}",
      "variables": {
        "hostname": {
          "default": "hostname",
          "description": "The OneTrust hostname such as app.onetrust.com, app-eu.onetrust.com, app-de.onetrust.com, app-uk.onetrust.com, app-apac.onetrust.com, trial.onetrust.com, or uat.onetrust.com."
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Risks",
      "description": "APIs to manage the complete risk lifecycle including creation, updates, deletion, search, and retrieval of risk details and attributes.",
      "externalDocs": {
        "description": "OpenAPI 3.1.0 - Download Definition",
        "url": "https://developer.onetrust.com/onetrust/openapi/tech-risk-compliance-it-risk-management.json"
      },
      "x-displayName": "Risks"
    }
  ],
  "paths": {
    "/api/risk/v3/risks": {
      "post": {
        "operationId": "createStandAloneRiskUsingPOST",
        "summary": "Create Risk",
        "description": "Use this API to create a new risk in the Risk Register. The response will include details of the created risk.\n> 🗒 Things to Know\n>\n> - This API will create a new risk with the specified details.\n> - The risk will be created in the default state.\n> - This is a standalone risk creation endpoint.",
        "tags": [
          "Risks"
        ],
        "x-onetrust": {
          "spec-label": "https://developer.onetrust.com/onetrust/openapi/tech-risk-compliance-it-risk-management.json"
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TechRiskCompliance-Risk_RiskRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "429": {
            "description": "Too Many Requests. \nFor more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).",
            "headers": {
              "Retry-After": {
                "schema": {
                  "description": "The number of seconds after which requests will be allowed again.",
                  "format": "int32"
                }
              },
              "ot-period": {
                "schema": {
                  "description": "The unit of time for which the rate limit applies",
                  "enum": [
                    "HOUR",
                    "MINUTE"
                  ]
                }
              },
              "ot-ratelimit-event-id": {
                "schema": {
                  "description": "The unique identifier for the rate-limiting event.",
                  "format": "uuid"
                }
              },
              "ot-request-made": {
                "schema": {
                  "description": "The number of requests made within the specified period.",
                  "format": "int32"
                }
              },
              "ot-requests-allowed": {
                "schema": {
                  "description": "The number of requests allowed within the specified period.",
                  "format": "int32"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "TechRiskCompliance-Risk_OAUTH2": [
              "INTEGRATION",
              "RISK"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "TechRiskCompliance-Risk_AssociatedAttributeValueInformation": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier for the attribute option",
            "type": "string",
            "format": "uuid",
            "example": "a34ccec7-1ec0-4d65-9075-bdd0d923f1d1"
          },
          "value": {
            "description": "Attribute value",
            "type": "string",
            "example": "Text Value"
          },
          "valueKey": {
            "description": "Translation key used for localizing the value",
            "type": "string",
            "example": "attribute.option.valueKey"
          },
          "colorCode": {
            "description": "Color code associated with the option. Used for score-based attributes.",
            "type": "string",
            "example": "red"
          }
        },
        "required": [
          "value"
        ]
      },
      "TechRiskCompliance-Risk_AttributeValueInformation": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier for the attribute option",
            "type": "string",
            "format": "uuid",
            "example": "a34ccec7-1ec0-4d65-9075-bdd0d923f1d1"
          },
          "value": {
            "description": "Attribute value",
            "type": "string",
            "example": "Text Value"
          },
          "valueKey": {
            "description": "Translation key used for localizing the value",
            "type": "string",
            "example": "attribute.option.valueKey"
          },
          "colorCode": {
            "description": "Color code associated with the option. Used for score-based attributes.",
            "type": "string",
            "example": "red"
          },
          "optionSelectionValue": {
            "description": "Selection score value linked to the option. Used for score-based or numerical-based attributes.",
            "type": "string",
            "example": "3.5"
          },
          "displayLabel": {
            "description": "Display name for the option, used for external attributes managed by other systems",
            "type": "string",
            "example": "United State | San Francisco"
          },
          "associatedAttributeValueInformation": {
            "description": "Associated attribute option information",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TechRiskCompliance-Risk_AssociatedAttributeValueInformation"
            }
          },
          "disabled": {
            "description": "Indicates whether this attribute option is currently disabled.",
            "type": "boolean",
            "example": false,
            "default": "false"
          }
        },
        "required": [
          "value"
        ]
      },
      "TechRiskCompliance-Risk_BasicEntityDetail": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique Identifier for the Entity",
            "type": "string",
            "format": "uuid",
            "example": "e549ec16-b42a-4612-a402-3fcce7cc5f78"
          },
          "name": {
            "description": "Name for the Entity",
            "type": "string",
            "example": "Acme Corp, John Doe",
            "maxLength": 300
          }
        }
      },
      "TechRiskCompliance-Risk_EntityTypeInformation": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Entity Type ID. This can be Assets, Entities, PIA, Engagement, Custom Object GUID in form of String.",
            "type": "string",
            "example": "3f99b4ac-7c66-45b6-8ff4-63a67a3ec7be"
          },
          "label": {
            "description": "Entity Type Name",
            "type": "string",
            "example": "Inventory",
            "maxLength": 512
          },
          "translationKey": {
            "description": "Translation Key of Entity Type ID",
            "type": "string",
            "example": "OBJ.Objective",
            "maxLength": 255
          },
          "seeded": {
            "description": "For Base Entity Type Seeded is true and false for Custom Object/Entity Types by default.",
            "type": "boolean",
            "example": false
          },
          "sourceType": {
            "description": "Indicates whether this type can be source type or not in Risk",
            "type": "boolean",
            "example": false
          },
          "riskType": {
            "description": "Indicates whether this type can be risk type or not in Risk",
            "type": "boolean",
            "example": true
          },
          "eligibleForEntityLink": {
            "description": "Indicates whether entity type is eligible for linking/relating with risk or not",
            "type": "boolean",
            "example": false
          },
          "enabled": {
            "description": "Indicates whether the entity type is enabled or not.",
            "type": "boolean",
            "example": false
          },
          "moduleName": {
            "description": "Name of the module",
            "type": "string",
            "example": "Objective",
            "maxLength": 255
          }
        },
        "required": [
          "id"
        ]
      },
      "TechRiskCompliance-Risk_RiskLevelDetails": {
        "type": "object",
        "properties": {
          "levelId": {
            "description": "Risk level identifier",
            "type": "integer",
            "format": "int64"
          },
          "level": {
            "description": "Risk level name",
            "type": "string"
          },
          "impactLevelId": {
            "description": "Impact level identifier",
            "type": "integer",
            "format": "int64"
          },
          "impactLevel": {
            "description": "Impact level name",
            "type": "string"
          },
          "probabilityLevelId": {
            "description": "Probability level identifier",
            "type": "integer",
            "format": "int64"
          },
          "probabilityLevel": {
            "description": "Probability level name",
            "type": "string"
          },
          "riskScore": {
            "description": "Calculated risk score",
            "type": "number"
          },
          "levelGuid": {
            "description": "Risk level unique identifier",
            "type": "string",
            "format": "uuid"
          },
          "levelKey": {
            "description": "Risk level key",
            "type": "string"
          },
          "colorCode": {
            "description": "Risk level color code",
            "type": "string"
          },
          "impactLevelGuid": {
            "description": "Impact level unique identifier",
            "type": "string",
            "format": "uuid"
          },
          "impactLevelKey": {
            "description": "Impact level key",
            "type": "string"
          },
          "probabilityLevelGuid": {
            "description": "Probability level unique identifier",
            "type": "string",
            "format": "uuid"
          },
          "probabilityLevelKey": {
            "description": "Probability level key",
            "type": "string"
          }
        }
      },
      "TechRiskCompliance-Risk_RiskSourceInformation": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Source Entity Id",
            "type": "string",
            "format": "uuid",
            "example": "d974c78a-c2f0-480a-aa27-4d40c44bb890"
          },
          "type": {
            "description": "Source Type for the risk",
            "type": "string",
            "example": "PIA",
            "enum": [
              "PIA",
              "GRA",
              "INVENTORY",
              "INCIDENT",
              "ENGAGEMENT",
              "GENERIC"
            ],
            "deprecated": true
          },
          "sourceType": {
            "description": "Source type information of the risk",
            "$ref": "#/components/schemas/TechRiskCompliance-Risk_EntityTypeInformation"
          },
          "name": {
            "description": "Source Entity Name",
            "type": "string",
            "example": "Raw Materials and Sales Inventory"
          },
          "additionalAttributes": {
            "description": "Additional information about the Source Entity. This will be a Map of String Key and Object value. 'inventoryType' key is mandatory to be passed when sourceType is 'Inventory', and it can have one of the following values, 20 - Assets, 30 - Processing Activities, 50 - Vendors, 60 - Entities",
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        },
        "required": [
          "id",
          "name"
        ]
      },
      "TechRiskCompliance-Risk_RiskTemplateIdentifier": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "TechRiskCompliance-Risk_ControlCreateParameter": {
        "type": "object",
        "properties": {
          "primaryEntityId": {
            "type": "string",
            "format": "uuid"
          },
          "separateImplementationRequired": {
            "type": "boolean"
          }
        }
      },
      "TechRiskCompliance-Risk_ControlRequestDto": {
        "type": "object",
        "properties": {
          "identifier": {
            "description": "The identifier of the control.",
            "type": "string",
            "example": "A.1.1",
            "maxLength": 50,
            "minLength": 1
          },
          "name": {
            "description": "The name of the control.",
            "type": "string",
            "example": "Control ABC",
            "maxLength": 300,
            "minLength": 1
          },
          "orgGroupId": {
            "description": "The identifier of the organization the master control is linked to. In general, this is top organization in the org hierarchy.",
            "type": "string",
            "format": "uuid",
            "example": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q"
          },
          "description": {
            "description": "Description of the control.",
            "type": "string",
            "example": "Testing Control",
            "maxLength": 3000,
            "minLength": 0
          },
          "recommendation": {
            "description": "The recommendation status of this control based on Athena logic.",
            "type": "string",
            "example": "Recommended",
            "maxLength": 500,
            "minLength": 0
          },
          "frameworkId": {
            "description": "Identifier of the framework the control is tied to.",
            "type": "string",
            "format": "uuid",
            "example": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q"
          },
          "frameworkName": {
            "description": "Name of the framework the control is tied to.",
            "type": "string",
            "example": "NIST",
            "maxLength": 500,
            "minLength": 0
          },
          "frameworkNameKey": {
            "description": "Identifier used for translation of Framework Name.",
            "type": "string",
            "example": "framework.NIST",
            "maxLength": 500,
            "minLength": 0
          },
          "status": {
            "description": "The new status of the control. This can be Active, Archived, or Pending.",
            "type": "string",
            "example": "Active",
            "enum": [
              "Active",
              "Archived",
              "Pending"
            ]
          },
          "categoryId": {
            "description": "The identifier of the category tied to the control. Optional if no category is needed or if category name is provided.",
            "type": "string",
            "format": "uuid",
            "example": "1a2b3c4e-5f6g-7h8i-9j0k-1l2m3n4o5p6q"
          },
          "categoryName": {
            "description": "The name of the category tied to the control. Optional if category Id is provided.",
            "type": "string",
            "example": "Access Control",
            "maxLength": 500,
            "minLength": 0
          },
          "categoryNameKey": {
            "description": "Identifier used for translation of category name. Optional if category Id is provided.",
            "type": "string",
            "example": "category.AccessControl",
            "maxLength": 500,
            "minLength": 0
          },
          "attributes": {
            "description": "Custom Attributes",
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/TechRiskCompliance-Risk_AttributeValueInformation"
              }
            }
          },
          "implementationGuidance": {
            "description": "Implementation guidance of control.",
            "type": "string",
            "example": "Testing Control"
          }
        },
        "required": [
          "identifier",
          "name",
          "orgGroupId"
        ]
      },
      "TechRiskCompliance-Risk_RiskRequest": {
        "type": "object",
        "properties": {
          "description": {
            "description": "description",
            "type": "string",
            "maxLength": 4000,
            "minLength": 0
          },
          "treatmentPlan": {
            "description": "treatment plan",
            "type": "string",
            "maxLength": 4000,
            "minLength": 0
          },
          "orgGroupId": {
            "description": "organization group id",
            "type": "string",
            "format": "uuid"
          },
          "riskApproversId": {
            "description": "list of approver ids",
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "inherentRiskLevel": {
            "description": "inherent risk level",
            "$ref": "#/components/schemas/TechRiskCompliance-Risk_RiskLevelDetails"
          },
          "residualRiskLevel": {
            "description": "target risk level",
            "$ref": "#/components/schemas/TechRiskCompliance-Risk_RiskLevelDetails"
          },
          "categoryIds": {
            "description": "risk categories' Ids",
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "threatId": {
            "description": "risk threat' Id",
            "type": "string",
            "format": "uuid"
          },
          "vulnerabilityIds": {
            "description": "risk vulnerability' Ids",
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "attributeValues": {
            "description": "Custom Attributes",
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/TechRiskCompliance-Risk_AttributeValueInformation"
              }
            }
          },
          "targetRiskLevel": {
            "description": "target risk level",
            "$ref": "#/components/schemas/TechRiskCompliance-Risk_RiskLevelDetails"
          },
          "deadline": {
            "description": "deadline, format - YYYY-MM-DDTHH:MM:SS.FFFZ",
            "type": "string",
            "format": "date-time"
          },
          "reminderDays": {
            "description": "number of days before the deadline when the reminder will be sent",
            "type": "integer",
            "format": "int64"
          },
          "riskOwners": {
            "description": "list of risk owners",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TechRiskCompliance-Risk_BasicEntityDetail"
            }
          },
          "relatedEntities": {
            "description": "list of linked entities",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TechRiskCompliance-Risk_RiskSourceInformation"
            },
            "uniqueItems": true
          },
          "entityIdToControlIds": {
            "description": "Map of control and related entities",
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              },
              "uniqueItems": true
            }
          },
          "controlIds": {
            "description": "Set of Control Ids",
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "uniqueItems": true
          },
          "controlRequestDtos": {
            "description": "Ad Hoc control creation requests",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TechRiskCompliance-Risk_ControlRequestDto"
            }
          },
          "controlIdToCreateParameter": {
            "description": "Map of controlId to create parameter",
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/TechRiskCompliance-Risk_ControlCreateParameter"
            }
          },
          "riskTemplate": {
            "description": "risk template",
            "$ref": "#/components/schemas/TechRiskCompliance-Risk_RiskTemplateIdentifier"
          },
          "name": {
            "description": "name",
            "type": "string",
            "maxLength": 300,
            "minLength": 0
          },
          "ignoreControlAutoInheritanceConfiguration": {
            "type": "boolean"
          },
          "treatment": {
            "description": "AKA remediation in current workflow",
            "type": "string",
            "maxLength": 4000,
            "minLength": 0
          },
          "riskManager": {
            "description": "list of manager ids",
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "uniqueItems": true
          }
        },
        "required": [
          "orgGroupId"
        ]
      }
    },
    "securitySchemes": {
      "TechRiskCompliance-Risk_OAUTH2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{hostname}/api/access/v1/oauth/token",
            "scopes": {
              "RISK": "Risk Scope",
              "RISK_READ": "Risk read scope",
              "INTEGRATION": "Integration scope"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "metrics-enabled": false
  },
  "x-onetrust": {
    "spec-label": "OpenAPI 3.1.0"
  }
}
```

# Sibling pages

* [Unlink Risks](https://developer.onetrust.com/onetrust/reference/unlinkrisksfromentityusingpost.md)
* [Get List of Risk Categories](https://developer.onetrust.com/onetrust/reference/getactivecategoriesusingget.md)
* [Get Risk Matrix Configuration](https://developer.onetrust.com/onetrust/reference/getmatrixscoresettingusingget.md)
* [Get Standard Risk Configuration](https://developer.onetrust.com/onetrust/reference/getstandardscoresettingusingget.md)
* [Create Risk](https://developer.onetrust.com/onetrust/reference/createriskusingpost.md)
* [Get List of Risks](https://developer.onetrust.com/onetrust/reference/getriskpageviewusingpost.md)
* [Get List of Linked Risks](https://developer.onetrust.com/onetrust/reference/getlinkedrisksinformationusingpost.md)
* [Get Risk](https://developer.onetrust.com/onetrust/reference/getriskusingget.md)