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

# Add a trusted collaborator to a fund

> 
    Adds a collaborator to a fund through a trusted tech platform integration.
    
    ## Authorization Requirements
    This endpoint requires two headers:
    - x-api-key: The tech platform's secret API key
    - Authorization: Bearer token containing the user's access token
    
    ## How it works
    - Tech Platforms can add collaborators via this trusted API call
    - All collaborators added through this endpoint are implicitly trusted
    - Tech Platforms must provide:
      1. User Access token (generated during OAuth) to prove the user authorized modifying their Fund
      2. The Tech Platform's API Key to prove the request is coming from a trusted source
    



## OpenAPI

````yaml https://api.endaoment.org/oas-json post /v1/funds/{id}/collaborators/trust
openapi: 3.0.0
info:
  title: Endaoment API
  description: The official Endaoment API endpoints
  version: 0.0.1
  contact: {}
servers:
  - url: https://api.endaoment.org
    description: Production
security: []
tags: []
paths:
  /v1/funds/{id}/collaborators/trust:
    post:
      tags:
        - Funds
      summary: Add a trusted collaborator to a fund
      description: |2-

            Adds a collaborator to a fund through a trusted tech platform integration.
            
            ## Authorization Requirements
            This endpoint requires two headers:
            - x-api-key: The tech platform's secret API key
            - Authorization: Bearer token containing the user's access token
            
            ## How it works
            - Tech Platforms can add collaborators via this trusted API call
            - All collaborators added through this endpoint are implicitly trusted
            - Tech Platforms must provide:
              1. User Access token (generated during OAuth) to prove the user authorized modifying their Fund
              2. The Tech Platform's API Key to prove the request is coming from a trusted source
            
      operationId: FundsController_addFundCollaboratorTrust
      parameters:
        - name: id
          required: true
          in: path
          description: The unique identifier of the fund
          example: 123e4567-e89b-12d3-a456-426614174000
          schema:
            type: string
        - name: x-api-key
          in: header
          description: Tech Platform API Key
          required: true
          schema:
            type: string
      requestBody:
        required: true
        description: Collaborator information to be added to the fund
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateFundCollaboratorInputDto'
      responses:
        '200':
          description: Collaborator successfully added to the fund
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollaboratorListingDto'
        '401':
          description: >-
            User is not authenticated or does not have permission to add
            collaborators to this fund
        '404':
          description: Fund not found
      security:
        - bearer: []
components:
  schemas:
    CreateFundCollaboratorInputDto:
      type: object
      properties:
        companyName:
          type: string
          description: Company name of the collaborator
          example: Acme Corporation
        userId:
          type: string
          description: User ID of the collaborator
          example: 123e4567-e89b-12d3-a456-426614174000
      required:
        - companyName
        - userId
    CollaboratorListingDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the collaboration relationship
          example: 123e4567-e89b-12d3-a456-426614174000
        collaboratorUserId:
          type: string
          description: Unique identifier of the collaborator
          example: 123e4567-e89b-12d3-a456-426614174000
        fundId:
          type: string
          description: Unique identifier of the fund
          example: 123e4567-e89b-12d3-a456-426614174000
        createdAtUtc:
          type: string
          description: UTC timestamp when this collaborator relationship was created
          example: '2026-02-11T14:32:10.123Z'
          format: date-time
        email:
          type: string
          description: Email address of the collaborator
          example: john.doe@example.com
        firstName:
          type: string
          description: First name of the collaborator
          example: John
        lastName:
          type: string
          description: Last name of the collaborator
          example: Doe
      required:
        - id
        - collaboratorUserId
        - fundId
        - createdAtUtc
        - email
        - firstName
        - lastName
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````