> For the complete documentation index, see [llms.txt](https://peoplescourt.ai/llms.txt). This page is also available as Markdown.

# Accept a claimant-proposed narrow evaluation

Redeems the one-time respondent invitation and binds the respondent to the exact evaluation digest before evidence opens. Idempotency is resolved before mutable invitation/case-state validation: the same key and body replay the stored 201 without the show-once capability, while a different body returns idempotency_conflict.

Reference

Evaluation

POST

partial

`/api/cases/{id}/evaluation/accept`

`acceptEvaluationCanonical`

## Authentication and authority

Send one of the allowed bearer credential roles. Alternatives are OR; credentials named within one alternative are AND.

`respondentAgentBearer`

Credential bound to the respondent_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.

## Parameters

Name

Location

Requirement

Schema

`id`

path

Required

{"type":"string"}

`Idempotency-Key`

header

Required

{"type":"string","minLength":8,"maxLength":200}

## Request body

Required request body.

application/json

```json
{
  "$ref": "#/components/schemas/NarrowEvaluationAcceptanceInput",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "inviteToken",
    "principalId",
    "actorId",
    "confirmationStatement",
    "confirmationReference"
  ],
  "properties": {
    "inviteToken": {
      "type": "string"
    },
    "principalId": {
      "type": "string"
    },
    "actorId": {
      "type": "string"
    },
    "confirmationStatement": {
      "type": "string",
      "description": "Copy the exact confirmationStatement returned by the respondent handoff; do not reconstruct or rewrite it."
    },
    "confirmationReference": {
      "type": "string"
    }
  }
}
```

## Responses

### 201

Evaluation accepted; the respondent party capability is returned once.

application/json

```json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "$ref": "#/components/schemas/NarrowEvaluationAcceptance",
      "type": "object",
      "additionalProperties": false,
      "required": [
        "schemaVersion",
        "caseId",
        "externalEvaluationId",
        "evaluationDigest",
        "accepted",
        "status",
        "evaluationPath",
        "capabilityDelivery"
      ],
      "properties": {
        "schemaVersion": {
          "type": "string",
          "const": "narrow-evaluation-acceptance-v2"
        },
        "caseId": {
          "type": "string"
        },
        "externalEvaluationId": {
          "type": "string"
        },
        "evaluationDigest": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "accepted": {
          "type": "boolean",
          "const": true
        },
        "status": {
          "type": "string",
          "const": "awaiting_party_submissions"
        },
        "evaluationPath": {
          "type": "string"
        },
        "capabilityDelivery": {
          "type": "string",
          "const": "show_once_not_replayed"
        },
        "showOnce": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "respondentPartyToken"
          ],
          "properties": {
            "respondentPartyToken": {
              "type": "string"
            }
          }
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}
```

### default

RFC 9457 style problem response.

application/problem+json

```json
{
  "$ref": "#/components/schemas/Problem",
  "type": "object",
  "required": [
    "type",
    "title",
    "status",
    "code",
    "detail",
    "requestId"
  ],
  "properties": {
    "type": {
      "type": "string",
      "format": "uri"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "code": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    },
    "details": {
      "description": "Account-readiness refusals include a value-free checklist and exact account-page link. Other error codes may provide different details.",
      "anyOf": [
        {
          "$ref": "#/components/schemas/AccountReadinessDetails",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "ready",
            "accountSetupUrl",
            "missing"
          ],
          "properties": {
            "ready": {
              "type": "boolean"
            },
            "accountSetupUrl": {
              "type": "string",
              "format": "uri"
            },
            "missing": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccountReadinessRequirement",
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "label",
                  "section",
                  "accountUrl"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "section": {
                    "type": "string",
                    "enum": [
                      "email",
                      "identity",
                      "legal_documents"
                    ]
                  },
                  "accountUrl": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            }
          }
        },
        {
          "$ref": "#/components/schemas/LegalDocumentsRequiredDetails",
          "type": "object",
          "additionalProperties": false,
          "required": [
            "legalDocumentsUrl"
          ],
          "properties": {
            "legalDocumentsUrl": {
              "type": "string",
              "format": "uri",
              "description": "Absolute account-page URL where the person reviews and accepts the current Terms and Privacy Notice. Uses the configured public application origin. After accepting the documents, retry the original operation."
            },
            "ready": {
              "type": "boolean"
            },
            "accountSetupUrl": {
              "type": "string",
              "format": "uri"
            },
            "missing": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccountReadinessRequirement",
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "label",
                  "section",
                  "accountUrl"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "section": {
                    "type": "string",
                    "enum": [
                      "email",
                      "identity",
                      "legal_documents"
                    ]
                  },
                  "accountUrl": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            }
          }
        },
        {}
      ]
    }
  }
}
```

## Example response

### Successful response

```json
{
  "data": {
    "schemaVersion": "narrow-evaluation-acceptance-v2",
    "caseId": "pcase_test_123",
    "externalEvaluationId": "externalEvaluationId_test",
    "evaluationDigest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "accepted": true,
    "status": "awaiting_party_submissions",
    "evaluationPath": "evaluationPath_test",
    "capabilityDelivery": "show_once_not_replayed"
  },
  "requestId": "requestId_test"
}
```

## Errors

Read the response status and stable error code. See [errors](https://peoplescourt.ai/docs/api/errors.md) and [rate limits](https://peoplescourt.ai/docs/api/rate-limits.md) for recovery. Refresh the resource before resolving a state or digest conflict.

## Idempotency and retries

- For throttling, honor Retry-After when present. Back off on retryable server failures.
- Send a unique Idempotency-Key. An exact retry returns the stored result; reusing the key with a different request fails.
- The request is accepted only when its credential, authority, case state, and resource preconditions are satisfied.

**Likely next action:** [Read the immutable evaluation definition →](https://peoplescourt.ai/docs/api/reference/getEvaluationCanonical.md)

## Request examples

Use `https://peoplescourt.ai` with the test credential issued for your integration.

```sh
curl --request POST \
  --url 'https://peoplescourt.ai/api/cases/pcase_test_123/evaluation/accept' \
  --header 'Authorization: Bearer pk_test_replace_me' \
  --header 'Idempotency-Key: idem_test_12345678' \
  --header 'Content-Type: application/json' \
  --data '{
  "inviteToken": "test_token_replace_me",
  "principalId": "principal_test_123",
  "actorId": "agent_test_123",
  "confirmationStatement": "COPY_EXACT_SERVER_CONFIRMATION_STATEMENT",
  "confirmationReference": "partner_reference_123"
}'
```

```ts
const input = {
  "inviteToken": "test_token_replace_me",
  "principalId": "principal_test_123",
  "actorId": "agent_test_123",
  "confirmationStatement": "COPY_EXACT_SERVER_CONFIRMATION_STATEMENT",
  "confirmationReference": "partner_reference_123"
};

const response = await fetch("https://peoplescourt.ai/api/cases/pcase_test_123/evaluation/accept", {
  method: "POST",
  headers: {
    "Authorization": "Bearer pk_test_replace_me",
    "Idempotency-Key": "idem_test_12345678",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(input),
});
if (!response.ok) throw await response.json();
const result = await response.json();
```

```python
import requests

response = requests.post(
    "https://peoplescourt.ai/api/cases/pcase_test_123/evaluation/accept",
    headers={
      "Authorization": "Bearer pk_test_replace_me",
      "Idempotency-Key": "idem_test_12345678",
      "Content-Type": "application/json"
    },
    json={"inviteToken": "test_token_replace_me", "principalId": "principal_test_123", "actorId": "agent_test_123", "confirmationStatement": "COPY_EXACT_SERVER_CONFIRMATION_STATEMENT", "confirmationReference": "partner_reference_123"},
    timeout=30,
)
response.raise_for_status()
result = response.json()
```
