PagoPA Massive operation APIs for Debt Positions - v1 API

The Massive operation APIs for Debt Positions - v1 API from PagoPA — 1 operation(s) for massive operation apis for debt positions - v1.

GitHub OpenAPI
Business capability
Accounts Receivable Management BC-200.30

Operations 3

PUT /brokers/{broker-code}/organizations/{organization-fiscal-code}/debtpositions/file The Organization updates the debt positions listed in the file #
POST /brokers/{broker-code}/organizations/{organization-fiscal-code}/debtpositions/file The Organization creates the debt positions listed in the file #
DELETE /brokers/{broker-code}/organizations/{organization-fiscal-code}/debtpositions/file The Organization deletes the debt positions based on IUPD listed in the file #

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/pagopa:pagopa-massive-operation-apis-for-debt-positions-v1-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

pagopa-massive-operation-apis-for-debt-positions-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GPD Upload pagoPA - Massive Upload Massive operation APIs…
  description: API to support Debt Positions massive upload for organizations
  termsOfService: https://www.pagopa.gov.it/
  version: 0.5.3
servers:
- url: https://api.platform.pagopa.it/upload/gpd/debt-positions-service/v1
security:
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: Massive operation APIs for Debt Positions - v1
paths:
  /brokers/{broker-code}/organizations/{organization-fiscal-code}/debtpositions/file:
    put:
      tags:
      - Massive operation APIs for Debt Positions - v1
      summary: The Organization updates the debt positions listed in the file
      description: The Organization updates the debt positions listed in the file.
      operationId: update-debt-positions-by-file-upload
      parameters:
      - name: broker-code
        in: path
        description: The broker code
        required: true
        schema:
          minLength: 1
          type: string
      - name: organization-fiscal-code
        in: path
        description: The organization fiscal code
        required: true
        schema:
          minLength: 1
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                file:
                  type: string
                  description: File to be uploaded
                  format: binary
      responses:
        '202':
          description: Request accepted.
        '400':
          description: Malformed request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                title: string
                status: 400
                detail: There was an error processing the request
        '401':
          description: Wrong or missing function key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                title: string
                status: 400
                detail: There was an error processing the request
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
        '429':
          description: Too many requests.
          content:
            text/json: {}
        '500':
          description: Service unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                title: string
                status: 400
                detail: There was an error processing the request
    post:
      tags:
      - Massive operation APIs for Debt Positions - v1
      summary: The Organization creates the debt positions listed in the file
      description: The Organization creates the debt positions listed in the file.
      operationId: create-debt-positions-by-file-upload
      parameters:
      - name: broker-code
        in: path
        description: The broker code
        required: true
        schema:
          minLength: 1
          type: string
      - name: organization-fiscal-code
        in: path
        description: The organization fiscal code
        required: true
        schema:
          minLength: 1
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                file:
                  type: string
                  description: File to be uploaded
                  format: binary
      responses:
        '202':
          description: Request accepted.
        '400':
          description: Malformed request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                title: string
                status: 400
                detail: There was an error processing the request
        '401':
          description: Wrong or missing function key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                title: string
                status: 400
                detail: There was an error processing the request
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
        '429':
          description: Too many requests.
          content:
            text/json: {}
        '500':
          description: Service unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                title: string
                status: 400
                detail: There was an error processing the request
    delete:
      tags:
      - Massive operation APIs for Debt Positions - v1
      summary: The Organization deletes the debt positions based on IUPD listed in the file
      description: The Organization deletes the debt positions based on IUPD listed in the file.
      operationId: delete-debt-positions-by-file-upload
      parameters:
      - name: broker-code
        in: path
        description: The broker code
        required: true
        schema:
          minLength: 1
          type: string
      - name: organization-fiscal-code
        in: path
        description: The organization fiscal code
        required: true
        schema:
          minLength: 1
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                file:
                  type: string
                  description: File to be uploaded
                  format: binary
      responses:
        '202':
          description: Request accepted.
        '400':
          description: Malformed request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                title: string
                status: 400
                detail: There was an error processing the request
        '401':
          description: Wrong or missing function key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                title: string
                status: 400
                detail: There was an error processing the request
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
        '429':
          description: Too many requests.
          content:
            text/json: {}
        '500':
          description: Service unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                title: string
                status: 400
                detail: There was an error processing the request
components:
  schemas:
    ProblemJson:
      type: object
      properties:
        title:
          type: string
          description: 'A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable'
        status:
          type: integer
          description: The HTTP status code generated by the origin server for this occurrence of the problem.
          format: int32
          example: 400
        detail:
          type: string
          description: A human readable explanation specific to this occurrence of the problem.
          example: There was an error processing the request
      description: Object returned as response in case of an error.
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      name: Ocp-Apim-Subscription-Key
      in: header
    apiKeyQuery:
      type: apiKey
      name: subscription-key
      in: query