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

# DataLane API

> Enrich target accounts and export contact data.

The DataLane API turns a list of account IDs into an enriched campaign and a downloadable CSV of accounts and contacts. Use it to drive enrichment from your own systems, such as CRM jobs, internal tooling, or scheduled pipelines. Campaigns created in the DataLane app are readable through the API, but they are enriched and exported in the app.

<CardGroup cols={2}>
  <Card title="Run your first enrichment" icon="rocket" href="/quickstart">
    Create, enrich, monitor, and export a campaign in Python.
  </Card>

  <Card title="Explore the API" icon="code" href="/api-reference/overview">
    Schemas, responses, and an interactive playground.
  </Card>
</CardGroup>

## The workflow

1. [Create a campaign](/api-reference/campaigns/create-a-campaign) from account UUIDs.
2. [Enrich it](/api-reference/campaigns/enrich-a-campaign). Credits are charged at this step, one per eligible account.
3. [Poll](/api-reference/campaigns/get-a-campaign) until the status is `enriched`.
4. [Export](/api-reference/campaigns/export-campaign-results-as-csv) the results as a CSV download.

Every endpoint is a `POST` under `https://api.datalane.com`, authenticated with a bearer [API key](/guides/authentication). Responses share one envelope: the resource under `data` on success, or a machine-readable code under `error`. [Errors and retries](/guides/errors) lists every code and which ones to retry.
