Create review
Reviews
Create review
Create a new review authored by the authenticated user.
Use this endpoint after a qualifying interaction (for example an order flow) when collecting user feedback.
Validation and moderation:
- Review must pass source/actor validation checks.
- Review text is sanitized before persistence.
- Empty content after sanitization is treated as no comment.
Responses:
- Returns
201with the created authored review. - Returns
403when the review is not valid for the source/user combination.
POST
Create review
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Review created
Review authored by the user
Unique identifier for the review
Rating given in the review
Number of times the review has been revised
Source associated with the review
User that the review is about
Optional textual feedback
Timestamp when the review was created