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

# Post apiv2organizations websites datasets rowsimport



## OpenAPI

````yaml https://api.osiro.com/doc post /api/v2/organizations/{orgId}/websites/{websiteId}/datasets/{datasetId}/rows/import
openapi: 3.0.0
info:
  title: osiro API
  version: 2.0.0
servers: []
security: []
tags:
  - name: Funnel
    description: Public funnel rendering, submission, Lead verification, and analytics.
  - name: Booking
    description: A lead's cancel and reschedule of their booking, via the manage link.
  - name: Training
    description: Org-scoped sales-training catalogs, sessions, and call records.
  - name: Attribution
    description: Cross-domain PostHog identity handoff for the marketing site.
  - name: Billing
    description: Org-scoped checkouts, plans, trials and the Stripe billing portal.
  - name: Leads
    description: Org-scoped lead reads and actions.
  - name: Ad copy
    description: Org-scoped ad guidelines and Meta ad copy generation.
paths:
  /api/v2/organizations/{orgId}/websites/{websiteId}/datasets/{datasetId}/rows/import:
    post:
      tags:
        - Websites
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: orgId
          in: path
        - schema:
            type: string
            format: uuid
          required: true
          name: websiteId
          in: path
        - schema:
            type: string
            format: uuid
          required: true
          name: datasetId
          in: path
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportDatasetRowsInput'
      responses:
        '200':
          description: 'What the import wrote: Rows upserted by Slug, lines skipped and why'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetRowImportReport'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '413':
          description: Payload too large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    ImportDatasetRowsInput:
      type: object
      properties:
        csv:
          type: string
          minLength: 1
      required:
        - csv
    DatasetRowImportReport:
      type: object
      properties:
        created:
          type: integer
          minimum: 0
        updated:
          type: integer
          minimum: 0
        unchanged:
          type: integer
          minimum: 0
        skipped:
          type: array
          items:
            oneOf:
              - type: object
                properties:
                  line:
                    type: integer
                  reason:
                    type: string
                    enum:
                      - missing_name
                required:
                  - line
                  - reason
              - type: object
                properties:
                  line:
                    type: integer
                  reason:
                    type: string
                    enum:
                      - invalid_slug
                      - duplicate_slug
                  slug:
                    type: string
                required:
                  - line
                  - reason
                  - slug
              - type: object
                properties:
                  line:
                    type: integer
                  reason:
                    type: string
                    enum:
                      - invalid_value
                  slug:
                    type: string
                  column:
                    type: string
                required:
                  - line
                  - reason
                  - slug
                  - column
        kept_draft:
          type: array
          items:
            type: object
            properties:
              line:
                type: integer
              slug:
                type: string
              fields:
                type: array
                items:
                  type: string
            required:
              - line
              - slug
              - fields
        ignored_columns:
          type: array
          items:
            type: string
      required:
        - created
        - updated
        - unchanged
        - skipped
        - kept_draft
        - ignored_columns
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
      required:
        - error

````

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