Clarity Notifications API

The notifications API from Clarity — 3 operation(s) for notifications.

Operations 5

POST /api/v1/notifications Get All Notifications #
POST /api/v1/notifications/add Add Notification #
PUT /api/v1/notifications/{notification_id} Update Notification #
DELETE /api/v1/notifications/{notification_id} Delete Notification #
GET /api/v1/notifications/{notification_id} Test Notification #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/onclarity-com:onclarity-com-notifications-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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 Specification

onclarity-com-notifications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Notifications API
  version: 0.1.0
tags:
- name: Notifications
paths:
  /api/v1/notifications:
    post:
      tags:
      - Notifications
      summary: Get All Notifications
      operationId: get_all_notifications_api_v1_notifications_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListNotificationsRequest'
        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: []
  /api/v1/notifications/add:
    post:
      tags:
      - Notifications
      summary: Add Notification
      operationId: add_notification_api_v1_notifications_add_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddNotificationRequest'
        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: []
  /api/v1/notifications/{notification_id}:
    put:
      tags:
      - Notifications
      summary: Update Notification
      description: 'Update a specific notification.

        Regular user endpoint to update notification settings.'
      operationId: update_notification_api_v1_notifications__notification_id__put
      security:
      - HTTPBearer: []
      parameters:
      - name: notification_id
        in: path
        required: true
        schema:
          type: integer
          title: Notification Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/src__routers__notifications__UpdateNotificationRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Notifications
      summary: Delete Notification
      operationId: delete_notification_api_v1_notifications__notification_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: notification_id
        in: path
        required: true
        schema:
          type: integer
          title: Notification Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Notifications
      summary: Test Notification
      operationId: test_notification_api_v1_notifications__notification_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: notification_id
        in: path
        required: true
        schema:
          type: integer
          title: Notification Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    src__routers__notifications__UpdateNotificationRequest:
      properties:
        target:
          anyOf:
          - type: string
          - type: 'null'
          title: Target
        segment:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Segment
        destinations:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Destinations
        is_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Enabled
        is_visible:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Visible
        custom_prompt_begin:
          anyOf:
          - type: string
          - type: 'null'
          title: Custom Prompt Begin
        custom_prompt_end:
          anyOf:
          - type: string
          - type: 'null'
          title: Custom Prompt End
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        is_deep_search:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Deep Search
        include_summary:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Include Summary
        include_feed:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Include Feed
        horizon_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Horizon Days
        extra:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Extra
      type: object
      title: UpdateNotificationRequest
    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
    AddNotificationRequest:
      properties:
        target:
          type: string
          title: Target
        destinations:
          additionalProperties: true
          type: object
          title: Destinations
        segment:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Segment
        custom_prompt_begin:
          anyOf:
          - type: string
          - type: 'null'
          title: Custom Prompt Begin
        custom_prompt_end:
          anyOf:
          - type: string
          - type: 'null'
          title: Custom Prompt End
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        is_deep_search:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Deep Search
          default: false
        include_summary:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Include Summary
          default: true
        include_feed:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Include Feed
          default: true
        horizon_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Horizon Days
        additional_fields:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Additional Fields
        extra:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Extra
      type: object
      required:
      - target
      - destinations
      title: AddNotificationRequest
    ListNotificationsRequest:
      properties:
        target:
          anyOf:
          - type: string
          - type: 'null'
          title: Target
        segment:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Segment
      type: object
      title: ListNotificationsRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    HTTPBasic:
      type: http
      scheme: basic