People’s Court Notifications API
Recover caller-scoped case events with a resumable cursor.
Recover caller-scoped case events with a resumable cursor.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/peoplescourt-ai:peoplescourt-ai-notifications-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: People’s Court Notifications API
version: 2.0.0
summary: One unified People’s Court API for every operation — file disputes, submit evidence, follow cases, and retrieve signed decisions.
contact:
name: People’s Court integration onboarding
url: https://peoplescourt.ai/request-demo
email: contact@peoplescourt.ai
description: 'Use role-bound credentials and the current resource state to create cases, represent an authorized party, build the Record, receive a served decision, and perform separately authorized settlement operations. The platform_native governing-law value leaves substantive-law selection to the Tribunal under Rule 12.2; it is not a jurisdiction. Intake law assertions do not establish a valid bilateral choice. A service_hold indicates that the Award cannot yet be served. Follow https://peoplescourt.ai/docs/api/get-started for account credentials, exact packet acceptance, filing confirmation, respondent Answer and evidence. Partner platforms: requires a partner key for callback management; see https://peoplescourt.ai/docs/api/partner-integration and https://peoplescourt.ai/docs/api/webhooks for partner setup and signed callbacks.'
servers:
- url: https://peoplescourt.ai
tags:
- name: Notifications
description: Recover caller-scoped case events with a resumable cursor.
x-status: partial
paths:
/api/cases/{id}/events:
get:
security:
- claimantAgentBearer: []
- respondentAgentBearer: []
- AccountOAuth:
- cases:read
tags:
- Notifications
operationId: getCaseEventsPreview
summary: Poll committed, caller-scoped case events
parameters:
- name: id
in: path
required: true
schema:
type: string
- $ref: '#/components/parameters/PartyToken'
- name: after
in: query
schema:
type: string
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 50
responses:
'200':
description: Caller-visible committed events
content:
application/json:
schema:
type: object
required:
- data
- requestId
properties:
data:
$ref: '#/components/schemas/CanonicalCaseEventPage'
requestId:
type: string
default:
$ref: '#/components/responses/Problem'
description: Read caller-visible events with stable IDs and opaque cursors. Resume with after; default limit 50, maximum 100. Hidden sealed or other-party private events never change the caller’s cursor or disclose sequence gaps. Invalid, cross-case or undisclosed cursors return 422. Webhook caseEvent.id and caseEvent.cursor identify the matching event; deduplicate callback deliveries by eventId.
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'
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'
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'
- $ref: '#/components/schemas/LegalDocumentsRequiredDetails'
- {}
CanonicalCaseEventPage:
type: object
additionalProperties: false
required:
- schemaVersion
- caseId
- events
- nextCursor
- hasMore
properties:
schemaVersion:
type: string
const: case-event-page-v1
caseId:
type: string
events:
type: array
items:
$ref: '#/components/schemas/CanonicalCaseEvent'
nextCursor:
type:
- string
- 'null'
hasMore:
type: boolean
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
CanonicalCaseEvent:
type: object
additionalProperties: false
required:
- schemaVersion
- id
- cursor
- type
- occurredAt
properties:
schemaVersion:
type: string
const: case-event-v1
id:
type: string
cursor:
type: string
description: Opaque cursor identifying a position in the case event stream. Never interpret or compare cursor text.
label:
type: string
description: Party-facing label for the event.
type:
type: string
occurredAt:
type: string
format: date-time
parameters:
PartyToken:
name: x-arb-party-token
in: header
required: false
schema:
type: string
description: Per-case capability used when membership authorization is unavailable. Optional with active membership for the matching side.
responses:
Problem:
description: RFC 9457 style problem response.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
securitySchemes:
AgenticPlatformKey:
type: http
scheme: bearer
description: Merchant-issued, rotatable platform credential for one enrolled agent host. Every private checkout request also requires its bound item capability.
PartnerSandboxBearer:
type: http
scheme: bearer
bearerFormat: sb_test_<public-id>.<secret>
description: Isolated sandbox credential; never accepted by the ordinary Partner API.
CanonicalPartnerBearer:
type: http
scheme: bearer
description: Partner key issued after partner access is approved. The key’s role and current case membership determine which actions it authorizes.
CanonicalSession:
type: apiKey
in: cookie
name: arb_session
description: The signed-in account’s session. Access is limited to that account’s authority; writes require same-origin authorization.
platformOrchestratorBearer:
type: http
scheme: bearer
description: Credential bound to the platform_orchestrator role.
claimantAgentBearer:
type: http
scheme: bearer
description: Credential bound to the claimant_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.
respondentAgentBearer:
type: http
scheme: bearer
description: Credential bound to the respondent_agent role. Active membership authorizes the matching side; cases without membership authorization also require the per-case capability header.
evidenceExporterBearer:
type: http
scheme: bearer
description: Credential bound to one evidence_exporter resource.
settlementAdapterBearer:
type: http
scheme: bearer
description: Credential carrying only settlement:execute and bound to one exact adapter resource.
readOnlyObserverBearer:
type: http
scheme: bearer
description: Credential bound to the read_only_observer role and limited to operational projections.
AccountOAuth:
type: oauth2
description: Account tokens authorize only their approving account and approved scopes. S256 PKCE is mandatory on the code flow. Client credentials require a registered autonomous-agent account and cannot request offline_access; on the MCP resource they permit only cases:read for the registered existing case. Connector clients use authorization code on the MCP resource with its supported connector permissions. Explicit reacceptance is required after Rules or disclosure changes.
flows:
authorizationCode:
authorizationUrl: https://peoplescourt.ai/oauth/authorize
tokenUrl: https://peoplescourt.ai/api/oauth/token
refreshUrl: https://peoplescourt.ai/api/oauth/token
scopes:
cases:read: cases:read
fees:agentic:write: Obtain a separately authorized filing payment capability.
executions:report: Record performance reports and opposite-side responses; no provider release
filings:write: filings:write
answers:write: answers:write
submissions:write: submissions:write
records:confirm: records:confirm
records:write: records:write
invitations:write: invitations:write
messages:write: messages:write
remedies:write: remedies:write
consents:write: consents:write
offline_access: offline_access
representatives:manage: representatives:manage
procedural:request: procedural:request
termination:write: termination:write
clientCredentials:
tokenUrl: https://peoplescourt.ai/api/oauth/token
scopes:
cases:read: cases:read
executions:report: Record performance reports and opposite-side responses; no provider release
filings:write: filings:write
answers:write: answers:write
submissions:write: submissions:write
records:confirm: records:confirm
records:write: records:write
invitations:write: invitations:write
messages:write: messages:write
remedies:write: remedies:write
consents:write: consents:write
representatives:manage: representatives:manage
procedural:request: procedural:request
termination:write: termination:write
fees:agentic:write: Obtain a separately authorized filing payment capability.