DealHub Attachments API

The Attachments API from DealHub — 4 operation(s) for attachments.

Operations 6

GET /attachments/account/maxNumberOfFiles Get the maximum number of attachments allowed for an account #
GET /attachments/{attachmentId} Get attachment contents #
DELETE /attachments/{attachmentId} Delete an attachment #
GET /attachments/account/{accountId} Get attachments for an account #
POST /attachments/account/{accountId} Add an attachment #
PUT /attachments Update the details of an attachment #

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/dealhub-attachments-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 email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dealhub-attachments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Subskribe Attachments API
servers:
- url: https://api.app.subskribe.com
security:
- ApiKeyAuth: []
tags:
- name: Attachments
paths:
  /attachments/account/maxNumberOfFiles:
    get:
      tags:
      - Attachments
      summary: Get the maximum number of attachments allowed for an account
      description: Gets the maximum number of files allowed to be attached to any account
      operationId: getMaximumNumberOfAttachmentsPerAccount
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: integer
                format: int32
  /attachments/{attachmentId}:
    get:
      tags:
      - Attachments
      summary: Get attachment contents
      description: Gets the contents of the specified attachment
      operationId: getAttachment
      parameters:
      - name: attachmentId
        in: path
        description: id of the attachment
        required: true
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: successful operation
    delete:
      tags:
      - Attachments
      summary: Delete an attachment
      description: Unattaches and deletes the specified document
      operationId: deleteAttachmentFromAccount
      parameters:
      - name: attachmentId
        in: path
        description: id of the attachment
        required: true
        schema:
          type: string
          format: uuid
      responses:
        default:
          description: successful operation
  /attachments/account/{accountId}:
    get:
      tags:
      - Attachments
      summary: Get attachments for an account
      description: Lists all the documents attached to an account
      operationId: listAccountAttachments
      parameters:
      - name: accountId
        in: path
        description: id of the attachment
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Attachment'
    post:
      tags:
      - Attachments
      summary: Add an attachment
      description: Attaches a document to the specified account. The post body should contain the body of the document that is to be attached. On success the Id of the attachment is returned.
      operationId: addAttachmentToAccount
      parameters:
      - name: fileName
        in: query
        description: name to associate with the attachment
        required: false
        schema:
          type: string
      - name: description
        in: query
        description: description of the document
        required: false
        schema:
          type: string
      - name: accountId
        in: path
        description: id of the account to attach the document to
        required: true
        schema:
          type: string
      - name: tag
        in: query
        description: tag to apply to the attachment
        required: false
        schema:
          type: string
          enum:
          - MASTER_SUBSCRIPTION_AGREEMENT
          - STATEMENT_OF_WORK
          - ORDER_FORM
          - OTHER
      requestBody:
        $ref: '#/components/requestBodies/uploadApprovalMatrixCSV'
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Attachment'
  /attachments:
    put:
      tags:
      - Attachments
      summary: Update the details of an attachment
      description: Updates the details of the specified document
      operationId: modifyAttachment
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Attachment'
        description: json representing the attachment
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Attachment'
components:
  requestBodies:
    uploadApprovalMatrixCSV:
      content:
        multipart/form-data:
          schema:
            type: object
            properties:
              file:
                type: string
                format: binary
  schemas:
    Attachment:
      type: object
      required:
      - createdOn
      - id
      - name
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
          - UPLOADING
          - UPLOADED
        accountId:
          type: string
        tag:
          type: string
          enum:
          - MASTER_SUBSCRIPTION_AGREEMENT
          - STATEMENT_OF_WORK
          - ORDER_FORM
          - OTHER
        inUse:
          type: boolean
        isDeleted:
          type: boolean
        createdOn:
          type: integer
          format: int64
        updatedOn:
          type: integer
          format: int64
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key