List Workbooks
GET
/api/workbooks/
const url = 'http://localhost:8000/api/workbooks/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8000/api/workbooks/ \ --header 'Authorization: Bearer <token>'List workbooks in the caller’s active workspace, with live lead counts.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
WorkbookListResponse
List of workbooks.
object
total
required
Total
integer
workbooks
required
Workbooks
Array<object>
WorkbookResponseWorkbook response — returned from API.
object
columns_config
required
Columns Config
Array<object>
object
key
additional properties
any
completed_rows
required
Completed Rows
integer
description
required
Description
string
id
required
Id
string
name
required
Name
string
source_type
Source Type
string
status
required
Status
string
sync_to_leads
Sync To Leads
boolean
total_rows
required
Total Rows
integer
Example
{ "workbooks": [ { "source_type": "empty", "sync_to_leads": true } ]}Validation 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" } ]}