For clean Markdown of any page, append .md to the page URL. For a complete documentation index, see https://documentation.apexverify.com/api-reference/apex-verify-api/batch/llms.txt. For full documentation content, see https://documentation.apexverify.com/api-reference/apex-verify-api/batch/llms-full.txt.

# Batch Upload

POST https://api.apexverify.com/v1/batch
Content-Type: multipart/form-data

Upload a batch file for verification. Accepts a TXT file containing line-return delimited content.

Reference: https://documentation.apexverify.com/api-reference/apex-verify-api/batch/upload-v-1-batch-post

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: openapi
  version: 1.0.0
paths:
  /v1/batch:
    post:
      operationId: upload-v-1-batch-post
      summary: Batch Upload
      description: >-
        Upload a batch file for verification. Accepts a TXT file containing
        line-return delimited content.
      tags:
        - subpackage_batch
      parameters:
        - name: X-API-Key
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Batch_uploadV1BatchPost_Response_200'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                  description: Batch file content to upload for verification.
                name:
                  type: string
                  description: Display name of the batch.
                description:
                  type:
                    - string
                    - 'null'
                  description: Optional description of the batch
                type:
                  $ref: '#/components/schemas/BatchVerificationTypeEnum'
                  description: Type of verification to apply to the batch.
                target_country:
                  $ref: '#/components/schemas/CountryCodeIso2Enum'
                  description: Country against which the batch should be processed.
                target_audience:
                  $ref: >-
                    #/components/schemas/V1BatchPostRequestBodyContentMultipartFormDataSchemaTargetAudience
                  description: >-
                    1 = Agency / Consultants<br>2 = Creators & Influencers<br>3
                    = Customer Support & Success<br>4 = Developers & Technical
                    Leads<br>5 = E-commerce & Retail Managers<br>6 = Enterprise
                    Decision-Makers<br>7 = Finance & Operations
                    Professionals<br>8 = Founders & C-Level Executives<br>9 =
                    Freelancers & Solopreneurs<br>10 = Government & Public
                    Sector Employees<br>11 = HR & Talent Acquisition<br>12 =
                    Healthcare Professionals<br>13 = Hobbyists &
                    Enthusiasts<br>14 = Investors & VCs<br>15 = Job
                    Seekers<br>16 = Legal Professionals<br>17 = Marketing &
                    Sales Professionals<br>18 = Non-Profit Leaders & Staff<br>19
                    = Parents & Families<br>20 = Product & Project
                    Managers<br>21 = Real Estate Professionals<br>22 =
                    Small-to-Medium Business (SMB) Owners<br>23 = Students &
                    Educators
                target_market_industry:
                  $ref: >-
                    #/components/schemas/V1BatchPostRequestBodyContentMultipartFormDataSchemaTargetMarketIndustry
                  description: >-
                    1 = Accommodation<br>2 = Accommodation and Food
                    Services<br>3 = Administrative and Support Services<br>4 =
                    Administrative and Support and Waste Management and
                    Remediation Services<br>5 = Agriculture, Forestry, Fishing
                    and Hunting<br>6 = Air Transportation<br>7 = Ambulatory
                    Health Care Services<br>8 = Amusement, Gambling, and
                    Recreation Industries<br>9 = Animal Production<br>10 =
                    Apparel Manufacturing<br>11 = Arts, Entertainment, and
                    Recreation<br>12 = Beverage and Tobacco Product
                    Manufacturing<br>13 = Broadcasting (except Internet)<br>14 =
                    Building Material and Garden Equipment and Supplies
                    Dealers<br>15 = Chemical Manufacturing<br>16 = Clothing and
                    Clothing Accessories Stores<br>17 = Computer and Electronic
                    Product Manufacturing<br>18 = Construction<br>19 =
                    Construction of Buildings<br>20 = Couriers and
                    Messengers<br>21 = Credit Intermediation and Related
                    Activities<br>22 = Crop Production<br>23 = Data Processing,
                    Hosting, and Related Services<br>24 = Education and Health
                    Services<br>25 = Educational Services<br>26 = Electrical
                    Equipment, Appliance, and Component Manufacturing<br>27 =
                    Electronics and Appliance Stores<br>28 = Fabricated Metal
                    Product Manufacturing<br>29 = Finance and Insurance<br>30 =
                    Financial Activities<br>31 = Fishing, Hunting and
                    Trapping<br>32 = Food Manufacturing<br>33 = Food Services
                    and Drinking Places<br>34 = Food and Beverage Stores<br>35 =
                    Forestry and Logging<br>36 = Funds, Trusts, and Other
                    Financial Vehicles<br>37 = Furniture and Home Furnishings
                    Stores<br>38 = Furniture and Related Product
                    Manufacturing<br>39 = Gasoline Stations<br>40 = General
                    Merchandise Stores<br>41 = Goods-Producing Industries<br>42
                    = Health Care and Social Assistance<br>43 = Health and
                    Personal Care Stores<br>44 = Heavy and Civil Engineering
                    Construction<br>45 = Hospitals<br>46 = Information<br>47 =
                    Insurance Carriers and Related Activities<br>48 = Internet
                    Publishing and Broadcasting<br>49 = Leather and Allied
                    Product Manufacturing<br>50 = Leisure and Hospitality<br>51
                    = Lessors of Nonfinancial Intangible Assets (except
                    Copyrighted Works)<br>52 = Machinery Manufacturing<br>53 =
                    Management of Companies and Enterprises<br>54 =
                    Manufacturing<br>55 = Merchant Wholesalers, Durable
                    Goods<br>56 = Merchant Wholesalers, Nondurable Goods<br>57 =
                    Mining (except Oil and Gas)<br>58 = Mining, Quarrying, and
                    Oil and Gas Extraction<br>59 = Miscellaneous
                    Manufacturing<br>60 = Miscellaneous Store Retailers<br>61 =
                    Monetary Authorities - Central Bank<br>62 = Motion Picture
                    and Sound Recording Industries<br>63 = Motor Vehicle and
                    Parts Dealers<br>64 = Museums, Historical Sites, and Similar
                    Institutions<br>65 = Natural Resources and Mining<br>66 =
                    Nonmetallic Mineral Product Manufacturing<br>67 = Nonstore
                    Retailers<br>68 = Nursing and Residential Care
                    Facilities<br>69 = Oil and Gas Extraction<br>70 = Other
                    Information Services<br>71 = Other Services (except Public
                    Administration)<br>72 = Paper Manufacturing<br>73 =
                    Performing Arts, Spectator Sports, and Related
                    Industries<br>74 = Personal and Laundry Services<br>75 =
                    Petroleum and Coal Products Manufacturing<br>76 = Pipeline
                    Transportation<br>77 = Plastics and Rubber Products
                    Manufacturing<br>78 = Postal Service<br>79 = Primary Metal
                    Manufacturing<br>80 = Printing and Related Support
                    Activities<br>81 = Private Households<br>82 = Professional
                    and Business Services<br>83 = Professional, Scientific, and
                    Technical Services<br>84 = Publishing Industries (except
                    Internet)<br>85 = Rail Transportation<br>86 = Real
                    Estate<br>87 = Real Estate and Rental and Leasing<br>88 =
                    Religious, Grantmaking, Civic, Professional, and Similar
                    Organizations<br>89 = Rental and Leasing Services<br>90 =
                    Repair and Maintenance<br>91 = Retail Trade<br>92 = Scenic
                    and Sightseeing Transportation<br>93 = Securities, Commodity
                    Contracts, and Other Financial Investments and Related
                    Activities<br>94 = Service-Providing Industries<br>95 =
                    Social Assistance<br>96 = Specialty Trade Contractors<br>97
                    = Sporting Goods, Hobby, Book, and Music Stores<br>98 =
                    Support Activities for Agriculture and Forestry<br>99 =
                    Support Activities for Mining<br>100 = Support Activities
                    for Transportation<br>101 = Telecommunications<br>102 =
                    Textile Mills<br>103 = Textile Product Mills<br>104 = Trade,
                    Transportation, and Utilities<br>105 = Transit and Ground
                    Passenger Transportation<br>106 = Transportation Equipment
                    Manufacturing<br>107 = Transportation and Warehousing<br>108
                    = Truck Transportation<br>109 = Utilities<br>110 =
                    Warehousing and Storage<br>111 = Waste Management and
                    Remediation Services<br>112 = Water Transportation<br>113 =
                    Wholesale Electronic Markets and Agents and Brokers<br>114 =
                    Wholesale Trade<br>115 = Wood Product Manufacturing
                target_objective:
                  $ref: >-
                    #/components/schemas/V1BatchPostRequestBodyContentMultipartFormDataSchemaTargetObjective
                  description: >-
                    1 = App Installs / Downloads<br>2 = Audience Building
                    (Email/Community)<br>3 = Brand Awareness & Recall<br>4 =
                    Customer Acquisition / Sales<br>5 = Free Trial or Freemium
                    Signups<br>6 = Lead Generation (Top/Mid-Funnel)<br>7 =
                    Loyalty & Referral Program Growth<br>8 = Market & Customer
                    Research<br>9 = New Market Entry<br>10 = Partner & Affiliate
                    Recruitment<br>11 = Product Engagement & Feature
                    Adoption<br>12 = Sales-Ready Leads (Bottom-Funnel)<br>13 =
                    Upsell / Cross-sell Revenue<br>14 = User Retention & Churn
                    Reduction<br>15 = Waitlist / Pre-order Signups<br>16 =
                    Website / App Traffic Acquisition
                remove_duplicate:
                  type: boolean
                  default: true
                  description: >-
                    Whether duplicate rows should be removed during batch
                    preparation.
                remove_wrong_email_format:
                  type: boolean
                  default: true
                  description: >-
                    Whether rows with invalid email formatting should be removed
                    during batch preparation.
                remove_wrong_phone_format:
                  type: boolean
                  default: true
                  description: >-
                    Whether rows with invalid phone formatting should be removed
                    during batch preparation.
                use_account_cache:
                  type: boolean
                  default: true
                  description: >-
                    You can choose to enable or disable your account cache. If
                    enabled, we may reuse your previous verification results to
                    speed up processing and improve efficiency. When your
                    account cache is used, you’ll receive a 50% credit refund
                    for those verifications. You can enable both the account
                    cache and the global cache, or disable both. Our system will
                    always check your account cache first, then the global
                    cache.
                max_account_cache_backoff:
                  type: integer
                  default: 30
                  description: >-
                    Set the maximum number of days our system should look back
                    to find matching verification results for this file. Min: 1
                    (only today) - Max: 180 days.
                use_global_cache:
                  type: boolean
                  default: true
                  description: >-
                    You can choose to enable or disable the global cache. When
                    the global cache is used, you’ll receive a 50% credit refund
                    for the related verifications. If enabled, your verification
                    results will be shared anonymously with other users, and
                    you'll also gain access to anonymized results from other
                    companies. This shared data is fully abstracted and
                    anonymized, no personal or identifiable information is
                    exposed. By enabling this option, you give us permission to
                    reuse previous verification results across different clients
                    to improve efficiency and reduce redundancy.
                max_global_cache_backoff:
                  type: integer
                  default: 30
                  description: >-
                    Set the maximum number of days our system should look back
                    to find matching verification results for this file. Min: 1
                    (only today) - Max: 180 days.
              required:
                - file
                - name
                - type
                - target_country
servers:
  - url: https://api.apexverify.com
components:
  schemas:
    BatchVerificationTypeEnum:
      type: string
      enum:
        - email
        - phone
      title: BatchVerificationTypeEnum
    CountryCodeIso2Enum:
      type: string
      enum:
        - AF
        - AL
        - DZ
        - AS
        - AD
        - AO
        - AI
        - AG
        - AR
        - AM
        - AW
        - AU
        - AT
        - AZ
        - BH
        - BD
        - BB
        - BY
        - BE
        - BZ
        - BJ
        - BM
        - BT
        - BO
        - BA
        - BW
        - BR
        - IO
        - BN
        - BG
        - BF
        - BI
        - KH
        - CM
        - CA
        - CV
        - KY
        - CF
        - TD
        - CL
        - CN
        - CO
        - KM
        - CG
        - CD
        - CK
        - CR
        - CI
        - HR
        - CU
        - CY
        - CZ
        - DK
        - DJ
        - DM
        - DO
        - TL
        - EC
        - EG
        - SV
        - GQ
        - ER
        - EE
        - ET
        - FK
        - FO
        - FJ
        - FI
        - FR
        - PF
        - GA
        - GE
        - DE
        - GH
        - GI
        - GR
        - GL
        - GD
        - GP
        - GT
        - GG
        - GN
        - GW
        - GY
        - HT
        - HN
        - HK
        - HU
        - IS
        - IN
        - ID
        - IR
        - IQ
        - IE
        - IL
        - IT
        - JM
        - JP
        - JE
        - JO
        - KZ
        - KE
        - KR
        - KW
        - KG
        - LA
        - LV
        - LB
        - LS
        - LR
        - LY
        - LI
        - LT
        - LU
        - MO
        - MK
        - MG
        - MW
        - MY
        - MV
        - ML
        - MT
        - MQ
        - MR
        - MU
        - YT
        - MX
        - MD
        - MC
        - MN
        - ME
        - MS
        - MA
        - MZ
        - MM
        - NA
        - NR
        - NP
        - NL
        - NC
        - NZ
        - NI
        - NE
        - NG
        - NU
        - NF
        - MP
        - 'NO'
        - OM
        - PK
        - PW
        - PS
        - PA
        - PG
        - PY
        - PE
        - PH
        - PL
        - PT
        - QA
        - RE
        - RO
        - RU
        - RW
        - KN
        - LC
        - PM
        - VC
        - BL
        - MF
        - WS
        - SM
        - ST
        - SA
        - SN
        - RS
        - SC
        - SL
        - SG
        - SK
        - SI
        - SB
        - SO
        - ZA
        - GS
        - SS
        - ES
        - LK
        - SD
        - SR
        - SZ
        - SE
        - CH
        - SY
        - TW
        - TJ
        - TZ
        - TH
        - TG
        - TO
        - TT
        - TN
        - TR
        - TM
        - TC
        - UG
        - UA
        - AE
        - GB
        - US
        - UM
        - UY
        - UZ
        - VU
        - VE
        - VN
        - VG
        - YE
        - ZM
        - ZW
        - CW
        - SX
      title: CountryCodeIso2Enum
    V1BatchPostRequestBodyContentMultipartFormDataSchemaTargetAudience:
      type: string
      enum:
        - '1'
        - '2'
        - '3'
        - '4'
        - '5'
        - '6'
        - '7'
        - '8'
        - '9'
        - '10'
        - '11'
        - '12'
        - '13'
        - '14'
        - '15'
        - '16'
        - '17'
        - '18'
        - '19'
        - '20'
        - '21'
        - '22'
        - '23'
      description: >-
        1 = Agency / Consultants<br>2 = Creators & Influencers<br>3 = Customer
        Support & Success<br>4 = Developers & Technical Leads<br>5 = E-commerce
        & Retail Managers<br>6 = Enterprise Decision-Makers<br>7 = Finance &
        Operations Professionals<br>8 = Founders & C-Level Executives<br>9 =
        Freelancers & Solopreneurs<br>10 = Government & Public Sector
        Employees<br>11 = HR & Talent Acquisition<br>12 = Healthcare
        Professionals<br>13 = Hobbyists & Enthusiasts<br>14 = Investors &
        VCs<br>15 = Job Seekers<br>16 = Legal Professionals<br>17 = Marketing &
        Sales Professionals<br>18 = Non-Profit Leaders & Staff<br>19 = Parents &
        Families<br>20 = Product & Project Managers<br>21 = Real Estate
        Professionals<br>22 = Small-to-Medium Business (SMB) Owners<br>23 =
        Students & Educators
      title: V1BatchPostRequestBodyContentMultipartFormDataSchemaTargetAudience
    V1BatchPostRequestBodyContentMultipartFormDataSchemaTargetMarketIndustry:
      type: string
      enum:
        - '1'
        - '2'
        - '3'
        - '4'
        - '5'
        - '6'
        - '7'
        - '8'
        - '9'
        - '10'
        - '11'
        - '12'
        - '13'
        - '14'
        - '15'
        - '16'
        - '17'
        - '18'
        - '19'
        - '20'
        - '21'
        - '22'
        - '23'
        - '24'
        - '25'
        - '26'
        - '27'
        - '28'
        - '29'
        - '30'
        - '31'
        - '32'
        - '33'
        - '34'
        - '35'
        - '36'
        - '37'
        - '38'
        - '39'
        - '40'
        - '41'
        - '42'
        - '43'
        - '44'
        - '45'
        - '46'
        - '47'
        - '48'
        - '49'
        - '50'
        - '51'
        - '52'
        - '53'
        - '54'
        - '55'
        - '56'
        - '57'
        - '58'
        - '59'
        - '60'
        - '61'
        - '62'
        - '63'
        - '64'
        - '65'
        - '66'
        - '67'
        - '68'
        - '69'
        - '70'
        - '71'
        - '72'
        - '73'
        - '74'
        - '75'
        - '76'
        - '77'
        - '78'
        - '79'
        - '80'
        - '81'
        - '82'
        - '83'
        - '84'
        - '85'
        - '86'
        - '87'
        - '88'
        - '89'
        - '90'
        - '91'
        - '92'
        - '93'
        - '94'
        - '95'
        - '96'
        - '97'
        - '98'
        - '99'
        - '100'
        - '101'
        - '102'
        - '103'
        - '104'
        - '105'
        - '106'
        - '107'
        - '108'
        - '109'
        - '110'
        - '111'
        - '112'
        - '113'
        - '114'
        - '115'
      description: >-
        1 = Accommodation<br>2 = Accommodation and Food Services<br>3 =
        Administrative and Support Services<br>4 = Administrative and Support
        and Waste Management and Remediation Services<br>5 = Agriculture,
        Forestry, Fishing and Hunting<br>6 = Air Transportation<br>7 =
        Ambulatory Health Care Services<br>8 = Amusement, Gambling, and
        Recreation Industries<br>9 = Animal Production<br>10 = Apparel
        Manufacturing<br>11 = Arts, Entertainment, and Recreation<br>12 =
        Beverage and Tobacco Product Manufacturing<br>13 = Broadcasting (except
        Internet)<br>14 = Building Material and Garden Equipment and Supplies
        Dealers<br>15 = Chemical Manufacturing<br>16 = Clothing and Clothing
        Accessories Stores<br>17 = Computer and Electronic Product
        Manufacturing<br>18 = Construction<br>19 = Construction of
        Buildings<br>20 = Couriers and Messengers<br>21 = Credit Intermediation
        and Related Activities<br>22 = Crop Production<br>23 = Data Processing,
        Hosting, and Related Services<br>24 = Education and Health
        Services<br>25 = Educational Services<br>26 = Electrical Equipment,
        Appliance, and Component Manufacturing<br>27 = Electronics and Appliance
        Stores<br>28 = Fabricated Metal Product Manufacturing<br>29 = Finance
        and Insurance<br>30 = Financial Activities<br>31 = Fishing, Hunting and
        Trapping<br>32 = Food Manufacturing<br>33 = Food Services and Drinking
        Places<br>34 = Food and Beverage Stores<br>35 = Forestry and
        Logging<br>36 = Funds, Trusts, and Other Financial Vehicles<br>37 =
        Furniture and Home Furnishings Stores<br>38 = Furniture and Related
        Product Manufacturing<br>39 = Gasoline Stations<br>40 = General
        Merchandise Stores<br>41 = Goods-Producing Industries<br>42 = Health
        Care and Social Assistance<br>43 = Health and Personal Care Stores<br>44
        = Heavy and Civil Engineering Construction<br>45 = Hospitals<br>46 =
        Information<br>47 = Insurance Carriers and Related Activities<br>48 =
        Internet Publishing and Broadcasting<br>49 = Leather and Allied Product
        Manufacturing<br>50 = Leisure and Hospitality<br>51 = Lessors of
        Nonfinancial Intangible Assets (except Copyrighted Works)<br>52 =
        Machinery Manufacturing<br>53 = Management of Companies and
        Enterprises<br>54 = Manufacturing<br>55 = Merchant Wholesalers, Durable
        Goods<br>56 = Merchant Wholesalers, Nondurable Goods<br>57 = Mining
        (except Oil and Gas)<br>58 = Mining, Quarrying, and Oil and Gas
        Extraction<br>59 = Miscellaneous Manufacturing<br>60 = Miscellaneous
        Store Retailers<br>61 = Monetary Authorities - Central Bank<br>62 =
        Motion Picture and Sound Recording Industries<br>63 = Motor Vehicle and
        Parts Dealers<br>64 = Museums, Historical Sites, and Similar
        Institutions<br>65 = Natural Resources and Mining<br>66 = Nonmetallic
        Mineral Product Manufacturing<br>67 = Nonstore Retailers<br>68 = Nursing
        and Residential Care Facilities<br>69 = Oil and Gas Extraction<br>70 =
        Other Information Services<br>71 = Other Services (except Public
        Administration)<br>72 = Paper Manufacturing<br>73 = Performing Arts,
        Spectator Sports, and Related Industries<br>74 = Personal and Laundry
        Services<br>75 = Petroleum and Coal Products Manufacturing<br>76 =
        Pipeline Transportation<br>77 = Plastics and Rubber Products
        Manufacturing<br>78 = Postal Service<br>79 = Primary Metal
        Manufacturing<br>80 = Printing and Related Support Activities<br>81 =
        Private Households<br>82 = Professional and Business Services<br>83 =
        Professional, Scientific, and Technical Services<br>84 = Publishing
        Industries (except Internet)<br>85 = Rail Transportation<br>86 = Real
        Estate<br>87 = Real Estate and Rental and Leasing<br>88 = Religious,
        Grantmaking, Civic, Professional, and Similar Organizations<br>89 =
        Rental and Leasing Services<br>90 = Repair and Maintenance<br>91 =
        Retail Trade<br>92 = Scenic and Sightseeing Transportation<br>93 =
        Securities, Commodity Contracts, and Other Financial Investments and
        Related Activities<br>94 = Service-Providing Industries<br>95 = Social
        Assistance<br>96 = Specialty Trade Contractors<br>97 = Sporting Goods,
        Hobby, Book, and Music Stores<br>98 = Support Activities for Agriculture
        and Forestry<br>99 = Support Activities for Mining<br>100 = Support
        Activities for Transportation<br>101 = Telecommunications<br>102 =
        Textile Mills<br>103 = Textile Product Mills<br>104 = Trade,
        Transportation, and Utilities<br>105 = Transit and Ground Passenger
        Transportation<br>106 = Transportation Equipment Manufacturing<br>107 =
        Transportation and Warehousing<br>108 = Truck Transportation<br>109 =
        Utilities<br>110 = Warehousing and Storage<br>111 = Waste Management and
        Remediation Services<br>112 = Water Transportation<br>113 = Wholesale
        Electronic Markets and Agents and Brokers<br>114 = Wholesale
        Trade<br>115 = Wood Product Manufacturing
      title: V1BatchPostRequestBodyContentMultipartFormDataSchemaTargetMarketIndustry
    V1BatchPostRequestBodyContentMultipartFormDataSchemaTargetObjective:
      type: string
      enum:
        - '1'
        - '2'
        - '3'
        - '4'
        - '5'
        - '6'
        - '7'
        - '8'
        - '9'
        - '10'
        - '11'
        - '12'
        - '13'
        - '14'
        - '15'
        - '16'
      description: >-
        1 = App Installs / Downloads<br>2 = Audience Building
        (Email/Community)<br>3 = Brand Awareness & Recall<br>4 = Customer
        Acquisition / Sales<br>5 = Free Trial or Freemium Signups<br>6 = Lead
        Generation (Top/Mid-Funnel)<br>7 = Loyalty & Referral Program
        Growth<br>8 = Market & Customer Research<br>9 = New Market Entry<br>10 =
        Partner & Affiliate Recruitment<br>11 = Product Engagement & Feature
        Adoption<br>12 = Sales-Ready Leads (Bottom-Funnel)<br>13 = Upsell /
        Cross-sell Revenue<br>14 = User Retention & Churn Reduction<br>15 =
        Waitlist / Pre-order Signups<br>16 = Website / App Traffic Acquisition
      title: V1BatchPostRequestBodyContentMultipartFormDataSchemaTargetObjective
    Batch_uploadV1BatchPost_Response_200:
      oneOf:
        - type: object
          properties:
            status:
              type: string
              enum:
                - ok
              description: 'Discriminator value: ok'
            batch_uuid:
              type: string
              format: uuid
            created_at:
              type: string
              format: date-time
          required:
            - status
            - batch_uuid
            - created_at
          description: ok variant
        - type: object
          properties:
            status:
              type: string
              enum:
                - parse_error
              description: 'Discriminator value: parse_error'
          required:
            - status
          description: parse_error variant
        - type: object
          properties:
            status:
              type: string
              enum:
                - error
              description: 'Discriminator value: error'
          required:
            - status
          description: error variant
      discriminator:
        propertyName: status
      title: Batch_uploadV1BatchPost_Response_200
    BadRequestResponse:
      type: object
      properties:
        message:
          type: string
          default: Bad Request
      title: BadRequestResponse
    UnauthorizedResponse:
      type: object
      properties:
        message:
          type: string
          default: Unauthorized
      title: UnauthorizedResponse
    ForbiddenResponse:
      type: object
      properties:
        message:
          type: string
          default: Forbidden
      title: ForbiddenResponse
    NotFoundResponse:
      type: object
      properties:
        message:
          type: string
          default: Not Found
      title: NotFoundResponse
    ValidationErrorLocItems:
      oneOf:
        - type: string
        - type: integer
      title: ValidationErrorLocItems
    ValidationErrorCtx:
      type: object
      properties: {}
      title: ValidationErrorCtx
    ValidationError:
      type: object
      properties:
        loc:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorLocItems'
        msg:
          type: string
        type:
          type: string
        input:
          description: Any type
        ctx:
          $ref: '#/components/schemas/ValidationErrorCtx'
      required:
        - loc
        - msg
        - type
      title: ValidationError
    HTTPValidationError:
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
      title: HTTPValidationError
    TooManyRequestsResponse:
      type: object
      properties:
        message:
          type: string
          default: Too Many Requests
      title: TooManyRequestsResponse
    InternalServerErrorResponse:
      type: object
      properties:
        message:
          type: string
          default: >-
            Internal Server Error. Please contact support at
            contact@apexverify.com...
      title: InternalServerErrorResponse
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

```

## SDK Code Examples

```python
import requests

url = "https://api.apexverify.com/v1/batch"

files = { "file": "open('string', 'rb')" }
payload = {
    "name": "My Island Customers List",
    "description": ,
    "type": "email",
    "target_country": "SG",
    "target_audience": ,
    "target_market_industry": ,
    "target_objective": ,
    "remove_duplicate": ,
    "remove_wrong_email_format": ,
    "remove_wrong_phone_format": ,
    "use_account_cache": ,
    "max_account_cache_backoff": ,
    "use_global_cache": ,
    "max_global_cache_backoff": 
}
headers = {"X-API-Key": "<apiKey>"}

response = requests.post(url, data=payload, files=files, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.apexverify.com/v1/batch';
const form = new FormData();
form.append('file', 'string');
form.append('name', 'My Island Customers List');
form.append('description', '');
form.append('type', 'email');
form.append('target_country', 'SG');
form.append('target_audience', '');
form.append('target_market_industry', '');
form.append('target_objective', '');
form.append('remove_duplicate', '');
form.append('remove_wrong_email_format', '');
form.append('remove_wrong_phone_format', '');
form.append('use_account_cache', '');
form.append('max_account_cache_backoff', '');
form.append('use_global_cache', '');
form.append('max_global_cache_backoff', '');

const options = {method: 'POST', headers: {'X-API-Key': '<apiKey>'}};

options.body = form;

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.apexverify.com/v1/batch"

	payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"string\"\r\nContent-Type: application/octet-stream\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"name\"\r\n\r\nMy Island Customers List\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"description\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"type\"\r\n\r\nemail\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_country\"\r\n\r\nSG\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_audience\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_market_industry\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_objective\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_duplicate\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_wrong_email_format\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_wrong_phone_format\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"use_account_cache\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"max_account_cache_backoff\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"use_global_cache\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"max_global_cache_backoff\"\r\n\r\n\r\n-----011000010111000001101001--\r\n")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-API-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.apexverify.com/v1/batch")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<apiKey>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"string\"\r\nContent-Type: application/octet-stream\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"name\"\r\n\r\nMy Island Customers List\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"description\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"type\"\r\n\r\nemail\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_country\"\r\n\r\nSG\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_audience\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_market_industry\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_objective\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_duplicate\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_wrong_email_format\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_wrong_phone_format\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"use_account_cache\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"max_account_cache_backoff\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"use_global_cache\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"max_global_cache_backoff\"\r\n\r\n\r\n-----011000010111000001101001--\r\n"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.apexverify.com/v1/batch")
  .header("X-API-Key", "<apiKey>")
  .body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"string\"\r\nContent-Type: application/octet-stream\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"name\"\r\n\r\nMy Island Customers List\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"description\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"type\"\r\n\r\nemail\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_country\"\r\n\r\nSG\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_audience\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_market_industry\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_objective\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_duplicate\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_wrong_email_format\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_wrong_phone_format\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"use_account_cache\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"max_account_cache_backoff\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"use_global_cache\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"max_global_cache_backoff\"\r\n\r\n\r\n-----011000010111000001101001--\r\n")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.apexverify.com/v1/batch', [
  'multipart' => [
    [
        'name' => 'file',
        'filename' => 'string',
        'contents' => null
    ],
    [
        'name' => 'name',
        'contents' => 'My Island Customers List'
    ],
    [
        'name' => 'type',
        'contents' => 'email'
    ],
    [
        'name' => 'target_country',
        'contents' => 'SG'
    ]
  ]
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.apexverify.com/v1/batch");
var request = new RestRequest(Method.POST);
request.AddHeader("X-API-Key", "<apiKey>");
request.AddParameter("undefined", "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"string\"\r\nContent-Type: application/octet-stream\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"name\"\r\n\r\nMy Island Customers List\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"description\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"type\"\r\n\r\nemail\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_country\"\r\n\r\nSG\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_audience\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_market_industry\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"target_objective\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_duplicate\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_wrong_email_format\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"remove_wrong_phone_format\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"use_account_cache\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"max_account_cache_backoff\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"use_global_cache\"\r\n\r\n\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"max_global_cache_backoff\"\r\n\r\n\r\n-----011000010111000001101001--\r\n", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-Key": "<apiKey>"]
let parameters = [
  [
    "name": "file",
    "fileName": "string"
  ],
  [
    "name": "name",
    "value": "My Island Customers List"
  ],
  [
    "name": "description",
    "value": 
  ],
  [
    "name": "type",
    "value": "email"
  ],
  [
    "name": "target_country",
    "value": "SG"
  ],
  [
    "name": "target_audience",
    "value": 
  ],
  [
    "name": "target_market_industry",
    "value": 
  ],
  [
    "name": "target_objective",
    "value": 
  ],
  [
    "name": "remove_duplicate",
    "value": 
  ],
  [
    "name": "remove_wrong_email_format",
    "value": 
  ],
  [
    "name": "remove_wrong_phone_format",
    "value": 
  ],
  [
    "name": "use_account_cache",
    "value": 
  ],
  [
    "name": "max_account_cache_backoff",
    "value": 
  ],
  [
    "name": "use_global_cache",
    "value": 
  ],
  [
    "name": "max_global_cache_backoff",
    "value": 
  ]
]

let boundary = "---011000010111000001101001"

var body = ""
var error: NSError? = nil
for param in parameters {
  let paramName = param["name"]!
  body += "--\(boundary)\r\n"
  body += "Content-Disposition:form-data; name=\"\(paramName)\""
  if let filename = param["fileName"] {
    let contentType = param["content-type"]!
    let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)
    if (error != nil) {
      print(error as Any)
    }
    body += "; filename=\"\(filename)\"\r\n"
    body += "Content-Type: \(contentType)\r\n\r\n"
    body += fileContent
  } else if let paramValue = param["value"] {
    body += "\r\n\r\n\(paramValue)"
  }
}

let request = NSMutableURLRequest(url: NSURL(string: "https://api.apexverify.com/v1/batch")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```