> ## 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.

# Create A Community Group Post

> Publishes a discussion or, for authorized group leaders, an announcement.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/community-groups/{groupId}/feed/posts
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-groups/{groupId}/feed/posts:
    post:
      tags:
        - Community Groups
      summary: Create A Community Group Post
      description: >-
        Publishes a discussion or, for authorized group leaders, an
        announcement.
      operationId: createCommunityGroupPost
      parameters:
        - name: groupId
          in: path
          required: true
          description: Community group identifier.
          schema:
            type: integer
            minimum: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - type
                - body
              properties:
                type:
                  type: string
                  enum:
                    - announcement
                    - discussion
                title:
                  type:
                    - string
                    - 'null'
                  maxLength: 255
                body:
                  type: string
                  maxLength: 10000
            example:
              type: discussion
              title: Friday gathering
              body: What should we cover during our next gathering?
      responses:
        '201':
          description: Community group post created.
          content:
            application/json:
              schema:
                type: object
              examples:
                success:
                  summary: Community group post created.
                  value:
                    status: Success
                    data:
                      post:
                        id: 615
                        type: discussion
                        title: Friday gathering
                        body: What should we cover during our next gathering?
                        published_at: '2026-07-18T09:30:00.000000Z'
                        author:
                          id: 308
                          name: Jordan A.
                        comments: []
        '401':
          description: Missing or invalid API key or member bearer token.
        '403':
          description: The authenticated member is not permitted to perform this action.
        '404':
          description: >-
            The requested church-scoped resource was not found or the feature is
            disabled.
        '422':
          description: One or more request values failed validation.
components:
  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`.

````