Reviews

Create a review for a profile

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/615/reviews

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTI4Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDY5LCJleHAiOjE3NjM1NDI0NjksImp0aSI6Ijg5OGRjNjQ1LWVmNmUtNDM1MS05MDljLWVhZDRiNTQwNjdkZCJ9.r9VhW16vLtl9HO_64hHoYyYf6fzeIyRmfJFJxNDureI
Host: example.org
Cookie: 

Body

{
  "review": {
    "rating": 5,
    "comment": "Certe vilitas viridis. Toties ascisco totam.",
    "full_name": "Amb. Rosalinda Swift"
  }
}

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/"80ad5cc16560e0bf3782fa4b556728f1"
cache-control: max-age=0, private, must-revalidate
x-request-id: ee006680-dfee-4b0c-ba79-d046ea3a5835
x-runtime: 0.006288
content-length: 165

Body

{
  "review": {
    "id": 2,
    "comment": "Certe vilitas viridis. Toties ascisco totam.",
    "created_at": "2025-10-20",
    "full_name": "Amb. Rosalinda Swift",
    "profile_id": 615,
    "rating": 5
  }
}