OpenProof Grievances API
The grievances API from OpenProof — 11 operation(s) for grievances.
The grievances API from OpenProof — 11 operation(s) for grievances.
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/openproof-io:openproof-io-grievances-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: Openproof Io Grievances API
version: 1.0.0
description: 'Operations tagged grievances across 2 of this provider''s published API definitions: openapi.json, openproof-io-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: grievances
paths:
/grievances/otp/request:
post:
tags:
- grievances
summary: Request Otp
operationId: request_otp_grievances_otp_request_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OtpRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/grievances/otp/verify:
post:
tags:
- grievances
summary: Verify Otp
operationId: verify_otp_grievances_otp_verify_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/app__routers__grievances__OtpVerify'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/grievances/bulk:
post:
tags:
- grievances
summary: Bulk Update Grievances
description: 'Assign several requests to one person, or move them between open and in progress. Editor+ role required.
Nothing is changed if any id or the assignee is invalid; the whole action is recorded as one timeline event.'
operationId: bulk_update_grievances_grievances_bulk_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BulkUpdate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/grievances/{business_id}:
post:
tags:
- grievances
summary: Submit Grievance
operationId: submit_grievance_grievances__business_id__post
parameters:
- name: business_id
in: path
required: true
schema:
type: string
title: Business Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GrievanceCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/grievances/status/{reference_code}:
get:
tags:
- grievances
summary: Check Grievance Status
operationId: check_grievance_status_grievances_status__reference_code__get
parameters:
- name: reference_code
in: path
required: true
schema:
type: string
title: Reference Code
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/grievances:
get:
tags:
- grievances
summary: List Grievances
description: 'Requests filed against the current business, newest first. Viewer+ role required.
Without parameters this returns everything, as before. With limit/offset it pages; status
(open, in_progress, resolved, refused, overdue, active, closed), q (reference, name, email or
text) and assignee (a user id or "unassigned") narrow the list. X-Total-Count carries the total
that matches the filters.'
operationId: list_grievances_grievances_get
security:
- HTTPBearer: []
parameters:
- name: limit
in: query
required: false
schema:
anyOf:
- type: integer
maximum: 500
minimum: 1
- type: 'null'
title: Limit
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
title: Offset
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Status
- name: q
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Q
- name: assignee
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Assignee
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/grievances/summary:
get:
tags:
- grievances
summary: Grievance Summary
description: Counts for the filter chips, computed over ALL requests, not just the page on screen.
operationId: grievance_summary_grievances_summary_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/grievances/assignees:
get:
tags:
- grievances
summary: List Assignees
description: 'People a request can be assigned to: the owner and active editors.'
operationId: list_assignees_grievances_assignees_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/grievances/export:
get:
tags:
- grievances
summary: Export Grievances Csv
description: 'CSV of the request log: reference, category, dates, status, deadline,
assignee. Deliberately omits the requester''s name, email and the free-text
description, so the file can be shared with an auditor or adviser without
passing personal data along. Viewer+ role.'
operationId: export_grievances_csv_grievances_export_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/grievances/{grievance_id}/draft:
get:
tags:
- grievances
summary: Draft Response
description: 'A response draft for this request, for the business to review and send
itself. Defaults to the template for the request''s category; pass
kind=refused for the refusal reply, which includes the stated reason.'
operationId: draft_response_grievances__grievance_id__draft_get
security:
- HTTPBearer: []
parameters:
- name: grievance_id
in: path
required: true
schema:
type: string
title: Grievance Id
- name: kind
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Kind
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/grievances/{grievance_id}:
patch:
tags:
- grievances
summary: Update Grievance
description: 'Change status and/or add resolution notes. Editor+ role required
(Tier 4, 7 Aug 2026) -- this is a write that materially affects the
business''s statutory SLA record, so viewers can''t do it.'
operationId: update_grievance_grievances__grievance_id__patch
security:
- HTTPBearer: []
parameters:
- name: grievance_id
in: path
required: true
schema:
type: string
title: Grievance Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GrievanceUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
GrievanceUpdate:
properties:
status:
anyOf:
- type: string
- type: 'null'
title: Status
resolution_notes:
anyOf:
- type: string
- type: 'null'
title: Resolution Notes
assigned_to:
anyOf:
- type: string
- type: 'null'
title: Assigned To
type: object
title: GrievanceUpdate
BulkUpdate:
properties:
ids:
items:
type: string
type: array
title: Ids
assigned_to:
anyOf:
- type: string
- type: 'null'
title: Assigned To
status:
anyOf:
- type: string
- type: 'null'
title: Status
type: object
required:
- ids
title: BulkUpdate
GrievanceCreate:
properties:
complainant_name:
type: string
title: Complainant Name
complainant_email:
type: string
format: email
title: Complainant Email
category:
type: string
title: Category
description:
type: string
title: Description
grievance_token:
anyOf:
- type: string
- type: 'null'
title: Grievance Token
type: object
required:
- complainant_name
- complainant_email
- category
- description
title: GrievanceCreate
OtpRequest:
properties:
email:
type: string
format: email
title: Email
type: object
required:
- email
title: OtpRequest
app__routers__grievances__OtpVerify:
properties:
email:
type: string
format: email
title: Email
code:
type: string
title: Code
business_id:
anyOf:
- type: string
- type: 'null'
title: Business Id
type: object
required:
- email
- code
title: OtpVerify
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
x-refined-from:
- openapi.json
- openproof-io-openapi.json
x-provenance:
method: harvested
publisher: OpenProof
source: https://api.openproof.io/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)