Rulebase Clients API
The Clients API from Rulebase — 2 operation(s) for clients.
The Clients API from Rulebase — 2 operation(s) for clients.
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-clients-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 Clients API
version: 0.0.1
tags:
- name: Clients
paths:
/clients:
get:
parameters:
- schema:
type: integer
minimum: 0
exclusiveMinimum: true
required: false
name: page[page]
in: query
- schema:
type: integer
description: Values above 100 are clamped to 100
minimum: 1
required: false
name: page[limit]
in: query
- schema:
type: string
required: false
name: filter
in: query
responses:
'200':
description: Customers in the organization
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
nullable: true
email:
type: string
nullable: true
phone:
type: string
nullable: true
created_at:
type: string
updated_at:
type: string
custom_attributes:
nullable: true
required:
- id
- name
- email
- phone
- created_at
- updated_at
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
'400':
description: Malformed filter
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'403':
description: Forbidden
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:
- Clients
summary: Get clients
x-summary-source: derived
operationId: getClients
x-operation-id-source: derived
/clients/{id}:
get:
parameters:
- schema:
type: string
required: true
name: id
in: path
responses:
'200':
description: A customer
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
name:
type: string
nullable: true
email:
type: string
nullable: true
phone:
type: string
nullable: true
created_at:
type: string
updated_at:
type: string
custom_attributes:
nullable: true
companies:
type: array
items:
type: object
properties:
id:
type: string
nullable: true
name:
type: string
created_at:
type: string
updated_at:
type: string
required:
- id
- name
- created_at
- updated_at
field_values:
type: array
items:
type: object
properties:
id:
type: string
value:
nullable: true
customer_field_id:
type: string
created_at:
type: string
updated_at:
type: string
customer_field:
type: object
properties:
id:
type: string
label:
type: string
name:
type: string
nullable: true
external_id:
type: string
nullable: true
value_type:
type: string
nullable: true
options:
nullable: true
organization_data_source_id:
type: string
nullable: true
editable:
type: boolean
created_at:
type: string
updated_at:
type: string
required:
- id
- label
- name
- external_id
- value_type
- organization_data_source_id
- editable
- created_at
- updated_at
required:
- id
- customer_field_id
- created_at
- updated_at
- customer_field
required:
- id
- name
- email
- phone
- created_at
- updated_at
- companies
- field_values
required:
- data
'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:
- Clients
summary: Get clients by id
x-summary-source: derived
operationId: getClientsById
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Rulebase organization API key