Softkiln Legal API

The legal API from Softkiln — 9 operation(s) for legal.

GitHub OpenAPI

Operations 10

POST /api/legal/dpa/accept Accept Dpa #

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/softkiln-com:softkiln-com-legal-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

softkiln-com-legal-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: App Manager Legal API
  version: 0.1.0
tags:
- name: Legal
paths:
  /api/public/legal/subprocessors:
    get:
      tags:
      - Legal
      summary: Public Subprocessors
      description: 'Vendor-neutral subprocessor disclosure.


        Serves engine.legal.public_view(), which is an allow-list projection — a

        field added to the registry stays private until someone deliberately adds it

        to PUBLIC_FIELDS. Do not "enrich" this response from named_view().'
      operationId: public_subprocessors_api_public_legal_subprocessors_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/public/legal/{kind}:
    get:
      tags:
      - Legal
      summary: Public Document
      description: 'A legal document as a prospect reads it, before there is a controller.


        The DPA gets its annexes filled with placeholders and the vendor-neutral

        subprocessor table, never the named one.'
      operationId: public_document_api_public_legal__kind__get
      parameters:
      - name: kind
        in: path
        required: true
        schema:
          type: string
          title: Kind
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/legal/entity:
    get:
      tags:
      - Legal
      summary: Get Entity
      operationId: get_entity_api_legal_entity_get
      parameters:
      - name: org
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Legal
      summary: Put Entity
      description: 'Save the controller''s legal identity.


        Deliberately does not touch existing acceptances: those carry their own

        frozen annex snapshot, and rewriting the party on a concluded agreement

        would falsify the record.'
      operationId: put_entity_api_legal_entity_put
      parameters:
      - name: org
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LegalEntityRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/legal/data-locations:
    get:
      tags:
      - Legal
      summary: Data Locations
      description: 'Where this controller''s data is processed.


        Regions are platform-wide settings, so they are reported once rather than

        per app; the app list is what varies, and it drives which areas apply.'
      operationId: data_locations_api_legal_data_locations_get
      parameters:
      - name: org
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/legal/dpa:
    get:
      tags:
      - Legal
      summary: Get Dpa
      description: The DPA as this controller would conclude it, plus their acceptance state.
      operationId: get_dpa_api_legal_dpa_get
      parameters:
      - name: org
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/legal/dpa/accept:
    post:
      tags:
      - Legal
      summary: Accept Dpa
      description: 'Conclude the DPA in electronic form (Art. 28(9)).


        Records the hash of the exact text and a frozen snapshot of the annex data,

        so the agreement stays reconstructable after the registry and the customer''s

        app estate have both moved on.'
      operationId: accept_dpa_api_legal_dpa_accept_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/legal/acceptances/{acceptance_id}:
    get:
      tags:
      - Legal
      summary: Get Acceptance
      description: 'Re-render a concluded agreement from its frozen snapshot.


        Reads the snapshot, never the live registry — the whole point of freezing it

        is that this stays byte-identical after subprocessors change. The hash is

        returned alongside so the customer can verify that for themselves.'
      operationId: get_acceptance_api_legal_acceptances__acceptance_id__get
      parameters:
      - name: acceptance_id
        in: path
        required: true
        schema:
          type: string
          title: Acceptance Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/legal/processing-record:
    get:
      tags:
      - Legal
      summary: Processing Record
      description: 'Art. 30(1) scaffold: the recipient, transfer and retention facts a

        controller needs for their own record, pre-filled from what we know.'
      operationId: processing_record_api_legal_processing_record_get
      parameters:
      - name: org
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/legal/health:
    get:
      tags:
      - Legal
      summary: Legal Health
      description: Cheap probe that the registry parses and the documents are present.
      operationId: legal_health_api_legal_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    AcceptRequest:
      properties:
        document_kind:
          type: string
          const: dpa
          title: Document Kind
          default: dpa
        document_version:
          anyOf:
          - type: string
            pattern: ^v\d+\.\d+$
          - type: 'null'
          title: Document Version
        locale:
          type: string
          title: Locale
          default: en
        signer_name:
          type: string
          maxLength: 200
          minLength: 1
          title: Signer Name
        org:
          anyOf:
          - type: string
          - type: 'null'
          title: Org
      type: object
      required:
      - signer_name
      title: AcceptRequest
    LegalEntityRequest:
      properties:
        legal_name:
          type: string
          maxLength: 200
          minLength: 1
          title: Legal Name
        org_number:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Org Number
        address:
          type: string
          maxLength: 500
          minLength: 1
          title: Address
        country:
          type: string
          maxLength: 64
          minLength: 2
          title: Country
        privacy_contact_email:
          anyOf:
          - type: string
            maxLength: 320
            pattern: ^[^@\s]+@[^@\s]+\.[^@\s]+$
          - type: 'null'
          title: Privacy Contact Email
      type: object
      required:
      - legal_name
      - address
      - country
      title: LegalEntityRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError