# Convert a Risk to an Issue

Convert a Risk to an Issue

Endpoint: POST /api/risks/{riskId}/convert-to-issue
Version: 1.13
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

  - `riskId` (string, required)
    The unique Salesforce ID of the Risk to convert to an Issue. This is REQUIRED.

## Request fields (application/json):

  - `Reference` (string)
    The reference (name) for the new Issue. Required unless the org is configured to auto-generate Issue references by sequence.

## Response 202:

  - `202` (unknown)
    Success - Created

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 500:

  - `500` (unknown)
    Server Error

## Response 500 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

