Create a review for a profile
Reviews
POST create review(admin)
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/634/reviews
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTY5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDAzLCJleHAiOjE3NjYyMTg0MDMsImp0aSI6IjRiNmY2ZmM3LThhYjUtNDA3NC05YzQyLThhYTI3NDk3ODk4NSJ9.Xu7zhjg8G8oa-iyWT4c3HwCVunsLS1zxdOWwS3DEsCE
Host: example.org
Cookie:
Body
{
"review": {
"rating": 0,
"comment": "Ater degusto atqui. Tyrannus tamisium centum.",
"full_name": "Austin Paucek Jr."
}
}
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/"8912cf8224bef69dbd037a7351099692"
cache-control: max-age=0, private, must-revalidate
x-request-id: 09f1eed6-e3b3-47c8-9291-69af98bc5cce
x-runtime: 0.015782
content-length: 163
Body
{
"review": {
"id": 2,
"comment": "Ater degusto atqui. Tyrannus tamisium centum.",
"created_at": "2025-11-20",
"full_name": "Austin Paucek Jr.",
"profile_id": 634,
"rating": 0
}
}