---
title: "Provide feedback about Account Protect recommendations for a specific event, account, or user."
method: POST
path: "/v1/feedback"
tags: ["feedback"]
---

# Provide feedback about Account Protect recommendations for a specific event, account, or user.

`POST /v1/feedback`

## Request

- Base URL: `https://account-api.datadome.co`
- URL: `https://account-api.datadome.co/v1/feedback`
- Auth: API key in header `x-api-key`

## Request body

- union
  - object: Base properties for feedback payload sent to Account Protect server
    - `decision` 'allow' | 'challenge' | 'review' | 'deny' | 'delete', required: The decision that should have been taken for the event or account (mandatory).
    - `decisionTime` integer: The timestamp (EPOCH in milliseconds) when the decision was taken.
    - `decisionReason` string: The description of the reasons why a decision has been taken.
    - `origin` 'manualReview' | 'chargebacks' | 'automatedRule' | 'dashboard' | 'datadome' | 'other', required: The system that triggers the decision (mandatory).
    - `originId` string: The id that identifies the decision-maker.
  - object: Base properties for feedback payload sent to Account Protect server
    - `decision` 'allow' | 'challenge' | 'review' | 'deny' | 'delete', required: The decision that should have been taken for the event or account (mandatory).
    - `decisionTime` integer: The timestamp (EPOCH in milliseconds) when the decision was taken.
    - `decisionReason` string: The description of the reasons why a decision has been taken.
    - `origin` 'manualReview' | 'chargebacks' | 'automatedRule' | 'dashboard' | 'datadome' | 'other', required: The system that triggers the decision (mandatory).
    - `originId` string: The id that identifies the decision-maker.
  - object: Base properties for feedback payload sent to Account Protect server
    - `decision` 'allow' | 'challenge' | 'review' | 'deny' | 'delete', required: The decision that should have been taken for the event or account (mandatory).
    - `decisionTime` integer: The timestamp (EPOCH in milliseconds) when the decision was taken.
    - `decisionReason` string: The description of the reasons why a decision has been taken.
    - `origin` 'manualReview' | 'chargebacks' | 'automatedRule' | 'dashboard' | 'datadome' | 'other', required: The system that triggers the decision (mandatory).
    - `originId` string: The id that identifies the decision-maker.

## Response `201`

The feedback has been taken into account

- object: Contains the feedback's ID associated to the feedback created
  - `feedbackId` string: The feedback's ID, needed for any support request

## Other responses

- `400`: Error response when the request is malformed
- `401`: Error response when the apiKey is missing or blank
- `403`: Error response when the apiKey is not valid
- `415`: Content-Type is not set to application/json
- `500`: Internal server error (thus the feedback has not been taken into account)

---

[API](https://skmtc.dev/datadome/apis/account-protect-api.md) - [All operations](https://skmtc.dev/datadome/apis/account-protect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/datadome/apis/account-protect-api/revisions/c25df7aef1f2?raw)
