Skip to main content
POST
Create a table

Authorizations

X-API-Key
string
header
required

Body

application/json

Request body for creating a table: blank, from a lead search, a connected tool or a webhook.

kind says which, and names the part of the body that carries it. A blank table is the default, so a body with a name alone still makes one.

description
string | null

Blank tables only.

Required string length: 1 - 2000
folder_id
string<uuid> | null

Blank tables only. The folder to make it in, as when somebody makes a table while looking inside one. Leave it out for the top level of the Tables list.

kind
enum<string>
default:blank

blank makes an empty table from name, description and folder_id. lead_search runs the search in lead_search and lands its results in the new table. source imports from the connected tool in source. webhook makes the table a webhook URL that the app in webhook sends records to.

Available options:
blank,
lead_search,
source,
webhook
lead_search
CreateTableFromLeadSearchRequestSchema · object | null

With kind lead_search: the search, how many of its matches to add, what to find out about them, and the new table's name and folder.

name
string | null

Blank tables only. Table name, unique per organization. Leave it out for a blank table: the server names it "New table", or "New table (2)" and onward when that name is taken, checked against every table in the workspace.

Required string length: 1 - 255
source
CreateTableFromSourceRequestSchema · object | null

With kind source: the connected tool and record type to import, and the new table's name and folder.

webhook
CreateTableFromWebhookRequestSchema · object | null

With kind webhook: what sends the records, from the webhook sources list, and the new table's name and folder.

Response

Successful Response

The table a create made, with what the kind of create reports besides.

auto_run
boolean
required

Whether data changes request recompute runs by themselves. Column-definition changes always recompute.

created_at
string<date-time>
required
description
string | null
required
has_import_source
boolean
required

Whether a connected tool's records are imported into this table: the tool and its refresh are the table's source (GET /tables/{table_id}/source/).

Whether a lead search fills this table: its criteria are the table's lead search (GET /tables/{table_id}/lead-search/). False for a table typed by hand, loaded from a file or fed by a connected tool, and for one whose search reads a dataset no longer offered.

has_subdomain_feed
boolean
required

Whether a subdomain search made this table, so it reads that domain again to add new subdomains, by hand or on the table's refresh schedule (GET /tables/{table_id}/subdomain-feed/).

id
string<uuid>
required
keep_existing_results
boolean
required

Whether a manual run-all only fills the errored, empty and stale cells rather than recomputing every cell in scope.

name
string
required
row_count
integer
required

Exact row count, maintained atomically by row mutations.

updated_at
string<date-time>
required
ai_made
boolean
default:false

Whether the AI Assistant created this table through a granted action. The owner is still the person who approved it.

archived_at
string<date-time> | null

When somebody archived it; null for a table on the list. An archived table is left out of All, its folder, Favorites and Recent, and still found by search and opened as before.

deleted_at
string<date-time> | null

When the table was moved to trash; null for a live table.

deleted_by
string | null

Who moved it to Trash, by name (its folder's deleter when it went with one); null for a live table, and for one trashed before this was kept or by someone no longer known.

deleted_by_user_id
string | null

The user id of the person who moved it to Trash, beside deleted_by, so Trash draws them as every owner is drawn; null for a live one, one trashed before this was kept, and one an API key or the platform moved.

folder_id
string<uuid> | null

The folder it sits in; null for the top level.

folder_path
TableFolderCrumbSchema · object[]

The folders on the way to it, from the top level down; empty at the top level. What the list says under a search result and the table's own breadcrumb shows.

former_tags
string[]

The tags it carried when folders replaced tags, when it carried more than one and so waits for somebody to file it. Empty once it is filed.

has_webhook_endpoint
boolean
default:false

Whether an app sends records to this table through a webhook URL, live or revoked: its URL and what it received are the table's webhook (GET /tables/{table_id}/webhook-endpoints/).

is_favorite
boolean
default:false

Whether the CALLING USER starred this table. Per-user, so a teammate may see a different value. Always false for API-key callers, which have no user to have preferences.

last_view_address
string | null

The calling user's own last view of this table (the same as GET /tables/{table_id}/last-view/); null when they have none, or for an API key.

last_viewed_at
string<date-time> | null

When the calling user last opened this table; null means never.

lead_search
CreateTableFromLeadSearchResponseSchema · object | null

With kind lead_search: what the search landed, and what it cost to find.

lead_search_record_type
enum<string> | null

Which kind of lead search fills this table, when has_lead_search: only a search of the same kind can add its rows beside it (only: append). None otherwise.

Available options:
people,
companies,
signal_companies,
signal_people,
lookalikes,
local_businesses,
hiring_companies,
backlinks,
search_results,
post_authors,
startup_launches
monthly_run_budget
integer | null

The most, in whole credits, this table's runs may spend in one calendar month (UTC); null is no budget. What the month has spent of it is on GET /usage/by-table/{table_id}/by-column/ and on every run estimate.

owner_display_name
string | null

The owner's name, resolved for display. Null when there is no owner or the account has no name to show.

owner_user_id
string | null

Who created the table. Null for tables older than this field and for anything a background job created. NOT an access control: every member of the organization can open and edit every table.

sandbox_of_table_id
string<uuid> | null

The table this one is a sandbox copy of, made from an export's setup; null for every other table.

shared_as_template
boolean
default:false

Whether this table's shape is readable by anyone with the link, with no sign-in. Never its rows.

source
TableSourceSchema · object | null

With kind source: the connected tool the rows come from.

source_run
TableSourceRunSchema · object | null

With kind source: the first import, loading rows in the background. Follow it with the table's source runs.

table_type
enum<string>
default:other

What one row stands for: person, company or other. Other for a table made by hand, loaded from a file or fed by a connected tool, until somebody sets it; a lead search for people or companies sets it when it starts filling the table, and a person may change it after. A company table offers Find people at its companies.

Available options:
person,
company,
other
webhook_endpoint
WebhookEndpointCreatedSchema · object | null

With kind webhook: the table's webhook URL, shown in full this once. Paste it into the app; reveal shows it again.