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

# Create Person



## OpenAPI

````yaml /openapi.json post /v1/people
openapi: 3.1.0
info:
  title: Ontora API
  description: >-
    Ontora's public API. Covers interview campaigns, transcripts, synthesis
    reports, graph queries, webhooks, and workspace management. 


    **Authentication**: endpoints accept either a Clerk JWT (`Authorization:
    Bearer <token>`) or a workspace API key (`X-API-Key: ont_...`). Workspace
    keys are managed via `/v1/api-keys`.
  version: 0.1.0
servers: []
security:
  - ClerkJWT: []
  - WorkspaceApiKey: []
tags:
  - name: interviews
    description: Campaign CRUD, lifecycle, contacts, question sets.
  - name: campaign-insights
    description: Synthesis outputs — cartography, roadmap, personas, conversations.
  - name: interview-query
    description: Graph RAG query over campaign data.
  - name: campaign-reports
    description: Versioned synthesis Reports — manual regenerate, version history.
  - name: interview-export
    description: Markdown / ZIP exports of transcripts and reports.
  - name: api-keys
    description: Manage workspace-scoped API keys for programmatic access.
  - name: webhook-endpoints
    description: Outbound webhook endpoints for automation.
  - name: booking
    description: Public self-scheduling endpoints for interview participants.
  - name: join
    description: Public QR-code / share-link self-registration for campaign participants.
  - name: workspaces
    description: Workspace and membership management.
  - name: vaults
    description: Context vault management.
paths:
  /v1/people:
    post:
      tags:
        - people
      summary: Create Person
      operationId: create_person_v1_people_post
      parameters:
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PersonCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PersonOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    PersonCreate:
      properties:
        workspace_id:
          type: string
          format: uuid
          title: Workspace Id
        name:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Name
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        phone:
          anyOf:
            - type: string
              maxLength: 50
            - type: 'null'
          title: Phone
        job_title:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Job Title
        department:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Department
        seniority_label:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Seniority Label
        seniority_level:
          anyOf:
            - type: integer
              maximum: 6
              minimum: 1
            - type: 'null'
          title: Seniority Level
        person_type:
          anyOf:
            - $ref: '#/components/schemas/PersonType'
            - type: 'null'
        group_ids:
          items:
            type: string
            format: uuid
          type: array
          title: Group Ids
      type: object
      required:
        - workspace_id
      title: PersonCreate
    PersonOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        workspace_id:
          type: string
          format: uuid
          title: Workspace Id
        user_id:
          anyOf:
            - type: string
            - type: 'null'
          title: User Id
        source_connection_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Source Connection Id
        external_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Id
        name:
          type: string
          title: Name
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        phone:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone
        job_title:
          anyOf:
            - type: string
            - type: 'null'
          title: Job Title
        department:
          anyOf:
            - type: string
            - type: 'null'
          title: Department
        seniority_level:
          anyOf:
            - type: integer
            - type: 'null'
          title: Seniority Level
        seniority_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Seniority Label
        person_type:
          type: string
          title: Person Type
        source:
          type: string
          title: Source
        source_attributes_json:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Source Attributes Json
        image_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Url
        group_ids:
          items:
            type: string
            format: uuid
          type: array
          title: Group Ids
        group_names:
          items:
            type: string
          type: array
          title: Group Names
        campaign_count:
          type: integer
          title: Campaign Count
          default: 0
        completed_count:
          type: integer
          title: Completed Count
          default: 0
        last_participated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Participated At
        channels:
          items:
            type: string
          type: array
          title: Channels
        teams_display_identifier:
          anyOf:
            - type: string
            - type: 'null'
          title: Teams Display Identifier
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - workspace_id
        - name
        - person_type
        - source
        - created_at
        - updated_at
      title: PersonOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PersonType:
      type: string
      enum:
        - internal
        - external
      title: PersonType
    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:
    ClerkJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Clerk-issued RS256 JWT.
    WorkspaceApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Workspace-scoped API key (prefix: `ont_`).'
    HTTPBearer:
      type: http
      scheme: bearer

````