Skip to main content

Endpoint

POST /reviews/{review_id}/feedback

Request Body

{
  "rating": 5,
  "comment": "Quick and clear decision, thank you!"
}

Response

{
  "id": 1,
  "review_id": 1,
  "rating": 5,
  "comment": "Quick and clear decision, thank you!",
  "created_at": "2024-01-01T12:00:00Z"
}

Example

import httpx

async with httpx.AsyncClient() as client:
    response = await client.post(
        "https://api.humancheck.dev/reviews",
        headers={
            "Authorization": "Bearer your-api-key-here",
            "Content-Type": "application/json"
        },
        json={
            "rating": 5,
            "comment": "Great decision!"
        }
    )
    feedback = response.json()