> ## 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.

# Create a contact task



## OpenAPI

````yaml /openapi/crm.yaml post /contacts/{id}/tasks
openapi: 3.1.0
info:
  title: Connie CRM API
  version: 1.0.0
  description: >
    API for contacts, companies, records, tasks, reminders, notes, activity
    feeds, and data enrichment. All endpoints require authentication.
servers:
  - url: https://connie.ai/api
    description: Production
security:
  - cookieAuth: []
tags:
  - name: Contacts
    description: Contact management and lookup
  - name: Contact Notes
    description: Notes on contacts
  - name: Contact Tasks
    description: Tasks linked to contacts
  - name: Contact Reminders
    description: Reminders linked to contacts
  - name: Companies
    description: Company management
  - name: Company Notes
    description: Notes on companies
  - name: Company Tasks
    description: Tasks linked to companies
  - name: CRM Utilities
    description: CRM setup, enrichment triggers, and table IDs
  - name: Records
    description: Generic record management across CRM sources
  - name: Enrichment
    description: Data enrichment tools and jobs
  - name: Reminders
    description: Standalone and entity-linked reminders
  - name: Tasks
    description: Task comments and activity feeds
paths:
  /contacts/{id}/tasks:
    post:
      tags:
        - Contact Tasks
      summary: Create a contact task
      operationId: createContactTask
      parameters:
        - $ref: '#/components/parameters/entityId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskCreateBody'
      responses:
        '200':
          description: Task created
          content:
            application/json:
              schema:
                type: object
                properties:
                  task:
                    $ref: '#/components/schemas/Task'
components:
  parameters:
    entityId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    TaskCreateBody:
      type: object
      required:
        - workspaceId
        - title
      properties:
        workspaceId:
          type: string
          format: uuid
        title:
          type: string
          maxLength: 500
        description:
          type: string
          maxLength: 10000
        status:
          type: string
          enum:
            - not_started
            - in_progress
            - completed
            - on_hold
            - blocked
            - cancelled
          default: not_started
        priority:
          type: string
          enum:
            - low
            - medium
            - high
            - urgent
        dueDate:
          type: string
          format: date-time
        assignedTo:
          type: string
          format: uuid
        reviewerId:
          type: string
          format: uuid
        tags:
          type: array
          items:
            type: string
        companyId:
          type: string
          format: uuid
    Task:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type: string
        title:
          type: string
        description:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - not_started
            - in_progress
            - completed
            - on_hold
            - blocked
            - cancelled
        priority:
          type: string
          enum:
            - low
            - medium
            - high
            - urgent
          nullable: true
        due_date:
          type: string
          format: date-time
          nullable: true
        assigned_to:
          type: string
          nullable: true
        reviewer_id:
          type: string
          nullable: true
        tags:
          type: array
          items:
            type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        comment_count:
          type: integer
        recent_comments:
          type: array
          items:
            $ref: '#/components/schemas/TaskComment'
    TaskComment:
      type: object
      properties:
        id:
          type: string
          format: uuid
        task_id:
          type: string
        user_id:
          type: string
        content:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        user:
          type: object
          nullable: true
          properties:
            id:
              type: string
            name:
              type: string
            email:
              type: string
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

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