Add Source Column
POST
/api/workbooks/{workbook_id}/sources
const url = 'http://localhost:8000/api/workbooks/example/sources';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"channels":{},"companies":["example"],"from_column":"","geo":"","icp":{},"kind":"icp","max_per_company":10,"max_searches":100,"name":"Source","seniority":"","source":{},"target_rows":0,"titles":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8000/api/workbooks/example/sources \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "channels": {}, "companies": [ "example" ], "from_column": "", "geo": "", "icp": {}, "kind": "icp", "max_per_company": 10, "max_searches": 100, "name": "Source", "seniority": "", "source": {}, "target_rows": 0, "titles": [ "example" ] }'Add a source column (ICP-driven, or people_search) to a workbook.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”workbook_id
required
Workbook Id
string
Header Parameters
Section titled “Header Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
SourceColumnRequest
object
channels
Channels
object
key
additional properties
any
companies
Companies
Array<string>
from_column
From Column
string
geo
Geo
string
icp
Icp
object
key
additional properties
any
kind
Kind
string
max_per_company
Max Per Company
integer
max_searches
Max Searches
integer
name
Name
string
seniority
Seniority
string
source
Source
object
key
additional properties
any
target_rows
Target Rows
integer
titles
Titles
Array<string>
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}