Tradeshift Dx Category Documents Attachments API

The dx-category--documents-attachments API from Tradeshift — 2 operation(s) for dx-category--documents-attachments.

Operations 3

GET /rest/external/documents/{documentId}/attachments find document attachments #
PUT /rest/external/documents/{documentId}/attachments/{name}/content update document attachment #
DELETE /rest/external/documents/{documentId}/attachments/{name}/content delete document attachment #

Documentation

Specifications

Schemas & Data

Other Resources

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/tradeshift-dx-category-documents-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 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

tradeshift-dx-category-documents-attachments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tradeshift Dx Category Documents Attachments API
  version: 1.0.0
  description: 'Operations tagged dx-category--documents-attachments across 2 of this provider''s published API definitions: tradeshift-dx-category-documents-attachments-api-openapi.yml, tradeshift-external-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.tradeshift.com/tradeshift
tags:
- name: dx-category--documents-attachments
paths:
  /rest/external/documents/{documentId}/attachments:
    parameters:
    - name: documentId
      in: path
      required: true
      schema:
        type: string
      description: Document UUID identifier
    get:
      responses:
        '200':
          description: ''
          content:
            application/json:
              example:
                DocumentAttachment:
                - Name: Screen Shot 2016-09-08 at 2.59.56 PM.png
                  ContentType: image/png
                  Type: attachment
              schema:
                required:
                - DocumentAttachment
                type: object
                properties:
                  DocumentAttachment:
                    type: array
                    items:
                      required:
                      - Name
                      - ContentType
                      - Type
                      type: object
                      properties:
                        Name:
                          type: string
                        ContentType:
                          type: string
                        Type:
                          type: string
      description: Returns a list of all attachments a document has
      operationId: get-rest-external-documents-documentid-attachments
      x-annotation-dx-category: documents-attachments
      summary: find document attachments
      tags:
      - dx-category--documents-attachments
    servers:
    - url: https://api.tradeshift.com/tradeshift
  /rest/external/documents/{documentId}/attachments/{name}/content:
    parameters:
    - name: name
      in: path
      required: true
      schema:
        type: string
      description: File name of the attachment
    - name: documentId
      in: path
      required: true
      schema:
        type: string
      description: Document UUID identifier
    put:
      responses:
        '201':
          description: ''
      description: Create a new attachment for the document
      operationId: put-rest-external-documents-documentid-attachments-name-content
      requestBody:
        content:
          '*/*':
            schema:
              type: string
        required: true
      x-annotation-dx-category: documents-attachments
      summary: update document attachment
      tags:
      - dx-category--documents-attachments
    delete:
      responses:
        '200':
          description: The document attachment was deleted successfully.
        '400':
          description: Bad Request due to invalid input.
        '401':
          description: The user was not authorized to perform the operation.
        '404':
          description: The document attachment was not found.
      description: 'Removes an existing attachment having the provided parameter name from the document.

        This can be used when the document attachment is either outdated or not applicable any more.

        '
      operationId: delete-rest-external-documents-documentid-attachments-name-content
      x-annotation-dx-category: documents-attachments
      summary: delete document attachment
      tags:
      - dx-category--documents-attachments
    servers:
    - url: https://api.tradeshift.com/tradeshift
x-refined-from:
- tradeshift-dx-category-documents-attachments-api-openapi.yml
- tradeshift-external-api-openapi.yml