---
title: "Start CSV import of site logs"
method: POST
path: "/site-logs/imports"
tags: ["SiteLogs"]
---

# Start CSV import of site logs

`POST /site-logs/imports`

## Request

- Base URL: `https://app.buildworkpro.com/api/v1`
- URL: `https://app.buildworkpro.com/api/v1/site-logs/imports`
- Auth: HTTP bearer

Enqueues a CSV import job. sourcePath must be an opaque upload path returned by POST /jobs/uploads. Required CSV columns: projectId, logDate (ISO), notes. Optional: id (triggers update-in-place when updateInPlace=true), title, workPerformed, issues. Review status is not importable — use the review endpoints, which require site_logs:review.

## Headers

- `Idempotency-Key` string, uuid

## Request body

- object
  - `sourcePath` string, required
  - `mapping` object, required
  - `updateInPlace` boolean

## Response `202`

Job enqueued

- object
  - `data` object, required
    - `job_id` string, required
    - `status_url` string, required
  - `meta` ResponseMeta, required
    - `request_id` string: Server-generated request identifier
    - `pagination` PaginationMeta
      - `cursor` string, nullable, required: Opaque cursor for the next page; null when no more results
      - `has_more` boolean, required: Whether more pages are available after this one
      - `count` integer, required: Items in this page

## Other responses

- `403`: Error
- `422`: Error

---

[API](https://skmtc.dev/buildworkpro/apis/buildworkpro-api.md) · [All operations](https://skmtc.dev/buildworkpro/apis/buildworkpro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/buildworkpro/apis/buildworkpro-api/revisions/441cf40012f7?raw)
