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

# Import Rows

> Import up to 1000 companies or contacts. Use `dry_run` to preview; each row reports its own result.



## OpenAPI

````yaml /openapi-v1.json post /api/v1/crm/import
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/crm/import:
    post:
      tags:
        - CRM
      summary: Import Rows
      description: >-
        Import up to 1000 companies or contacts. Use `dry_run` to preview; each
        row reports its own result.
      operationId: import_crm_records
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportIn'
        required: true
      responses:
        '200':
          description: OK
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    ImportIn:
      properties:
        entity:
          description: company or contact
          title: Entity
          type: string
        rows:
          description: Rows keyed by column name, at most 1000
          items:
            additionalProperties: true
            type: object
          title: Rows
          type: array
        mapping:
          additionalProperties:
            anyOf:
              - type: string
              - type: 'null'
          description: Column name -> target field (see suggest-mapping)
          title: Mapping
          type: object
        dry_run:
          default: false
          title: Dry Run
          type: boolean
        update_existing:
          default: false
          title: Update Existing
          type: boolean
      required:
        - entity
        - rows
        - mapping
      title: ImportIn
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

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