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



## OpenAPI

````yaml /openapi/crm.yaml post /records
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:
  /records:
    post:
      tags:
        - Records
      summary: Create a record
      operationId: createRecord
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - source_id
                - workspace_id
              properties:
                source_id:
                  type: string
                workspace_id:
                  type: string
                  format: uuid
                display_name:
                  type: string
                properties:
                  type: object
                relations:
                  type: object
                  properties:
                    company_id:
                      type: string
                      format: uuid
                      nullable: true
                    contact_id:
                      type: string
                      format: uuid
                      nullable: true
      responses:
        '201':
          description: Record created
components:
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

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