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

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDg5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTg0LCJleHAiOjE3NDAxNDM1ODQsImp0aSI6ImRjYjAyMGVmLTkxMjQtNDJhYy1hOTA3LTYzN2MwZjZlYTExMCJ9.DykyiqBrpxeYrgEEQzxJsUJ-LKuOQuRpMHpcrvCDLcA
Host: example.org
Cookie: 

Body

{
  "review": {
    "rating": 3,
    "comment": "Creta terror curso. Civis comitatus tergeo.",
    "full_name": "Preston Welch"
  }
}

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/"584266460e54b65cab0591df6375f5c6"
cache-control: max-age=0, private, must-revalidate
x-request-id: 22d05c24-52a6-4fb2-b25c-e1fa10a39789
x-runtime: 0.013702
content-length: 157

Body

{
  "review": {
    "id": 2,
    "comment": "Creta terror curso. Civis comitatus tergeo.",
    "created_at": "2025-01-22",
    "full_name": "Rhona Murazik",
    "profile_id": 612,
    "rating": 3
  }
}