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

# Create people

> Create one or more people. Batch-first: always pass a `people` array (use a single-element array to create one person). Supports partial success - each person is created independently.



## OpenAPI

````yaml /api-reference/openapi.json post /people
openapi: 3.1.1
info:
  description: >-
    The public Modem API. Authenticate with an organization API key:
    `Authorization: Bearer modem_…`.
  title: Modem API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.modem.dev/v1
security:
  - bearerAuth: []
paths:
  /people:
    post:
      tags:
        - People
      summary: Create people
      description: >-
        Create one or more people. Batch-first: always pass a `people` array
        (use a single-element array to create one person). Supports partial
        success - each person is created independently.
      operationId: people.createPeople
      requestBody:
        content:
          application/json:
            schema:
              properties:
                people:
                  items:
                    properties:
                      avatarUrl:
                        anyOf:
                          - format: uri
                            type: string
                          - type: 'null'
                      connections:
                        properties:
                          github:
                            anyOf:
                              - type: string
                              - type: 'null'
                          linkedin:
                            anyOf:
                              - type: string
                              - type: 'null'
                          phone:
                            anyOf:
                              - type: string
                              - type: 'null'
                          title:
                            anyOf:
                              - type: string
                              - type: 'null'
                          twitter:
                            anyOf:
                              - type: string
                              - type: 'null'
                          website:
                            anyOf:
                              - type: string
                              - type: 'null'
                        type: object
                      description:
                        anyOf:
                          - type: string
                          - type: 'null'
                      displayName:
                        maxLength: 255
                        minLength: 1
                        type: string
                      isVip:
                        type: boolean
                      primaryEmail:
                        anyOf:
                          - format: email
                            type: string
                          - type: 'null'
                    required:
                      - displayName
                    type: object
                  maxItems: 50
                  minItems: 1
                  type: array
              required:
                - people
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  results:
                    items:
                      properties:
                        data:
                          properties:
                            avatarUrl:
                              anyOf:
                                - format: uri
                                  type: string
                                - type: 'null'
                              description: Avatar image URL for the person.
                              title: Avatar URL
                            connections:
                              properties:
                                github:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                linkedin:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                phone:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                title:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                twitter:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                                website:
                                  anyOf:
                                    - type: string
                                    - type: 'null'
                              required:
                                - github
                                - linkedin
                                - phone
                                - title
                                - twitter
                                - website
                              type: object
                            description:
                              anyOf:
                                - type: string
                                - type: 'null'
                            displayName:
                              description: Display name for the person.
                              title: Display Name
                              type: string
                            id:
                              pattern: ^\d+$
                              type: string
                            isVip:
                              type: boolean
                            primaryEmail:
                              anyOf:
                                - format: email
                                  type: string
                                - type: 'null'
                          required:
                            - avatarUrl
                            - connections
                            - description
                            - displayName
                            - id
                            - isVip
                            - primaryEmail
                          type: object
                        displayName:
                          type: string
                        error:
                          type: string
                        success:
                          type: boolean
                      required:
                        - displayName
                        - success
                      type: object
                    type: array
                required:
                  - results
                type: object
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Invalid request (validation failed).
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid API key.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: The API key does not have access to this resource.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: The requested resource was not found.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Rate limit exceeded.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error.
components:
  schemas:
    Error:
      properties:
        code:
          description: Machine-readable error code, e.g. `NOT_FOUND`.
          examples:
            - NOT_FOUND
          type: string
        data:
          description: Optional structured error details.
        defined:
          description: True if the error was declared in the procedure contract.
          type: boolean
        message:
          description: Human-readable error message.
          type: string
        status:
          description: HTTP status code.
          examples:
            - 404
          type: integer
      required:
        - code
        - defined
        - message
        - status
      type: object
  securitySchemes:
    bearerAuth:
      description: Organization API key (`modem_…`).
      scheme: bearer
      type: http

````