Skip to main content

Endpoint

GET /reviews/{review_id}/decision

Response

{
  "review_id": 1,
  "reviewer_id": 1,
  "decision_type": "approve",
  "modified_action": null,
  "notes": "Payment approved",
  "created_at": "2024-01-01T12:00:00Z"
}

Example

import httpx

async with httpx.AsyncClient() as client:
    response = await client.get(
        "https://api.humancheck.dev/reviews/1/decision"
    )
    decision = response.json()
    
    if decision:
        print(f"Decision: {decision['decision_type']}")
    else:
        print("No decision yet")