Clarity Suppressions API

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

Operations 4

GET /api/v1/suppressions List Suppressions #
POST /api/v1/suppressions Create Suppression #
DELETE /api/v1/suppressions/{email} Delete Suppression #
POST /api/v1/suppressions/sync Sync Suppressions #

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-suppressions-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-suppressions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Suppressions API
  version: 0.1.0
tags:
- name: suppressions
paths:
  /api/v1/suppressions:
    get:
      tags:
      - suppressions
      summary: List Suppressions
      description: List the current project's active email suppressions (newest first).
      operationId: list_suppressions_api_v1_suppressions_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
    post:
      tags:
      - suppressions
      summary: Create Suppression
      description: Manually suppress an email address in the current project (idempotent).
      operationId: create_suppression_api_v1_suppressions_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSuppressionRequest'
        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/suppressions/{email}:
    delete:
      tags:
      - suppressions
      summary: Delete Suppression
      description: Resubscribe (lift the suppression on) an email address.
      operationId: delete_suppression_api_v1_suppressions__email__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: email
        in: path
        required: true
        schema:
          type: string
          title: Email
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/suppressions/sync:
    post:
      tags:
      - suppressions
      summary: Sync Suppressions
      description: Derive suppressions from this project's permanent bounces + complaints.
      operationId: sync_suppressions_api_v1_suppressions_sync_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CreateSuppressionRequest:
      properties:
        email:
          type: string
          pattern: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
          title: Email
      type: object
      required:
      - email
      title: CreateSuppressionRequest
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    HTTPBasic:
      type: http
      scheme: basic