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

# Submit a prayer request

> Only `description` is required. `sender` defaults to `"Anonymous"` when omitted.

This is data-only: unlike the dashboard's own submission flow, it does not create a Testimony record, an in-app notification, or a push notification to the org.




## OpenAPI

````yaml /openapi.yaml post /prayer-requests
openapi: 3.1.0
info:
  title: Humdov Developer API
  version: '1.0'
  description: >
    Read and write records in a Humdov organization. Every request is
    authenticated with an API key (`X-Api-Key` header) created from the Humdov
    dashboard's Developer API page. See the Guides tab for authentication,
    pagination, rate limits, and the error format.
servers:
  - url: https://api.humdov.app/v1
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Members
  - name: Tags
  - name: Prayer Requests
  - name: Forms
  - name: Form Responses
  - name: Events
  - name: Services
  - name: Attendance
  - name: Departments
paths:
  /prayer-requests:
    post:
      tags:
        - Prayer Requests
      summary: Submit a prayer request
      description: >
        Only `description` is required. `sender` defaults to `"Anonymous"` when
        omitted.


        This is data-only: unlike the dashboard's own submission flow, it does
        not create a Testimony record, an in-app notification, or a push
        notification to the org.
      operationId: create-prayer-request
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - description
              properties:
                title:
                  type: string
                  nullable: true
                description:
                  type: string
                sender:
                  type: string
                  nullable: true
                  default: Anonymous
                sender_email:
                  type: string
                  nullable: true
                sender_phone:
                  type: string
                  nullable: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/PrayerRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
        - ApiKeyAuth:
            - prayer_requests.create
components:
  schemas:
    PrayerRequest:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
          nullable: true
        description:
          type: string
        sender:
          type: string
        sender_email:
          type: string
          nullable: true
        sender_phone:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - pending
            - answered
            - prayed
        answered_at:
          type: string
          format: date-time
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: not_found
            message:
              type: string
              example: Member not found
  responses:
    Unauthorized:
      description: Missing, invalid, revoked, or expired API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The API key doesn't have the required scope
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unprocessable:
      description: A field is missing or failed validation
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds until the rate-limit window resets.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >
        Create a key from the Humdov dashboard's Developer API page. See the
        Authentication guide for scopes and lifecycle.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.