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/630/reviews
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTU3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDAyLCJleHAiOjE3NjYyMTg0MDIsImp0aSI6ImM5MmRjYWY2LWJkZjktNGUwYS04ZWY2LWFjZTdkMmU0YjRmNSJ9.gPv5Onbk1hhUIJNgtxRiPRbk_bKpf-GdmDfOAPeeOGU
Host: example.org
Cookie:
Body
{
"review": {
"rating": 3,
"comment": "Vulgaris xiphias acsi. Sumptus dolores subiungo.",
"full_name": "Fr. Filomena Walter"
}
}
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/"170ccb294a2178fcca6c54de3452cf6c"
cache-control: max-age=0, private, must-revalidate
x-request-id: dd7ff309-4f6e-4fb0-be91-6ff771495113
x-runtime: 0.022095
content-length: 160
Body
{
"review": {
"id": 1,
"comment": "Vulgaris xiphias acsi. Sumptus dolores subiungo.",
"created_at": "2025-11-20",
"full_name": "Roy Fritsch",
"profile_id": 630,
"rating": 3
}
}