Rulebase Complaint Fields API
The Complaint Fields API from Rulebase — 2 operation(s) for complaint fields.
The Complaint Fields API from Rulebase — 2 operation(s) for complaint fields.
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/rulebase:rulebase-complaint-fields-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. 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: Rulebase API2 Complaint Fields API
version: 0.0.1
tags:
- name: Complaint Fields
paths:
/complaint-fields:
get:
parameters:
- schema:
type: string
required: false
name: query
in: query
- schema:
type: string
enum:
- 'true'
- 'false'
required: false
name: owned
in: query
- schema:
type: integer
minimum: 0
exclusiveMinimum: true
default: 1
required: false
name: page
in: query
- schema:
type: integer
description: Values above 100 are clamped to 100
minimum: 1
required: false
name: limit
in: query
responses:
'200':
description: List complaint field definitions
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
label:
type: string
name:
type: string
nullable: true
external_id:
type: string
nullable: true
options:
type: object
nullable: true
properties: {}
organization_data_source_id:
type: string
nullable: true
editable:
type: boolean
created_at:
type: string
updated_at:
type: string
value_type:
type: string
nullable: true
enum:
- string
- boolean
- date
- datetime
- number
- enum
- multi_enum
required:
- id
- label
- name
- external_id
- options
- organization_data_source_id
- editable
- created_at
- updated_at
- value_type
meta:
type: object
properties:
page:
type: object
properties:
next:
type: string
nullable: true
limit:
type: integer
total:
type: integer
required:
- next
- limit
- total
required:
- page
required:
- data
- meta
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Complaint Fields
summary: Get complaint fields
x-summary-source: derived
operationId: getComplaintFields
x-operation-id-source: derived
post:
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
complaint_field:
type: object
properties:
label:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
name:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
value_type:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
options:
type: object
nullable: true
properties:
type:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
record_type:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
values:
type: array
nullable: true
items:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
labels:
type: array
nullable: true
items:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
description:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
display_format:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
responses:
'201':
description: Create a complaint field definition
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
label:
type: string
name:
type: string
nullable: true
external_id:
type: string
nullable: true
options:
type: object
nullable: true
properties: {}
organization_data_source_id:
type: string
nullable: true
editable:
type: boolean
created_at:
type: string
updated_at:
type: string
value_type:
type: string
nullable: true
organization_data_source:
nullable: true
description:
type: string
nullable: true
display_format:
type: string
nullable: true
kind:
type: string
required:
- id
- label
- name
- external_id
- options
- organization_data_source_id
- editable
- created_at
- updated_at
- value_type
- organization_data_source
required:
- data
'400':
description: Missing wrapper or validation errors
content:
application/json:
schema:
anyOf:
- type: object
properties:
error:
type: string
required:
- error
- type: object
additionalProperties:
type: array
items:
type: string
'403':
description: Provider-synced fields are read-only
content:
application/json:
schema:
type: object
properties:
errors:
type: array
items:
type: object
properties:
status:
type: string
title:
type: string
code:
type: string
detail:
type: string
required:
- status
- title
- code
- detail
required:
- errors
'404':
description: Not Found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Complaint Fields
summary: Create complaint fields
x-summary-source: derived
operationId: postComplaintFields
x-operation-id-source: derived
/complaint-fields/{id}:
patch:
parameters:
- schema:
type: string
required: true
name: id
in: path
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
complaint_field:
type: object
properties:
label:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
name:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
value_type:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
options:
type: object
nullable: true
properties:
type:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
record_type:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
values:
type: array
nullable: true
items:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
labels:
type: array
nullable: true
items:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
description:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
display_format:
anyOf:
- type: string
- type: number
- type: boolean
- nullable: true
responses:
'200':
description: Update a complaint field definition
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
label:
type: string
name:
type: string
nullable: true
external_id:
type: string
nullable: true
options:
type: object
nullable: true
properties: {}
organization_data_source_id:
type: string
nullable: true
editable:
type: boolean
created_at:
type: string
updated_at:
type: string
value_type:
type: string
nullable: true
organization_data_source:
nullable: true
description:
type: string
nullable: true
display_format:
type: string
nullable: true
kind:
type: string
required:
- id
- label
- name
- external_id
- options
- organization_data_source_id
- editable
- created_at
- updated_at
- value_type
- organization_data_source
required:
- data
'400':
description: Missing wrapper or validation errors
content:
application/json:
schema:
anyOf:
- type: object
properties:
error:
type: string
required:
- error
- type: object
additionalProperties:
type: array
items:
type: string
'403':
description: Provider-synced fields are read-only
content:
application/json:
schema:
type: object
properties:
errors:
type: array
items:
type: object
properties:
status:
type: string
title:
type: string
code:
type: string
detail:
type: string
required:
- status
- title
- code
- detail
required:
- errors
'404':
description: Not Found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Complaint Fields
summary: Update complaint fields by id
x-summary-source: derived
operationId: patchComplaintFieldsById
x-operation-id-source: derived
delete:
parameters:
- schema:
type: string
required: true
name: id
in: path
responses:
'204':
description: Delete a complaint field definition
'400':
description: Missing wrapper or validation errors
content:
application/json:
schema:
anyOf:
- type: object
properties:
error:
type: string
required:
- error
- type: object
additionalProperties:
type: array
items:
type: string
'403':
description: Provider-synced fields are read-only
content:
application/json:
schema:
type: object
properties:
errors:
type: array
items:
type: object
properties:
status:
type: string
title:
type: string
code:
type: string
detail:
type: string
required:
- status
- title
- code
- detail
required:
- errors
'404':
description: Not Found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Complaint Fields
summary: Delete complaint fields by id
x-summary-source: derived
operationId: deleteComplaintFieldsById
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Rulebase organization API key