Payt files API

Operations about files

Operations 1

POST /v1/files Create files to upload #

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/payt-files-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

payt-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Endpoints administrations Files API
  description: This page allows you to explore the available API endpoints. Select a resource (e.g. debtors) and an endpoint (e.g. /v1/debtors) to inspect an example response and available parameters. An authorization header containing a Bearer token is required, see [Authentication](/authentication/authorization).
  version: 1.0.0
servers:
- url: https://api.paytsoftware.com
  description: Production
- url: https://demo-api.paytsoftware.com
  description: Demo / testing
security:
- bearerAuth: []
tags:
- name: files
  description: Operations about files
paths:
  /v1/files:
    post:
      description: Create files to upload
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/postV1Files'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/postV1Files'
        required: true
      responses:
        '201':
          description: Files created, with URLs to upload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerApi_V1_UploadableFileEntity'
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerApi_ErrorEntity'
        '403':
          description: Access not authorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerApi_ErrorEntity'
      tags:
      - files
      operationId: postV1Files
      summary: Create files to upload
components:
  schemas:
    CustomerApi_ErrorEntity:
      type: object
      properties:
        code:
          type: string
          description: Error code
        message:
          type: string
          description: Error message
      required:
      - code
      - message
      description: CustomerApi_ErrorEntity model
    postV1Files:
      type: object
      properties:
        administration_id:
          type: string
          description: Administration identifier
        files:
          type: array
          items:
            type: object
            properties:
              byte_size:
                type: integer
                format: int32
                description: Size of file in bytes
              checksum:
                type: string
                description: Checksum of file hashed with SHA3-512 algorithm and encoded in base64
              content_type:
                type: string
                description: Type of content
            required:
            - byte_size
            - checksum
            - content_type
      required:
      - administration_id
      - files
      description: Create files to upload
    CustomerApi_V1_UploadableFileEntity:
      type: object
      properties:
        checksum:
          type: string
          description: File checksum
        url:
          type: string
          description: URL to upload the file to
        expires_at:
          type: string
          format: date-time
          description: Timestamp at which the URL expires
      required:
      - checksum
      - url
      - expires_at
      description: CustomerApi_V1_UploadableFileEntity model
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth2 access token or static API token. See [Authorization](/authentication/authorization) for how to obtain one.