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

# Create Enrichment Job

> Upload enrichment records and enqueue a job for processing.

**Supported fields**

- `EMAIL`
- `PERSONAL_EMAIL`
- `BUSINESS_EMAIL`
- `FIRST_NAME`
- `LAST_NAME`
- `PHONE`
- `PERSONAL_ADDRESS`
- `PERSONAL_CITY`
- `PERSONAL_STATE`
- `PERSONAL_ZIP`
- `COMPANY_NAME`
- `COMPANY_DOMAIN`
- `COMPANY_INDUSTRY`
- `SHA256_PERSONAL_EMAIL`
- `LINKEDIN_URL`
- `UP_ID`
- `JOB_TITLE`




## OpenAPI

````yaml /openapi.yaml post /enrichments
openapi: 3.0.0
info:
  title: AudienceLab API
  version: 1.0.0
  description: API endpoints for AudienceLab
servers:
  - url: https://api.audiencelab.io
    description: Production API
security:
  - ApiKeyAuth: []
tags:
  - name: Audience
  - name: Pixel
  - name: Enrichment
paths:
  /enrichments:
    post:
      tags:
        - Enrichment
      summary: Create Enrichment Job
      description: |
        Upload enrichment records and enqueue a job for processing.

        **Supported fields**

        - `EMAIL`
        - `PERSONAL_EMAIL`
        - `BUSINESS_EMAIL`
        - `FIRST_NAME`
        - `LAST_NAME`
        - `PHONE`
        - `PERSONAL_ADDRESS`
        - `PERSONAL_CITY`
        - `PERSONAL_STATE`
        - `PERSONAL_ZIP`
        - `COMPANY_NAME`
        - `COMPANY_DOMAIN`
        - `COMPANY_INDUSTRY`
        - `SHA256_PERSONAL_EMAIL`
        - `LINKEDIN_URL`
        - `UP_ID`
        - `JOB_TITLE`
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnrichCreateRequest'
            example:
              name: Sample Upload
              operator: OR
              columns:
                - EMAIL
                - FIRST_NAME
                - LAST_NAME
                - PHONE
              records:
                - first_name: Harper
                  last_name: Nguyen
                  phone: '+12145550123'
                  email: harper.nguyen@example.com
                - first_name: Liam
                  last_name: Carter
                  phone: '+18305550987'
                  email: liam.carter@example.com
      responses:
        '202':
          description: Enrichment job accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnrichCreateResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized - missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: cURL
          label: Create enrichment job
          source: |
            curl -X POST https://api.example.com/enrichments \
              -H "Content-Type: application/json" \
              -H "X-API-Key: YOUR_API_KEY" \
              -d '{
                    "name": "Sample Upload",
                    "operator": "OR",
                    "columns": ["EMAIL", "FIRST_NAME", "LAST_NAME", "PHONE"],
                    "records": [
                      {
                        "first_name": "Harper",
                        "last_name": "Nguyen",
                        "phone": "+12145550123",
                        "email": "harper.nguyen@example.com"
                      },
                      {
                        "first_name": "Liam",
                        "last_name": "Carter",
                        "phone": "+18305550987",
                        "email": "liam.carter@example.com"
                      }
                    ]
                  }'
components:
  schemas:
    EnrichCreateRequest:
      type: object
      properties:
        name:
          type: string
          example: Prospect Upload
        operator:
          type: string
          enum:
            - AND
            - OR
          default: OR
          example: OR
        columns:
          type: array
          items:
            type: string
          description: |
            Optional explicit list of fields included in each record.

            **Accepted values**

            - `EMAIL`
            - `PERSONAL_EMAIL`
            - `BUSINESS_EMAIL`
            - `FIRST_NAME`
            - `LAST_NAME`
            - `PHONE`
            - `PERSONAL_ADDRESS`
            - `PERSONAL_CITY`
            - `PERSONAL_STATE`
            - `PERSONAL_ZIP`
            - `COMPANY_NAME`
            - `COMPANY_DOMAIN`
            - `COMPANY_INDUSTRY`
            - `SHA256_PERSONAL_EMAIL`
            - `LINKEDIN_URL`
            - `UP_ID`
            - `JOB_TITLE`
          example:
            - EMAIL
            - FIRST_NAME
            - LAST_NAME
            - PHONE
        records:
          type: array
          items:
            type: object
            additionalProperties:
              type: string
          example:
            - first_name: Ava
              last_name: Stone
              phone: '+12145550123'
              email: ava.stone@example.com
            - first_name: Noah
              last_name: Reed
              phone: '+18305559876'
              email: noah.reed@example.com
      required:
        - name
        - records
    EnrichCreateResponse:
      type: object
      properties:
        jobId:
          type: string
          example: 399e88c3-3263-4d9a-826c-437ef57f7b6c
        status:
          type: string
          example: IN_QUEUE
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          example: error message
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key

````