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

# Post v1 import



## OpenAPI

````yaml openapi/audience-dataimport-v1.json POST /v1/import
openapi: 3.0.4
info:
  title: Audience.DataImport
  version: v1
servers:
  - url: https://{host}/audience-dataimport
    description: Your Lobyco environment
    variables:
      host:
        default: your-environment.lobyco.net
        description: >-
          The API host for your Lobyco environment. Replace it with the host you
          were given — this placeholder does not resolve.
security:
  - Bearer: []
paths:
  /v1/import:
    post:
      tags:
        - Import
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportAudienceRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ImportAudienceRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ImportAudienceRequest'
      responses:
        '202':
          description: Accepted
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
components:
  schemas:
    ImportAudienceRequest:
      type: object
      properties:
        executionId:
          type: string
          nullable: true
        audienceId:
          type: string
          nullable: true
        audienceName:
          type: string
          nullable: true
        dataURIs:
          type: array
          items:
            type: string
            format: uri
          nullable: true
        authorName:
          type: string
          nullable: true
        source:
          type: string
          nullable: true
        destinations:
          type: array
          items:
            type: string
          nullable: true
        description:
          type: string
          nullable: true
        state:
          $ref: '#/components/schemas/AudienceState'
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
    AudienceState:
      enum:
        - Draft
        - Published
        - Archived
      type: string
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        JWT Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      name: Authorization
      in: header

````