Skip to main content
POST

Authorizations

Authorization
string
header
required

Project API key (sk_api_…).

Body

application/json
name
string
required

Label for the source.

Required string length: 1 - 120
kind
enum<string>
required
Available options:
google_sheets
ref
string
required

Spreadsheet id from the sheet URL, optionally ! plus an A1 range or tab name ({id}!Leads, {id}!A:C). A bare id reads columns A–ZZ of the first tab. The sheet must be shared as anyone-with-the-link; it is read with the platform's own credential.

Minimum string length: 1
mapping
object

Column overrides. Whatever you leave out is auto-detected from the headers.

Response

The registered source.

sourceId
string<uuid>
required
organizationId
string<uuid>
required
projectId
string<uuid>
required
name
string
required
kind
enum<string>
required
Available options:
google_sheets
ref
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
version
integer
required

Sources cannot be edited, so this stays 1.

connectionId
string<uuid>
mapping
object

Column overrides. Whatever you leave out is auto-detected from the headers.