---
title: "Add Data Source"
method: POST
path: "/api/v1/master/brands/{brand_id}/data-sources"
tags: ["master-brands"]
---

# Add Data Source

`POST /api/v1/master/brands/{brand_id}/data-sources`

## Request

- Base URL: `https://teraads.co` (the document declares no server; this is the origin it was published from)
- URL: `https://teraads.co/api/v1/master/brands/{brand_id}/data-sources`
- Auth: none declared

Add a data source connection to a brand.

## Path parameters

- `brand_id` string, required

## Request body

- DataSourceCreate
  - `source_type` string, required
  - `source_name` string, required
  - `account_id` string, nullable
  - `config` object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/teraads/apis/tera-ads-api.md) · [All operations](https://skmtc.dev/teraads/apis/tera-ads-api/llms.txt) · [OpenAPI document](https://skmtc.dev/teraads/apis/tera-ads-api/revisions/fb2526b5cf3c?raw)
