Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.

Path Parameters

id
string
required

The contact-list id the sync source feeds into.

Body

application/json
sourceKind
enum<string>
required
Available options:
google_sheets,
native_graphql
columnMapping
object
required

Canonical field → source field; columnMapping.phone is required.

connectionId
string

The integrations connection id (where the provider needs one).

sourceConfig
object

Source-specific config. For google_sheets: spreadsheetId and sheet (tab name or gid). For : the bulk read plan (objectType and any filter/query the connector accepts).

syncMode
enum<string>
default:snapshot
Available options:
snapshot,
incremental
schedule
object

Sync cadence. Key: intervalMinutes (how often the source polls).

autoEnroll
boolean
default:false
targetCampaignId
string

Required when autoEnroll is true; must dial this list.

Available options:
pewc,
express,
ebr,
none
enabled
boolean
default:true

Response

The created sync source.

success
boolean
required
data
object
required

A configured SYNC SOURCE bound to a contact list (the poll complement to outbound triggers): a connected integration that can list records → scheduled incremental sync → the list. A synced list with autoEnroll false is a reusable segment a campaign dials on launch; autoEnroll true also enrolls newly-synced valid contacts into a running targetCampaignId. The sync cursor is internal and not surfaced.

message
string
errors
object[]