Skip to content

Mark a case as viewed

Request

Mark a case as viewed by the current user

Security
oauth2(Required scopes: case:read) or bearerAuth or apiKeyHeader
Path
caseIdstring(AnyId)^ext-|^[A-Z][A-Z0-9]-[A-Z0-9]+-[A-Z0-9]+|^\d+$write-onlyrequired

The case object unique identifier.

personIdstring(AnyId)^ext-|^[A-Z][A-Z0-9]-[A-Z0-9]+-[A-Z0-9]+|^\d+$write-onlyrequired

A Borrower's unique identifier, tied to a person or a business. Can be Peach or a lender's external identifier.

POST
/people/{personId}/cases/{caseId}/views
curl -i -X POST \
  'https://sandboxapi.peach.finance/api/people/{personId}/cases/{caseId}/views' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successfully marked case as viewed