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

# Create Participants

> Create up to 100 participants for a study in one request.



## OpenAPI

````yaml /api-reference/openapi.json post /api/public/v1/participants/
openapi: 3.1.0
info:
  title: User Intuition Public API
  description: >-
    ## Public Integration API


    Programmatic access to User Intuition for external integrators: manage
    studies, participants, interviews, reports, and panels.


    ### Authentication


    All endpoints require a Bearer token — either an API key (prefixed `ui_sk_`,
    created in the dashboard) or a dashboard JWT:


    ```

    Authorization: Bearer <ui_sk_… or JWT>

    ```


    ### Base URLs


    - **Production:** `https://api.userintuition.ai`

    - **Staging:** `https://staging.userintuition.ai`


    ### Support


    For API support, contact support@userintuition.ai
  version: 1.0.0
  contact:
    name: User Intuition Support
    email: support@userintuition.ai
servers:
  - url: https://api.userintuition.ai
    description: Production
  - url: https://staging.userintuition.ai
    description: Staging
security:
  - BearerAuth: []
paths:
  /api/public/v1/participants/:
    post:
      tags:
        - public-participants
      summary: Create Participants
      description: Create up to 100 participants for a study in one request.
      operationId: createParticipants
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicParticipantsCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PublicParticipant'
                title: Response Createparticipants
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PublicParticipantsCreate:
      properties:
        study_id:
          type: string
          title: Study Id
          description: The study to invite these participants to
        participants:
          items:
            $ref: '#/components/schemas/PublicParticipantInviteInput'
          type: array
          maxItems: 100
          minItems: 1
          title: Participants
      additionalProperties: false
      type: object
      required:
        - study_id
        - participants
      title: PublicParticipantsCreate
      description: Create multiple participants for one study.
    PublicParticipant:
      properties:
        id:
          type: string
          title: Id
        study_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Study Id
          description: The study this participant belongs to
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        reward_sent:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Reward Sent
        reward_sent_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Reward Sent At
        invite_sent_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Invite Sent At
          description: When this participant's invitation email was sent
        invite_created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Invite Created At
          description: When this participant invitation was created
      type: object
      required:
        - id
      title: PublicParticipant
      description: |-
        A participant invited directly by the customer (BYOP).

        Panel recruiting is represented by the panel endpoints, not by synthetic
        participant records on this resource.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PublicParticipantInviteInput:
      properties:
        email:
          type: string
          format: email
          title: Email
        silent:
          type: boolean
          title: Silent
          description: Create the participant without sending an invitation email
          default: false
      additionalProperties: false
      type: object
      required:
        - email
      title: PublicParticipantInviteInput
      description: One participant in a bulk participant creation request.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Authenticate with an API key (prefixed `ui_sk_`) or a JWT token from the
        dashboard.

````