Middesk subpackage_actions API

The subpackage_actions API from Middesk — 2 operation(s) for subpackage_actions.

Operations 3

GET /v1/actions List actions for an object #
POST /v1/actions Create an action on an object #
GET /v1/actions/{id} Retrieve an 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/middesk-subpackage-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

middesk-subpackage-actions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Middesk Subpackage Actions API
  version: 1.0.0
servers:
- url: https://api.middesk.com
  description: Default
tags:
- name: subpackage_actions
paths:
  /v1/actions:
    get:
      operationId: list-actions
      summary: List actions for an object
      tags:
      - subpackage_actions
      parameters:
      - name: object_type
        in: query
        description: Type of object to list actions for
        required: true
        schema:
          $ref: '#/components/schemas/type_actions_ListActionsRequestObjectType'
      - name: object_id
        in: query
        description: ID of the object to list actions for
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: actions with effects and actors
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type_actions_ListActionsResponse'
        '400':
          description: invalid object_type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__ErrorResponse'
    post:
      operationId: create-action
      summary: Create an action on an object
      tags:
      - subpackage_actions
      parameters:
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '201':
          description: action created - verify TIN
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__Action'
        '400':
          description: invalid action type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__ErrorResponse'
        '404':
          description: object not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__ErrorResponse'
        '422':
          description: invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                object_type:
                  $ref: '#/components/schemas/type_actions_ActionRequestParamObjectType'
                  description: Type of object to perform the action on
                object_id:
                  type: string
                  format: uuid
                  description: ID of the object to perform the action on
                type:
                  $ref: '#/components/schemas/type_actions_ActionRequestParamType'
                  description: The type of action to perform
                note:
                  type: string
                  description: Optional text note describing the reason for the action
                thread_id:
                  type: string
                  format: uuid
                  description: Optional operator thread ID used to resolve an action actor
                run_id:
                  type: string
                  format: uuid
                  description: Optional operator run ID used to resolve an action actor
                payload:
                  type: object
                  additionalProperties:
                    description: Any type
                  description: Action-specific parameters (varies by action type)
              required:
              - object_type
              - object_id
              - type
              - payload
  /v1/actions/{id}:
    get:
      operationId: get-action
      summary: Retrieve an action
      tags:
      - subpackage_actions
      parameters:
      - name: id
        in: path
        description: Action ID
        required: true
        schema:
          type: string
      - name: object_type
        in: query
        description: Type of object the action belongs to
        required: true
        schema:
          $ref: '#/components/schemas/type_actions_GetActionRequestObjectType'
      - name: object_id
        in: query
        description: ID of the object the action belongs to
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: action found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__Action'
        '404':
          description: action not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type__ErrorResponse'
components:
  schemas:
    type__ErrorResponseErrorsItem:
      type: object
      properties:
        message:
          type: string
      required:
      - message
      title: ErrorResponseErrorsItem
    type__ActionEffectOperation:
      type: string
      enum:
      - created
      - updated
      - linked
      description: The type of change that was made
      title: ActionEffectOperation
    type__ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/type__ErrorResponseErrorsItem'
      required:
      - errors
      title: ErrorResponse
    type__ActionActorActorType:
      type: string
      enum:
      - account
      - user
      - run
      description: The type of actor
      title: ActionActorActorType
    type_actions_ListActionsResponse:
      type: object
      properties:
        object:
          type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/type__Action'
        url:
          type: string
      required:
      - object
      - data
      title: ListActionsResponse
    type_actions_GetActionRequestObjectType:
      type: string
      enum:
      - businesses
      - watchlist_result
      title: GetActionRequestObjectType
    type__ActionType:
      type: string
      enum:
      - add_sources
      - add_attributes
      - update_address_risk
      - verify_tin
      - decision
      - dismissal
      description: The action type that was performed
      title: ActionType
    type_actions_ListActionsRequestObjectType:
      type: string
      enum:
      - businesses
      - watchlist_result
      title: ListActionsRequestObjectType
    type__Action:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          $ref: '#/components/schemas/type__ActionType'
          description: The action type that was performed
        object_type:
          $ref: '#/components/schemas/type__ActionObjectType'
          description: The type of object the action was performed on
        object_id:
          type: string
          format: uuid
          description: The ID of the object the action was performed on
        created_at:
          type: string
          format: date-time
        note:
          type:
          - string
          - 'null'
          description: Optional text note describing the reason for the action
        metadata:
          type: object
          additionalProperties:
            description: Any type
          description: Additional metadata associated with the action
        effects:
          type: array
          items:
            $ref: '#/components/schemas/type__ActionEffect'
          description: List of effects describing what changed
        actors:
          type: array
          items:
            $ref: '#/components/schemas/type__ActionActor'
          description: List of actors describing who initiated the action
      required:
      - id
      - type
      - object_type
      - object_id
      - created_at
      - effects
      - actors
      title: Action
    type__ActionEffect:
      type: object
      properties:
        operation:
          $ref: '#/components/schemas/type__ActionEffectOperation'
          description: The type of change that was made
        diff:
          type:
          - object
          - 'null'
          additionalProperties:
            description: Any type
          description: Before/after values for each changed field
        target:
          oneOf:
          - $ref: '#/components/schemas/type__ActionEffectTarget'
          - type: 'null'
      required:
      - operation
      - diff
      - target
      title: ActionEffect
    type__ActionActor:
      type: object
      properties:
        actor_type:
          $ref: '#/components/schemas/type__ActionActorActorType'
          description: The type of actor
        data:
          type: object
          additionalProperties:
            description: Any type
          description: Actor details (varies by actor type)
      required:
      - actor_type
      title: ActionActor
    type_actions_ActionRequestParamObjectType:
      type: string
      enum:
      - businesses
      - watchlist_result
      description: Type of object to perform the action on
      title: ActionRequestParamObjectType
    type_actions_ActionRequestParamType:
      type: string
      enum:
      - add_sources
      - add_attributes
      - verify_tin
      - decision
      - dismissal
      description: The type of action to perform
      title: ActionRequestParamType
    type__ActionObjectType:
      type: string
      enum:
      - Business
      - Watchlist::Result
      description: The type of object the action was performed on
      title: ActionObjectType
    type__ActionEffectTarget:
      type: object
      properties:
        object:
          type: string
          description: The type of the affected resource
        id:
          type: string
          format: uuid
          description: The ID of the affected resource
      required:
      - object
      - id
      title: ActionEffectTarget
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer