---
title: "POST /connectors/{connectorName}/create-source"
method: POST
path: "/connectors/{connectorName}/create-source"
tags: ["connectors"]
---

# POST /connectors/{connectorName}/create-source

`POST /connectors/{connectorName}/create-source`

## Request

- Base URL: `https://headless.dataddo.com/customer-api/v1`
- URL: `https://headless.dataddo.com/customer-api/v1/connectors/{connectorName}/create-source`
- Auth: none declared

Creates the empty source with desired structure.

## Path parameters

- `connectorName` string, required

## Response `200`

Description of the new source

- CreateSourceResource
  - `id` string
  - `future_id` string
  - `legacy_id` string
  - `type` string
  - `label` string
  - `customer_id` string
  - `created_at` integer
  - `execution` ActionEnqueuedResource
    - `execution_id` string
    - `action_id` string
    - `action_type` 'extraction' | 'write' | 'webhook' | 'data_fetch' | 'unknown'
    - `connector` string
    - `started_at` integer: UNIX timestamp in seconds.
    - `executionId` string
    - `actionId` string
    - `actionType` 'extraction' | 'write' | 'webhook' | 'data_fetch' | 'unknown'
    - `startedAt` integer: UNIX timestamp in seconds.

---

[API](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api.md) · [All operations](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/revisions/dcfa2345bd10?raw)
