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

# Offer A Shared Resource

> Submits a member-owned lending item for staff review before it becomes visible.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/community/resources
openapi: 3.1.0
info:
  title: TheFaithApp Partner API
  version: 1.0.0
  description: >-
    The v1 API for third-party apps that sign in TheFaithApp members and access
    church-scoped content and workflows.
  contact:
    name: TheFaithApp Support
    email: support@thefaithapp.com
servers:
  - url: https://api.thefaithapp.com
    description: Production
security:
  - apiKeyAuth: []
    bearerAuth: []
tags:
  - name: Hosted Auth
    description: Sign members in through the hosted TheFaithApp authentication flow.
  - name: Core Experience
    description: Load member context and the personalized home experience.
  - name: Content
    description: >-
      Read sermons, media, YouTube videos, devotionals, and streaming
      configuration.
  - name: Engagement
    description: Manage member favorites and devotional bookmarks.
  - name: Churches
    description: Read church profiles, public directory records, and branch information.
  - name: Events & Volunteers
    description: >-
      Browse events and volunteer opportunities, then manage registrations and
      commitments.
  - name: Notifications & Bulletins
    description: Read church and member notifications and published bulletins.
  - name: Prayer
    description: Submit a prayer request for the authenticated member.
  - name: Member Connections
    description: Manage the member’s campus and ministry connections.
  - name: Community Groups
    description: >-
      Discover groups and manage membership, feeds, attendance, study guides,
      and leader notes.
  - name: Community Preferences & Research
    description: >-
      Manage community preferences, summaries, and consent-based research
      participation.
  - name: Resource Sharing
    description: Offer shared resources and manage member loan requests and transitions.
  - name: Mutual Aid
    description: >-
      Manage needs and offers, private responses, safety reports, and member
      activity.
  - name: Analytics
    description: Record product analytics events and retrieve aggregate metrics.
  - name: Notification Analytics
    description: Record and summarize notification delivery, open, and click events.
paths:
  /v1/community/resources:
    post:
      tags:
        - Resource Sharing
      summary: Offer A Shared Resource
      description: >-
        Submits a member-owned lending item for staff review before it becomes
        visible.
      operationId: createCommunityResource
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommunityResourceInput'
            example:
              type: lending_item
              title: Portable camping chairs
              description: Four clean folding chairs available for short-term borrowing.
              condition: good
              default_loan_days: 7
              approximate_area: Central Campus
      responses:
        '201':
          description: Shared resource submitted for review.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommunityResourceResponse'
              examples:
                success:
                  summary: Shared resource submitted for review.
                  value:
                    status: Success
                    data:
                      resource:
                        id: 207
                        type: lending_item
                        title: Portable camping chairs
                        description: >-
                          A lightweight folding wheelchair available for
                          short-term use.
                        condition: good
                        status: pending_review
                        default_loan_days: 14
                        approximate_area: Central Campus
                        is_owner: true
                        managed_by: member
                        created_at: '2026-07-18T09:30:00.000000Z'
        '401':
          description: Missing or invalid API key or member bearer token.
        '403':
          description: The member is not eligible for community resources.
        '404':
          description: Community resources are not enabled for this church.
        '422':
          description: The resource details are invalid or unsafe.
components:
  schemas:
    CommunityResourceInput:
      type: object
      required:
        - type
        - title
        - description
        - condition
        - default_loan_days
      properties:
        type:
          type: string
          const: lending_item
        title:
          type: string
          minLength: 3
          maxLength: 120
        description:
          type: string
          minLength: 10
          maxLength: 2000
        condition:
          type: string
          enum:
            - new
            - good
            - fair
        default_loan_days:
          type: integer
          minimum: 1
          maximum: 90
        approximate_area:
          type:
            - string
            - 'null'
          maxLength: 100
    CommunityResourceResponse:
      type: object
      properties:
        status:
          type: string
          const: Success
        data:
          type: object
          properties:
            resource:
              $ref: '#/components/schemas/CommunityResource'
    CommunityResource:
      type: object
      properties:
        id:
          type: integer
        type:
          type: string
          enum:
            - lending_item
            - medical_equipment
        title:
          type: string
        description:
          type: string
        condition:
          type: string
          enum:
            - new
            - good
            - fair
        status:
          type: string
          enum:
            - pending_review
            - available
            - reserved
            - on_loan
            - unavailable
            - retired
        default_loan_days:
          type: integer
        approximate_area:
          type:
            - string
            - 'null'
        is_owner:
          type: boolean
        managed_by:
          type: string
          enum:
            - member
            - church
        loans:
          type: array
          items:
            $ref: '#/components/schemas/CommunityResourceLoan'
        created_at:
          type:
            - string
            - 'null'
          format: date-time
    CommunityResourceLoan:
      type: object
      properties:
        id:
          type: integer
        status:
          type: string
          enum:
            - requested
            - approved
            - declined
            - checked_out
            - overdue
            - returned
            - cancelled
        private_note:
          type:
            - string
            - 'null'
        requested_at:
          type:
            - string
            - 'null'
          format: date-time
        checked_out_at:
          type:
            - string
            - 'null'
          format: date-time
        due_at:
          type:
            - string
            - 'null'
          format: date-time
        returned_at:
          type:
            - string
            - 'null'
          format: date-time
        chat_channel_id:
          type:
            - integer
            - 'null'
        resource:
          type:
            - object
            - 'null'
          description: >-
            Summary of the resource associated with the loan. Nested loan
            history is omitted.
        borrower:
          type:
            - object
            - 'null'
          description: >-
            Borrower summary when the authenticated member or church role may
            view it.
          properties:
            id:
              type: integer
            name:
              type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Client API key copied from Developer Access in the TheFaithApp
        dashboard.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Sanctum
      description: Member access token returned by `POST /v1/auth/token`.

````