Skip to main content
POST
/
v1
/
table
/
{table_uuid}
/
add-exporter
curl --request POST \
  --url https://api.databar.ai/v1/table/{table_uuid}/add-exporter \
  --header 'Content-Type: application/json' \
  --header 'x-apikey: <x-apikey>' \
  --data '
{
  "exporter": 1,
  "mapping": {
    "email": {
      "value": "42902e11-fa09-4abd-a627-77c07fc40cde",
      "type": "mapping"
    }
  }
}
'
{
  "id": 42,
  "exporter_name": "Google Sheets Exporter"
}

Headers

x-apikey
string
required

API Key for authentication

Path Parameters

table_uuid
string<uuid>
required

The UUID of the table

Body

application/json
exporter
integer
required

The exporter ID to add (from GET /v1/exporters).

mapping
Mapping · object
required

Parameter mapping. Keys are exporter parameter slugs.

launch_strategy
enum<string>
default:run_on_click

When to run: 'run_on_click' (manual only) or 'run_on_update' (auto-trigger when mapped input columns change).

Available options:
run_on_click,
run_on_update
authorization
integer | null

ID of the API key / OAuth connection to use for this exporter. Required for exporters that need user authorization. If omitted, the system auto-selects the first available key.

custom_body_template
string | null

Custom JSON body template. Column values are referenced via {column_internal_name} placeholders. When provided, 'mapping' is ignored.

Response

Exporter added successfully

id
integer
required
exporter_name
string
required