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

# Add People to List

> Requires `lists: true` in the credential's `entitiesToSync` selection and a connector that supports this operation. [Choose what data to sync](https://rollout.com/docs/advanced-guides/controlling-which-records-sync-with-rollout), or [fix an entity that is not configured to sync](https://rollout.com/docs/troubleshooting/entity-not-configured-to-sync).



## OpenAPI

````yaml /openapi/crm.json post /lists/{id}/people
openapi: 3.1.2
info:
  title: Universal CRM API Documentation
  description: Development documentation
  version: '1.0'
servers:
  - url: https://crm.universal.rollout.com/api
security: []
paths:
  /lists/{id}/people:
    post:
      tags:
        - Lists
      summary: Add People to List
      description: >-
        Requires `lists: true` in the credential's `entitiesToSync` selection
        and a connector that supports this operation. [Choose what data to
        sync](https://rollout.com/docs/advanced-guides/controlling-which-records-sync-with-rollout),
        or [fix an entity that is not configured to
        sync](https://rollout.com/docs/troubleshooting/entity-not-configured-to-sync).
      operationId: postListsByIdPeople
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                personIds:
                  type: array
                  items:
                    type: string
              required:
                - personIds
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                personIds:
                  type: array
                  items:
                    type: string
              required:
                - personIds
          multipart/form-data:
            schema:
              type: object
              properties:
                personIds:
                  type: array
                  items:
                    type: string
              required:
                - personIds
      responses:
        '200':
          description: Response for status 200
          content:
            application/json:
              schema:
                maxItems: 0
                type: array
                items:
                  not: {}
        '400':
          description: Response for status 400
          content:
            application/json:
              schema:
                anyOf:
                  - type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - REFERENCE_NOT_FOUND
                          - REFERENCE_DELETED_UPSTREAM
                      errorMessage:
                        type: string
                      field:
                        type: string
                    required:
                      - code
                      - errorMessage
                      - field
                  - type: object
                    properties:
                      errorMessage:
                        type: string
                    required:
                      - errorMessage
        '404':
          description: Response for status 404
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - RESOURCE_NOT_FOUND
                      - RESOURCE_DELETED_UPSTREAM
                  errorMessage:
                    type: string
                required:
                  - code
                  - errorMessage
        '423':
          description: >-
            423 Locked — the credential is temporarily frozen by an operator.
            Reads still work; POST/PATCH/PUT/DELETE are rejected until it is
            unfrozen. Unlike 424 (invalid credential), do not re-authenticate —
            retry later.
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        message:
                          type: string
                      required:
                        - message
                required:
                  - errors
      security:
        - jwt: []
          credential_id: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      description: Consumer JWT minted by the tenant's backend
    credential_id:
      type: apiKey
      in: header
      name: X-Rollout-Credential-Id
      description: The Rollout Credential ID to use for queries/mutations

````

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