Clarity Notifications V2 Admin API

The notifications_v2_admin API from Clarity — 4 operation(s) for notifications_v2_admin.

Operations 4

POST /api/admin/v2/notifications/{notification_id}/trigger Trigger Notification #
GET /api/admin/v2/notifications/{notification_id}/reports/{report_id} Get Report Content #
POST /api/admin/v2/notifications/reports/{report_id}/send Send Report #
POST /api/admin/v2/notifications/reports/reconcile Reconcile Reports #

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-v2-admin-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-v2-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Notifications V2 Admin API
  version: 0.1.0
tags:
- name: notifications_v2_admin
paths:
  /api/admin/v2/notifications/{notification_id}/trigger:
    post:
      tags:
      - notifications_v2_admin
      summary: Trigger Notification
      description: 'Generate and save a report for a notification.


        Called by EB proxy Lambda on schedule, and by /test endpoint via Lambda.invoke.

        Returns report_id + destinations for SQS enqueue.'
      operationId: trigger_notification_api_admin_v2_notifications__notification_id__trigger_post
      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:
                $ref: '#/components/schemas/TriggerResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/v2/notifications/{notification_id}/reports/{report_id}:
    get:
      tags:
      - notifications_v2_admin
      summary: Get Report Content
      description: 'Get report content for delivery.


        Called by Sending Lambda to fetch content + destinations before sending.'
      operationId: get_report_content_api_admin_v2_notifications__notification_id__reports__report_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: notification_id
        in: path
        required: true
        schema:
          type: integer
          title: Notification Id
      - name: report_id
        in: path
        required: true
        schema:
          type: integer
          title: Report Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportContentResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/v2/notifications/reports/{report_id}/send:
    post:
      tags:
      - notifications_v2_admin
      summary: Send Report
      description: 'Send a generated report to its configured destinations.


        Called by Lambda after trigger. Delegates orchestration to DeliveryService.'
      operationId: send_report_api_admin_v2_notifications_reports__report_id__send_post
      security:
      - HTTPBearer: []
      parameters:
      - name: report_id
        in: path
        required: true
        schema:
          type: integer
          title: Report Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/v2/notifications/reports/reconcile:
    post:
      tags:
      - notifications_v2_admin
      summary: Reconcile Reports
      description: 'Check delivery completeness and set final status for stale reports.


        Called by Reconciler Lambda every 5 minutes.'
      operationId: reconcile_reports_api_admin_v2_notifications_reports_reconcile_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
components:
  schemas:
    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
    TriggerResponse:
      properties:
        report_id:
          type: integer
          title: Report Id
        destinations:
          additionalProperties: true
          type: object
          title: Destinations
      type: object
      required:
      - report_id
      - destinations
      title: TriggerResponse
      description: Response from POST /admin/{id}/trigger.
    ReportStatus:
      type: string
      enum:
      - pending
      - generated
      - success
      - failed
      - skipped
      title: ReportStatus
    ReportContentResponse:
      properties:
        report_id:
          type: integer
          title: Report Id
        notification_id:
          type: integer
          title: Notification Id
        status:
          $ref: '#/components/schemas/ReportStatus'
        content:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Content
        destinations:
          additionalProperties: true
          type: object
          title: Destinations
        project_id:
          type: integer
          title: Project Id
      type: object
      required:
      - report_id
      - notification_id
      - status
      - destinations
      - project_id
      title: ReportContentResponse
      description: Response from GET /admin/{id}/reports/{rid}. Used by Sending Lambda.
    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