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

# Create a member

> `first_name`, `last_name`, and `email_address` are required.

If a member with this email already exists in a **different** org on Humdov, this joins that existing person to your org instead of creating a duplicate record — capped at 3 orgs per member. Returns `400 org_limit_reached` if that cap is already hit.




## OpenAPI

````yaml /openapi.yaml post /members
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:
  /members:
    post:
      tags:
        - Members
      summary: Create a member
      description: >
        `first_name`, `last_name`, and `email_address` are required.


        If a member with this email already exists in a **different** org on
        Humdov, this joins that existing person to your org instead of creating
        a duplicate record — capped at 3 orgs per member. Returns `400
        org_limit_reached` if that cap is already hit.
      operationId: create-member
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemberCreate'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Member'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          description: A member with that email or phone number already exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
        - ApiKeyAuth:
            - members.create
components:
  schemas:
    MemberCreate:
      type: object
      required:
        - first_name
        - last_name
        - email_address
      properties:
        first_name:
          type: string
        last_name:
          type: string
        email_address:
          type: string
        phone_number:
          type: string
          nullable: true
          description: Any format accepted by libphonenumber, e.g. +14155552671
        gender:
          type: string
          nullable: true
          enum:
            - Male
            - Female
            - Others
        address:
          type: string
          nullable: true
        city:
          type: string
          nullable: true
        state:
          type: string
          nullable: true
        zip_code:
          type: string
          nullable: true
        country:
          type: string
          nullable: true
        marital_status:
          type: string
          nullable: true
        designation_id:
          type: string
          nullable: true
      example:
        first_name: Jane
        last_name: Doe
        email_address: jane.doe@example.com
        phone_number: '+14155552671'
    Member:
      type: object
      properties:
        id:
          type: string
          description: Public object id, e.g. mem_abc123
        first_name:
          type: string
          nullable: true
        last_name:
          type: string
          nullable: true
        email_address:
          type: string
          nullable: true
        phone_number:
          type: string
          nullable: true
          description: E.164 format
        gender:
          type: string
          nullable: true
        marital_status:
          type: string
          nullable: true
        date_of_birth:
          type: string
          format: date
          nullable: true
        address:
          type: string
          nullable: true
        city:
          type: string
          nullable: true
        state:
          type: string
          nullable: true
        zip_code:
          type: string
          nullable: true
        country:
          type: string
          nullable: true
        designation:
          type: string
          nullable: true
          description: Designation name
        is_guest:
          type: boolean
        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.