Create User Feedback
Endpoint Examples
Create User Feedback
POST
Create User Feedback
The media result identifier (required). This is the
requestId returned when a file was processed; you can also obtain it from the Media Detail response or the web app when viewing a result.Your label for the content (required). One of:
REAL, SYNTHETIC, MANIPULATED, UNKNOWN.The type of feedback (required). One of:
FALSE_POSITIVE, FALSE_NEGATIVE, CONFIRMATION, OTHER.Optional free-text comment. If omitted, no comment is stored.
201 Created with the created feedback record.
You may only submit feedback for a result you uploaded, for a result in your same organization, or, for certain roles, on behalf of your organization. If the
requestId is unknown, the API returns 400. If you are not allowed to comment on that result, the API returns 403.Authorization
You must include thex-api-key header in your request. The key must belong to a user with RealScan access to authenticate the request and properly attribute the feedback to the correct user and organization.
Errors
- 400 Bad Request — No media result exists for the given
requestId("Media result does not exist!"). - 403 Forbidden — The authenticated user cannot submit feedback for that result (
"You are not authorized to create feedback for this media result!").
Sample request
Sample response
201 Created — body shape is similar to:
text field is only populated if a comment is included in the request.