AdvisorPPC Chat Actions API

The chat-actions API from AdvisorPPC — 3 operation(s) for chat-actions.

Operations 3

POST /api/chat/actions/{action_id}/approve Approve Action #
POST /api/chat/actions/removal-cancel Stage Removal Cancel Action #
POST /api/chat/actions/{action_id}/deny Deny Action #

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/advisorppc-com:advisorppc-com-chat-actions-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

advisorppc-com-chat-actions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AdvisorPPC Chat Actions API
  version: 0.1.0
tags:
- name: chat-actions
paths:
  /api/chat/actions/{action_id}/approve:
    post:
      tags:
      - chat-actions
      summary: Approve Action
      description: 'Approve one STAGED chat action and execute it through the executor

        rail. The staged->approved claim is one atomic conditional UPDATE, so a

        lost race answers 409 and the write can never fire twice. On a PRE-WRITE

        executor refusal (e.g. writes disabled -> 403) the row is re-staged in

        this same request so a later retry genuinely works; after an ambiguous

        tool error the row stays ''approved'' for human review.'
      operationId: approve_action_api_chat_actions__action_id__approve_post
      security:
      - HTTPBearer: []
      parameters:
      - name: action_id
        in: path
        required: true
        schema:
          type: integer
          title: Action Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/chat/actions/removal-cancel:
    post:
      tags:
      - chat-actions
      summary: Stage Removal Cancel Action
      description: 'Stage the cancel of a held removal as an ordinary approval card.


        The token is the sealed cancel call from the guard card (chat_guard), bound

        to this tenant and person. Nothing executes here: the response is a staged

        action the person approves through ``/{id}/approve`` like any other.'
      operationId: stage_removal_cancel_action_api_chat_actions_removal_cancel_post
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemovalCancelIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/chat/actions/{action_id}/deny:
    post:
      tags:
      - chat-actions
      summary: Deny Action
      description: 'Deny one STAGED chat action: status=''rejected'', nothing runs.

        Idempotent: any non-staged status answers 409.'
      operationId: deny_action_api_chat_actions__action_id__deny_post
      security:
      - HTTPBearer: []
      parameters:
      - name: action_id
        in: path
        required: true
        schema:
          type: integer
          title: Action Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
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
    RemovalCancelIn:
      properties:
        token:
          type: string
          maxLength: 8000
          minLength: 1
          title: Token
      type: object
      required:
      - token
      title: RemovalCancelIn
    ActionOut:
      properties:
        id:
          type: integer
          title: Id
        status:
          type: string
          title: Status
        result:
          additionalProperties: true
          type: object
          title: Result
          default: {}
        detail:
          type: string
          title: Detail
          default: ''
        follow_up:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Follow Up
      type: object
      required:
      - id
      - status
      title: ActionOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer