Endpoint
Copy
POST /reviews/{review_id}/feedback
Request Body
Copy
{
"rating": 5,
"comment": "Quick and clear decision, thank you!"
}
Response
Copy
{
"id": 1,
"review_id": 1,
"rating": 5,
"comment": "Quick and clear decision, thank you!",
"created_at": "2024-01-01T12:00:00Z"
}
Example
Copy
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()