Cachet Subscribers API
The Subscribers API from Cachet — 2 operation(s) for subscribers.
The Subscribers API from Cachet — 2 operation(s) for subscribers.
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/cachethq:cachethq-subscribers-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: Cachethq Subscribers API
version: 0.0.1
description: 'Operations tagged Subscribers across 2 of this provider''s published API definitions: cachethq-openapi.json, openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:8001/api
- url: https://v3.cachethq.io/api
description: The Cachet v3 demo server.
security:
- http: []
tags:
- name: Subscribers
paths:
/subscribers:
get:
operationId: cachet.api.subscribers.index
summary: List Subscribers
tags:
- Subscribers
parameters:
- name: filter[meta][key]
in: query
description: Filter by a metadata key/value pair.
schema: {}
example: eu-west
- name: per_page
in: query
description: How many items to show per page.
schema:
type: integer
default: 15
example: 20
- name: page
in: query
description: Which page to show.
schema:
type: integer
example: 2
- name: filter[meta]
in: query
schema:
type: string
- name: sort
in: query
schema:
type: array
items:
type: string
enum:
- email
- -email
- id
- -id
explode: false
- name: filter[email]
in: query
description: Filter by email address.
schema:
type: string
example: john@example.com
- name: filter[global]
in: query
description: Filter by global subscription status.
schema:
type: boolean
example: '1'
- name: include
in: query
description: Include related data (components, meta).
schema:
type: array
items:
type: string
enum:
- components
- componentsCount
- componentsExists
- meta
- metaCount
- metaExists
example: meta
explode: false
responses:
'200':
description: Paginated set of `Subscriber`
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Subscriber'
links:
type: object
properties:
first:
type: string
last:
type: string
prev:
type: string
next:
type: string
meta:
type: object
properties:
current_page:
type: integer
minimum: 1
from:
type:
- integer
- 'null'
minimum: 1
path:
type:
- string
- 'null'
description: Base path for paginator generated URLs.
per_page:
type: integer
description: Number of items shown per page.
minimum: 0
to:
type:
- integer
- 'null'
description: Number of the last item in the slice.
minimum: 1
required:
- current_page
- from
- path
- per_page
- to
included:
type: array
items:
$ref: '#/components/schemas/Component'
required:
- data
- links
- meta
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
'403':
$ref: '#/components/responses/MissingAbilityException'
'401':
$ref: '#/components/responses/AuthenticationException'
post:
operationId: cachet.api.subscribers.store
summary: Create Subscriber
tags:
- Subscribers
requestBody:
description: '`CreateSubscriberRequestData`'
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateSubscriberRequestData'
responses:
'200':
description: '`Subscriber`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Subscriber'
included:
type: array
items:
$ref: '#/components/schemas/Component'
required:
- data
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
'403':
$ref: '#/components/responses/MissingAbilityException'
'401':
$ref: '#/components/responses/AuthenticationException'
'422':
$ref: '#/components/responses/ValidationException'
servers:
- url: http://localhost:8001/api
- url: https://v3.cachethq.io/api
description: The Cachet v3 demo server.
/subscribers/{subscriber}:
get:
operationId: cachet.api.subscribers.show
summary: Get Subscriber
tags:
- Subscribers
parameters:
- name: subscriber
in: path
required: true
description: The subscriber ID
schema:
type: integer
- name: include
in: query
description: Include related data (components, meta).
schema:
type: array
items:
type: string
enum:
- components
- componentsCount
- componentsExists
- meta
- metaCount
- metaExists
example: meta
explode: false
responses:
'200':
description: '`Subscriber`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Subscriber'
included:
type: array
items:
$ref: '#/components/schemas/Component'
required:
- data
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
'403':
$ref: '#/components/responses/MissingAbilityException'
'404':
$ref: '#/components/responses/ModelNotFoundException'
'401':
$ref: '#/components/responses/AuthenticationException'
put:
operationId: cachet.api.subscribers.update
summary: Update Subscriber
tags:
- Subscribers
parameters:
- name: subscriber
in: path
required: true
description: The subscriber ID
schema:
type: integer
requestBody:
description: '`UpdateSubscriberRequestData`'
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateSubscriberRequestData'
responses:
'200':
description: '`Subscriber`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Subscriber'
included:
type: array
items:
$ref: '#/components/schemas/Component'
required:
- data
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
'403':
$ref: '#/components/responses/MissingAbilityException'
'404':
$ref: '#/components/responses/ModelNotFoundException'
'401':
$ref: '#/components/responses/AuthenticationException'
'422':
$ref: '#/components/responses/ValidationException'
delete:
operationId: cachet.api.subscribers.destroy
summary: Delete Subscriber
tags:
- Subscribers
parameters:
- name: subscriber
in: path
required: true
description: The subscriber ID
schema:
type: integer
responses:
'204':
description: No content
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
'403':
$ref: '#/components/responses/MissingAbilityException'
'404':
$ref: '#/components/responses/ModelNotFoundException'
'401':
$ref: '#/components/responses/AuthenticationException'
servers:
- url: http://localhost:8001/api
- url: https://v3.cachethq.io/api
description: The Cachet v3 demo server.
components:
schemas:
UpdateSubscriberRequestData:
type: object
properties:
email:
type:
- string
- 'null'
format: email
maxLength: 255
global:
type:
- boolean
- 'null'
components:
type:
- array
- 'null'
items:
type: integer
minimum: 0
meta:
type:
- object
- 'null'
additionalProperties: {}
title: UpdateSubscriberRequestData
CreateSubscriberRequestData:
type: object
properties:
email:
type: string
format: email
maxLength: 255
global:
type:
- boolean
- 'null'
components:
type:
- array
- 'null'
items:
type: integer
minimum: 0
verified:
type:
- boolean
- 'null'
meta:
type:
- object
- 'null'
additionalProperties: {}
required:
- email
title: CreateSubscriberRequestData
Component:
type: object
properties:
id:
type: string
type:
type: string
enum:
- components
attributes:
type: object
properties:
id:
type: integer
name:
type: string
description:
type:
- string
- 'null'
link:
type:
- string
- 'null'
order:
type:
- integer
- 'null'
status:
type: object
properties:
human:
type: string
enum:
- Operational
- Performance issues
- Partial outage
- Major outage
- Under maintenance
- Unknown
value:
type: integer
enum:
- 1
- 2
- 3
- 4
- 5
- 6
required:
- human
- value
latest_status:
type: object
properties:
human:
type: string
enum:
- Operational
- Performance issues
- Partial outage
- Major outage
- Under maintenance
- Unknown
value:
type: integer
enum:
- 1
- 2
- 3
- 4
- 5
- 6
required:
- human
- value
enabled:
type: boolean
meta:
type: array
items: {}
created:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
updated:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
pivot:
type: object
properties:
component_status:
type: object
properties:
human:
type:
- string
- 'null'
enum:
- Operational
- Performance issues
- Partial outage
- Major outage
- Under maintenance
- Unknown
- null
value:
type:
- integer
- 'null'
enum:
- 1
- 2
- 3
- 4
- 5
- 6
- null
required:
- human
- value
required:
- component_status
required:
- id
- name
- description
- link
- order
- status
- latest_status
- enabled
- created
- updated
relationships:
type: object
properties:
group:
type: object
properties:
data:
anyOf:
- $ref: '#/components/schemas/ComponentGroupIdentifier'
- type: 'null'
required:
- data
incidents:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/IncidentIdentifier'
required:
- data
tags:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/TagIdentifier'
required:
- data
required:
- id
- type
title: Component
ComponentGroupIdentifier:
type: object
properties:
type:
type: string
enum:
- componentGroups
id:
type: string
required:
- type
- id
title: ComponentGroupIdentifier
IncidentIdentifier:
type: object
properties:
type:
type: string
enum:
- incidents
id:
type: string
required:
- type
- id
title: IncidentIdentifier
Subscriber:
type: object
properties:
id:
type: string
type:
type: string
enum:
- subscribers
attributes:
type: object
properties:
id:
type: integer
email:
type:
- string
- 'null'
global:
type: boolean
verified:
type: boolean
verified_at:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
meta:
type: array
items: {}
created:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
updated:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
required:
- id
- email
- global
- verified
- verified_at
- created
- updated
relationships:
type: object
properties:
components:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/ComponentIdentifier'
required:
- data
required:
- id
- type
title: Subscriber
ComponentIdentifier:
type: object
properties:
type:
type: string
enum:
- components
id:
type: string
required:
- type
- id
title: ComponentIdentifier
TagIdentifier:
type: object
properties:
type:
type: string
enum:
- tags
id:
type: string
required:
- type
- id
title: TagIdentifier
responses:
ValidationException:
description: Validation error
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Errors overview.
errors:
type: object
description: A detailed description of each field that failed validation.
additionalProperties:
type: array
items:
type: string
required:
- message
- errors
ModelNotFoundException:
description: Not found
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
AuthenticationException:
description: Unauthenticated
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
MissingAbilityException:
description: Authorization error
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
securitySchemes:
http:
type: http
scheme: bearer
x-refined-from:
- cachethq-openapi.json
- openapi.json