ScrubMyText Approvals API

The Approvals API from ScrubMyText — 5 operation(s) for approvals.

GitHub OpenAPI

Operations 5

POST /v1/approvals/request Request approval #
POST /v1/approvals/check Check approval #
POST /v1/approvals/cancel Cancel approval #
POST /v1/approvals/public/get Load public approval #
POST /v1/approvals/public/decide Decide public approval #

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/scrubmytext-com:scrubmytext-com-approvals-api"
All apis
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.

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. 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 Specification

scrubmytext-com-approvals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScrubMyText + Agent Infrastructure Approvals API
  version: 7.5.0
  description: 49 deterministic tools for text integrity, AI-agent controls, and contextual service-quality evidence. TrustMyChoice provides free public lookup and comparison plus free, identity-verified structured contributions without publishing a universal trust score or selling ranking position. Selected premium stateless text tools include a 3-call trial and optional x402 pay-per-call.
servers:
- url: https://api.scrubmytext.com
tags:
- name: Approvals
paths:
  /v1/approvals/request:
    post:
      operationId: requestApproval
      summary: Request approval
      description: 'ApproveMyAction: create a secure human approval link.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  minLength: 1
                  maxLength: 200
                description:
                  type: string
                  maxLength: 2000
                expires_in_seconds:
                  type: integer
                  minimum: 300
                  maximum: 604800
              additionalProperties: false
              required:
              - title
      responses:
        '200':
          description: Successful result
        '400':
          description: Invalid input
        '401':
          description: API key required or invalid
        '429':
          description: Monthly usage limit reached
      security:
      - bearerAuth: []
      tags:
      - Approvals
  /v1/approvals/check:
    post:
      operationId: checkApproval
      summary: Check approval
      description: 'ApproveMyAction: inspect approval status.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                approval_id:
                  type: string
                  maxLength: 80
              additionalProperties: false
              required:
              - approval_id
      responses:
        '200':
          description: Successful result
        '400':
          description: Invalid input
        '401':
          description: API key required or invalid
        '429':
          description: Monthly usage limit reached
      security:
      - bearerAuth: []
      tags:
      - Approvals
  /v1/approvals/cancel:
    post:
      operationId: cancelApproval
      summary: Cancel approval
      description: 'ApproveMyAction: cancel a pending approval request.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                approval_id:
                  type: string
                  maxLength: 80
              additionalProperties: false
              required:
              - approval_id
      responses:
        '200':
          description: Successful result
        '400':
          description: Invalid input
        '401':
          description: API key required or invalid
        '429':
          description: Monthly usage limit reached
      security:
      - bearerAuth: []
      tags:
      - Approvals
  /v1/approvals/public/get:
    post:
      operationId: getPublicApproval
      summary: Load public approval
      description: Used by the noindex approval review page.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                approval_id:
                  type: string
                token:
                  type: string
              required:
              - approval_id
              - token
      responses:
        '200':
          description: Approval request
        '403':
          description: Invalid token
        '404':
          description: Not found
      security: []
      tags:
      - Approvals
  /v1/approvals/public/decide:
    post:
      operationId: decidePublicApproval
      summary: Decide public approval
      description: Approve or reject a pending ApproveMyAction request.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                approval_id:
                  type: string
                token:
                  type: string
                decision:
                  type: string
                  enum:
                  - approved
                  - rejected
                note:
                  type: string
                  maxLength: 500
              required:
              - approval_id
              - token
              - decision
      responses:
        '200':
          description: Decision result
        '403':
          description: Invalid token
        '404':
          description: Not found
      security: []
      tags:
      - Approvals
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: smt_founder_..., smt_live_..., or legacy smt_tmc_...
      description: smt_founder_ keys provide all-tool access for 30 days or 1,000 total calls with no overages, then remain limited to TrustMyChoice evidence writes. Paid smt_live_ keys access subscription tools. Legacy smt_tmc_ keys are limited to TrustMyChoice observation and correction writes.