Lead Gen

Create a batch

Creates a Lead Gen V2 batch and reserves credits. Standard accounts have a five-credit minimum per batch. Submit 1–500 business rows.

post/api/lead-gen/batches

Request

  • Base URL: https://www.1clickwebsite.ai
  • URL: https://www.1clickwebsite.ai/api/lead-gen/batches
  • Auth: HTTP bearer

Request body

industrystring
templateKeystring

Template key returned by GET /api/lead-gen/templates.

template_keystring

Snake-case alias of templateKey.

primaryColorstring
primary_colorstring
backgroundTheme'light' | 'dark'
background_theme'light' | 'dark'
contactMode'form' | 'scheduler' | 'schedule' | 'booking' | 'survey'
contact_mode'form' | 'scheduler' | 'schedule' | 'booking' | 'survey'
logoSizePxinteger
logo_size_pxinteger

Response

Batch created

okboolean
batchIdstring uuid
creditsReservedinteger
creditsRemaininginteger

Changes

No recorded changes to this operation across all 1 revision of this API.