---
agentTools:
  projectIndex: https://developers.etrusted.com/llms.txt
---

# Get a review Veto by reviewID

This endpoint retrieves the veto for a specific review.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Reviews API",
    "description": "Review application external APIs",
    "version": "1.0.1"
  },
  "servers": [
    {
      "url": "https://api.etrusted.com",
      "description": "public API"
    }
  ],
  "paths": {
    "/reviews/{reviewId}/vetos": {
      "get": {
        "operationId": "getReviewVeto",
        "summary": "Get a review Veto by reviewID",
        "tags": [
          "Endpoints"
        ],
        "description": "This endpoint retrieves the veto for a specific review.\n",
        "parameters": [
          {
            "name": "Authorization",
            "schema": {
              "type": "string"
            },
            "in": "header",
            "required": true,
            "description": "An OAuth2 authorization header with an access token, see [OAuth2](/reference/authentication-2)"
          },
          {
            "name": "reviewId",
            "schema": {
              "type": "string"
            },
            "in": "path",
            "required": true,
            "description": "The review ID."
          }
        ],
        "responses": {
          "200": {
            "description": "The vetos for the given reviews.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewVetoResponseDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not found"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ReviewVetoResponseDto": {
        "description": "The veto has been saved successfully.",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The veto UUID.",
            "example": "vet-xxxxxxxx-yyyy-xxxx-yyyy-xxxxxxxxxxxx"
          },
          "ticketId": {
            "type": "string",
            "description": "A reference to the ticket that was created internally at Trusted Shops for this veto.\nThe ID is a sequence of six digits.\n",
            "example": "123123"
          },
          "comment": {
            "type": "string",
            "description": "The comment in the ticket that was created internally at Trusted Shops for this veto.",
            "example": "example comment"
          },
          "reason": {
            "type": "string",
            "description": "The reason for this veto.\n\nThis string may only have the following values:\n\n* `UNTRUTHFUL`\n* `ABUSIVE`\n* `VIOLATES_THE_TERMS_OF_USE`\n* `INAPPROPRIATE_IMAGE`\n",
            "example": "UNTRUTHFUL",
            "x-extensible-enum": [
              "UNTRUTHFUL",
              "ABUSIVE",
              "VIOLATES_THE_TERMS_OF_USE",
              "INAPPROPRIATE_IMAGE"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "The date and time when the veto was created, in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) and [RFC 3339](https://tools.ietf.org/html/rfc3339) compliant format yyyy-MM-dd’T’HH:mm:ss.SSSZ.",
            "example": "2018-02-01T17:09:41.790Z"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "The date and time when the veto was last modified, in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) and [RFC 3339](https://tools.ietf.org/html/rfc3339) compliant format yyyy-MM-dd’T’HH:mm:ss.SSSZ.",
            "example": "2018-02-01T17:09:41.790Z"
          }
        },
        "required": [
          "id",
          "ticketId",
          "comment",
          "reason",
          "createdAt"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 101,
      "1": 83,
      "2": 142,
      "3": 29,
      "4": 5,
      "5": 189,
      "6": 222,
      "7": 0,
      "8": 77,
      "9": 152,
      "10": 142,
      "11": 231
    }
  }
}
```