Xestando Documents V 1 Controller API

The documents-v-1-controller API from Xestando — 2 operation(s) for documents-v-1-controller.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /v1/documents List 1 #
POST /v1/documents Upload #
GET /v1/documents/content Content #

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/xestando-com:xestando-com-documents-v-1-controller-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

xestando-com-documents-v-1-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Xestando
    url: https://xestando.com
  description: 'API de operaciones de negocio y cumplimiento para pymes españolas y europeas.


    Cada operacion declara un nivel de riesgo. Las de nivel L2 y L3 no se ejecutan en la llamada: devuelven 202 con una operacion pendiente que una persona tiene que aprobar en Xestando. El catalogo completo, con el nivel de cada una, esta en GET /v1/capabilities.


    Las escrituras admiten la cabecera Idempotency-Key: repetir la misma peticion con la misma clave devuelve la respuesta de la primera y no repite el efecto.'
  title: Xestando Business Documents V 1 Controller API
  version: v1
servers:
- description: Produccion
  url: https://api.xestando.com
security:
- oauth2: []
tags:
- name: documents-v-1-controller
paths:
  /v1/documents:
    get:
      operationId: list_1
      parameters:
      - in: query
        name: directory
        required: false
        schema:
          type: string
      - in: query
        name: page
        required: false
        schema:
          type: integer
          format: int32
          default: 0
      - in: query
        name: size
        required: false
        schema:
          type: integer
          format: int32
          default: 50
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiPageDocumentV1'
          description: OK
      tags:
      - documents-v-1-controller
      summary: List 1
      x-summary-source: derived
    post:
      operationId: upload
      parameters:
      - in: query
        name: directory
        required: false
        schema:
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
              required:
              - file
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentV1'
          description: OK
      tags:
      - documents-v-1-controller
      summary: Upload
      x-summary-source: derived
  /v1/documents/content:
    get:
      operationId: content
      parameters:
      - in: query
        name: path
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: string
                format: binary
          description: OK
      tags:
      - documents-v-1-controller
      summary: Content
      x-summary-source: derived
components:
  schemas:
    DocumentV1:
      type: object
      properties:
        modifiedAt:
          type: string
          format: date-time
        name:
          type: string
        path:
          type: string
        sizeBytes:
          type: integer
          format: int64
    ApiPageDocumentV1:
      type: object
      properties:
        hasMore:
          type: boolean
        items:
          type: array
          items:
            $ref: '#/components/schemas/DocumentV1'
        page:
          type: integer
          format: int32
        size:
          type: integer
          format: int32
        total:
          type: integer
          format: int64
  securitySchemes:
    oauth2:
      bearerFormat: JWT
      description: Token emitido por https://oauth2.xestando.com
      scheme: bearer
      type: http
x-xestando-capabilities: /v1/capabilities