---
updatedAt: 2026-03-30T09:13:57.000Z
agentTools:
  projectIndex: https://developers.bazaarvoice.com/v1.0-ConversationsAPI/llms.txt
---

# Generate a form URL for DSA.

This API generates a form URL for DSA feedback.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Conversation Submission API",
    "x-api-id": "2b36747d-6cb9-42e2-a7d8-22c3979abeee",
    "x-audience": "external-public",
    "description": "The Conversation Submission API is a comprehensive platform for submitting and managing content such as Reviews, Questions, Answers, Comments, Feedback, and media uploads, as well as handling Notifications for CV2 clients.",
    "version": "1.0.0",
    "contact": {
      "email": "submission-team@bazaarvoice.com",
      "name": "Submission Team",
      "url": "https://developer.bazaarvoice.com/conversations-api/home"
    }
  },
  "servers": [
    {
      "url": "https://stg.api.bazaarvoice.com",
      "description": "Conversation-Submission API STG"
    }
  ],
  "tags": [
    {
      "name": "Feedback"
    }
  ],
  "paths": {
    "/data/dsafeedbackurl.json": {
      "post": {
        "tags": [
          "Feedback"
        ],
        "summary": "Generate a form URL for DSA.",
        "operationId": "DsaFeedabackUrl",
        "description": "This API generates a form URL for DSA feedback.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DsaFeedbackUrlRequest"
              }
            }
          },
          "required": true
        },
        "parameters": [
          {
            "in": "query",
            "name": "passkey",
            "required": true,
            "schema": {
              "type": "string",
              "example": "[yourKey]"
            },
            "description": "Key required to authenticate API user and check permission to access particular client's data."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response containing the generated form URL.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmitDsaFeedbackUrl"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request error when invalid parameters are provided or required fields are missing.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                },
                "examples": {
                  "badRequest": {
                    "summary": "Bad Request Example",
                    "value": {
                      "instance": "/data/dsafeedbackurl",
                      "title": "Bad Request",
                      "status": 400,
                      "detail": "Content Type is missing. Ensure the request includes all required fields and try again."
                    }
                  }
                }
              }
            }
          },
          "414": {
            "description": "Request-URI too long",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "example": {
                  "fault": {
                    "faultstring": "request line size exceeding 7,168",
                    "detail": {
                      "errorcode": "protocol.http.TooBigLine"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error when something goes wrong while processing the request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                },
                "examples": {
                  "internalServerError": {
                    "summary": "Internal Server Error Example",
                    "value": {
                      "instance": "/data/dsafeedbackurl",
                      "title": "Internal Server Error",
                      "status": 500,
                      "detail": "An unexpected error has occurred, please retry. Contact Bazaarvoice if the problem persists."
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "DsaFeedbackUrlRequest": {
        "type": "object",
        "required": [
          "url",
          "domain",
          "contentId",
          "lang",
          "parameters"
        ],
        "properties": {
          "url": {
            "type": "string",
            "example": "www.abc.com",
            "description": "URL of the reported content."
          },
          "domain": {
            "type": "string",
            "example": "abc.com",
            "description": "Domain if loaded via iframe (CSP)."
          },
          "contentId": {
            "type": "string",
            "example": "54e",
            "description": "The ID of the content with which the feedback is associated."
          },
          "lang": {
            "type": "string",
            "example": "en_US",
            "description": "Language in which the page should be rendered."
          },
          "subject": {
            "type": "string",
            "example": "ID123456",
            "description": "Subject (optional)"
          },
          "parameters": {
            "type": "object",
            "required": [
              "contentType",
              "client",
              "displayCode",
              "destSiteId",
              "contentLocale",
              "destLocale"
            ],
            "properties": {
              "contentType": {
                "type": "string",
                "example": "review",
                "description": "The type of content with which the feedback is associated (review, question, answer, or review_comment)."
              },
              "client": {
                "type": "string",
                "example": "[ClientName]",
                "description": "BV onboarded client."
              },
              "displayCode": {
                "type": "string",
                "example": "[DisplayCode]",
                "description": "Code representing the display of the content submission, such as for UI purposes."
              },
              "sourceClient": {
                "type": "string",
                "example": "[SourceClient]",
                "description": "The source client identifier, representing where the content originated. (optional)"
              },
              "product": {
                "type": "string",
                "example": "rnr",
                "description": "The product type. If not specified, default value will be \"rnr\"."
              },
              "destSiteId": {
                "type": "string",
                "example": 23675,
                "description": "Identifies the origin of the report."
              },
              "contentLocale": {
                "type": "string",
                "example": "en_US",
                "description": "Language of the content."
              },
              "destLocale": {
                "type": "string",
                "example": "en_US",
                "description": "Language of the originated content."
              }
            }
          }
        }
      },
      "SubmitDsaFeedbackUrl": {
        "type": "object",
        "properties": {
          "formUrl": {
            "type": "string",
            "example": "https://test.dsacompliance.bazaarvoice.com/dsa/iframe/28/e9912a6e1569/?reference=1617911&url=https%3A%2F%2Fapps-qa.bazaarvoice.com%2Ftemp%2Fdsa_iframe%2Ftest_dsa_iframe_v2.html%3FbvmessageType%3DREVIEW_CONTENT%26bvTriggerer%3Ddsa_workflow%23review%2F1617911&hash=0d65f9021a42757913016c9db25bf16d2a5a894245eba0fefee171cc3e9a8915&parameters=%7B%22client%22%3A%22testcustomer-fast-prs-qa%22%2C%22displayCode%22%3A%2214176-en_us%22%2C%22contentType%22%3A%22review%22%2C%22destSiteId%22%3A%22main_site%22%2C%22contentLocale%22%3A%22en_US%22%2C%22product%22%3A%22rnr%22%7D&subject=testcustomer-fast-prs-qa_review_1617911&dhash=3406bda02f8a4ab45e3c14439bfd3326c6e900476b01175db717159323f969c1&domain=apps-qa.bazaarvoice.com",
            "description": "URL to the DSA feedback form, including parameters like locale, client, sourceClient, and contentType."
          }
        }
      },
      "Problem": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "format": "uri",
            "description": "A URI reference that uniquely identifies the problem type only in the context of the provided API. Opposed to the specification in RFC-7807, it is neither recommended to be dereferenceable nor globally unique for the problem type.\n",
            "default": "about:blank",
            "example": "/some/uri-reference"
          },
          "title": {
            "type": "string",
            "description": "A short summary of the problem type. Written in English and readable for engineers, usually not suited for non-technical stakeholders and not localized.\n",
            "example": "ERROR_BAD_REQUEST"
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "description": "The HTTP status code generated by the origin server for this occurrence of the problem.\n",
            "minimum": 100,
            "maximum": 600,
            "exclusiveMaximum": true,
            "example": 400
          },
          "detail": {
            "type": "string",
            "description": "A human-readable explanation specific to this occurrence of the problem that is helpful to locate the problem and give advice on how to proceed. Written in English and readable for engineers, usually not suited for non-technical stakeholders and not localized.\n",
            "example": "Missing or unknown value for contentType."
          },
          "instance": {
            "type": "string",
            "format": "uri-reference",
            "description": "A URI reference that identifies the specific occurrence of the problem, e.g., by adding a fragment identifier or sub-path to the problem type. May be used to locate the root of this problem in the source code.\n",
            "example": "/some/uri-reference#specific-occurrence-context"
          }
        }
      },
      "ErrorResponse": {
        "type": "object",
        "required": [
          "code",
          "occurredAt"
        ],
        "properties": {
          "type": {
            "type": "string",
            "format": "uri",
            "default": "about:blank"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "description": "The HTTP status code generated by the origin server for this occurrence of the problem.",
            "minimum": 100,
            "maximum": 599,
            "example": 400
          },
          "detail": {
            "type": "string",
            "description": "A human readable explanation specific to this occurrence of the problem.",
            "example": "Connection to database timed out"
          },
          "instance": {
            "type": "string",
            "format": "uri",
            "description": "An absolute URI that identifies the specific occurrence of the problem."
          },
          "code": {
            "type": "string",
            "example": "ERROR_PARAM_MISSING_PARAMETERS",
            "x-extensible-enum": [
              "ERROR_ACCESS_DENIED",
              "ERROR_FORM_DUPLICATE",
              "ERROR_FORM_EMOJI",
              "ERROR_FORM_REQUIRED",
              "ERROR_FORM_REQUIRED_NICKNAME",
              "ERROR_FORM_TOO_SHORT",
              "ERROR_DUPLICATE_SUBMISSION",
              "ERROR_PARAM_INVALID_API_KEY",
              "ERROR_PARAM_INVALID_LOCALE",
              "ERROR_PARAM_INVALID_PARAMETERS",
              "ERROR_PARAM_MISSING_SUBJECT_ID",
              "ERROR_PARAM_MISSING_USER_ID",
              "ERROR_REQUEST_LIMIT_REACHED",
              "ERROR_UNKNOWN",
              "ERROR_UNSUPPORTED",
              "ERROR_NOT_FOUND",
              "ERROR_FORBIDDEN",
              "ERROR_REQUEST_LINE_TOO_LARGE"
            ]
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time",
            "example": "2023-07-19T09:10:04.446Z"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```