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

# Get a person's profile

> Finds a person (by `contactId`, or by matching email, phone or LinkedIn URL) and returns the record with their latest tasks, notes and reminders in one call. No match is a 200 with `matched: false`.




## OpenAPI

````yaml /openapi/records.yaml post /people/profile-batch
openapi: 3.1.0
info:
  title: Connie Records API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for records. They authenticate with your
    signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Lists
    description: Lists of records on an object, and the records in them.
  - name: People
    description: Find, match and create records on the People object.
  - name: Companies
    description: Find and create records on the Companies object.
  - name: Notes
    description: Notes on a person.
  - name: Tasks
    description: Tasks linked to a person or a company, and their comments.
paths:
  /people/profile-batch:
    post:
      tags:
        - People
      summary: Get a person's profile
      description: >
        Finds a person (by `contactId`, or by matching email, phone or LinkedIn
        URL) and returns the record with their latest tasks, notes and reminders
        in one call. No match is a 200 with `matched: false`.
      operationId: getPersonProfile
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - workspaceId
              properties:
                workspaceId:
                  type: string
                  format: uuid
                contactId:
                  type: string
                  format: uuid
                  description: >-
                    The person's record id. Skips matching when you already know
                    it.
                email:
                  type: string
                phone:
                  type: string
                linkedinUrl:
                  type: string
                tasksLimit:
                  type: integer
                  default: 5
                notesLimit:
                  type: integer
                  default: 5
                remindersLimit:
                  type: integer
                  default: 5
      responses:
        '200':
          description: The profile.
          content:
            application/json:
              schema:
                type: object
                properties:
                  matched:
                    type: boolean
                  contact:
                    oneOf:
                      - $ref: '#/components/schemas/PersonProfile'
                      - type: 'null'
                  tasks:
                    type: array
                    items:
                      $ref: '#/components/schemas/Task'
                  notes:
                    type: array
                    items:
                      $ref: '#/components/schemas/Note'
                  reminders:
                    type: array
                    items:
                      $ref: '#/components/schemas/Reminder'
                  counts:
                    type: object
                    description: Totals, not just the returned page.
                    properties:
                      tasks:
                        type: integer
                      notes:
                        type: integer
                      reminders:
                        type: integer
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  schemas:
    PersonProfile:
      type: object
      description: >
        A person's record with every field value at the top level, keyed by
        field name, plus the fields below.
      additionalProperties: true
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type: string
          format: uuid
        email:
          type:
            - string
            - 'null'
        phone:
          type:
            - string
            - 'null'
        linkedin_url:
          type:
            - string
            - 'null'
        identifiers:
          type: array
          description: Every email, phone and profile linked to this person.
          items:
            type: object
            properties:
              type:
                type: string
                description: For example `email`, `phone` or `linkedin_url`.
              value:
                type: string
              is_primary:
                type: boolean
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Task:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type: string
          format: uuid
        contact_id:
          type:
            - string
            - 'null'
          format: uuid
        company_id:
          type:
            - string
            - 'null'
          format: uuid
        title:
          type: string
        description:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - not_started
            - in_progress
            - completed
            - on_hold
            - blocked
            - cancelled
        priority:
          type: string
        due_date:
          type:
            - string
            - 'null'
        completed_date:
          type:
            - string
            - 'null'
        assigned_to:
          type:
            - string
            - 'null'
          description: Assignee user id, or comma-separated ids.
        reviewer_id:
          type:
            - string
            - 'null'
        tags:
          type: array
          items:
            type: string
        created_by:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Note:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type: string
          format: uuid
        contact_id:
          type:
            - string
            - 'null'
          format: uuid
        company_id:
          type:
            - string
            - 'null'
          format: uuid
        title:
          type:
            - string
            - 'null'
        content:
          type: string
        tags:
          type: array
          items:
            type: string
        created_by:
          type:
            - string
            - 'null'
          format: uuid
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Reminder:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type: string
          format: uuid
        contact_id:
          type:
            - string
            - 'null'
          format: uuid
        company_id:
          type:
            - string
            - 'null'
          format: uuid
        conversation_id:
          type:
            - string
            - 'null'
        title:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        remind_at:
          type:
            - string
            - 'null'
          format: date-time
        is_completed:
          type: boolean
        assigned_to:
          type:
            - string
            - 'null'
        created_by:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Machine-readable code, when there is one.
      required:
        - error
  responses:
    BadRequest:
      description: A required field is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: >-
        No valid session (`UNAUTHORIZED`), or the session has expired
        (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: You aren't a member of the workspace or don't have access to this item.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

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