Reviews

Create a review for a profile

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

Headers

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

Body

{
  "review": {
    "rating": 2,
    "comment": "Atrox degusto thema. Maiores animi ut.",
    "full_name": "Reita Lesch CPA"
  }
}

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/"857aa857c1043ecec376a42f121c68f1"
cache-control: max-age=0, private, must-revalidate
x-request-id: 17a56364-4dd9-4632-82bd-cdeeb6581218
x-runtime: 0.017659
content-length: 156

Body

{
  "review": {
    "id": 1,
    "comment": "Atrox degusto thema. Maiores animi ut.",
    "created_at": "2025-10-20",
    "full_name": "Marquetta Gerlach",
    "profile_id": 611,
    "rating": 2
  }
}