> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inprocess.world/llms.txt
> Use this file to discover all available pages before exploring further.

# Distribute Funds

> Distribute funds from a split contract. This endpoint allows you to trigger the distribution of tokens (native or ERC20) from a split contract to its recipients according to their configured allocations.

**This is a public endpoint and does not require authentication.**



## OpenAPI

````yaml POST /distribute
openapi: 3.1.0
info:
  title: In•Process API
  description: >-
    The In•Process API enables browsing and managing moments from timelines.
    Retrieve moments from a specific artist's timeline, browse the in•process
    collective timeline, or filter by collection. The API supports creating
    moments, managing collections, handling payments, and interacting with the
    In•Process protocol ecosystem.
  version: 1.0.0
servers:
  - url: https://api.inprocess.world/api
    description: Production server
security: []
paths:
  /distribute:
    post:
      summary: Distribute Funds
      description: >-
        Distribute funds from a split contract. This endpoint allows you to
        trigger the distribution of tokens (native or ERC20) from a split
        contract to its recipients according to their configured allocations.


        **This is a public endpoint and does not require authentication.**
      operationId: distributeFunds
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DistributeRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistributeResponse'
              example:
                status: success
                hash: 0xTransactionHash
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
components:
  schemas:
    DistributeRequest:
      type: object
      required:
        - splitAddress
      properties:
        splitAddress:
          type: string
          description: The address of the split contract to distribute from
        tokenAddress:
          type: string
          description: >-
            The address of the token to distribute (optional, defaults to zero
            address for native token)
          default: '0x0000000000000000000000000000000000000000'
        chainId:
          type: integer
          description: 'Chain ID where the split contract exists (default: Base, 8453)'
          default: 8453
    DistributeResponse:
      type: object
      required:
        - status
        - hash
      properties:
        status:
          type: string
          description: Status of the request
          enum:
            - success
            - error
        hash:
          type: string
          description: Transaction hash of the distribution
    Error:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: string
          enum:
            - error
          description: Error status
        message:
          type: string
          description: Error message
        errors:
          type: array
          description: >-
            Optional array of field-level validation errors. Typically included
            in 400 Bad Request responses for validation errors.
          items:
            type: object
            required:
              - field
              - message
            properties:
              field:
                type: string
                description: The field name that failed validation
              message:
                type: string
                description: The validation error message for this field

````