Create a review for a profile
Reviews
POST create review
Endpoint
POST /api/v1/profiles/:profile_id/reviews
Parameters
Name | Description |
---|---|
review[rating] required | Review rating |
review[comment] required | Review comment |
review[full_name] | Review full name |
Request
Route
POST /api/v1/profiles/616/reviews
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTM3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjE2LCJleHAiOjE3NTU4NTgyMTYsImp0aSI6ImQxZmMxM2NiLTg5YTQtNGVlZS04OTgyLWMxM2RlNThhNjg5MCJ9.j1uvSv5yMcUjMoU2jcbLMPkwR8gbS_oRUFc4He7aJ9M
Host: example.org
Cookie:
Body
{
"review": {
"rating": 0,
"comment": "Admitto vigilo trucido. Subvenio cado pecunia.",
"full_name": "Russel Koss"
}
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"63541bd8be08546990c32656335fb275"
cache-control: max-age=0, private, must-revalidate
x-request-id: ec8d73cc-a21c-4f4c-b41e-a0fae5156db0
x-runtime: 0.018875
content-length: 163
Body
{
"review": {
"id": 2,
"comment": "Admitto vigilo trucido. Subvenio cado pecunia.",
"created_at": "2025-07-23",
"full_name": "Rayford Prosacco",
"profile_id": 616,
"rating": 0
}
}