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

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTM3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTMxLCJleHAiOjE3NTExMDg1MzEsImp0aSI6IjFhNzE0NWQ2LTVhZDgtNDJkYy1hMWEwLTEwODIzNjczNzU1YiJ9.1KIAgsM5JuAFOmEpr3c7xLfLewlzEWeWY3f2aK5UfrU
Host: example.org
Cookie: 

Body

{
  "review": {
    "rating": 5,
    "comment": "Tibi desparatus qui. Quod victoria verecundia.",
    "full_name": "Dallas Kuhn PhD"
  }
}

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/"f0b1d8dc5f0b1d7f60c099361351d4aa"
cache-control: max-age=0, private, must-revalidate
x-request-id: b36f78d8-3553-46c1-b3ad-7bfa6771c3b0
x-runtime: 0.014591
content-length: 159

Body

{
  "review": {
    "id": 2,
    "comment": "Tibi desparatus qui. Quod victoria verecundia.",
    "created_at": "2025-05-29",
    "full_name": "Glennie Lind",
    "profile_id": 616,
    "rating": 5
  }
}