Skip to main content
POST
Activates the resources you list and starts a sync right away (unless the connector is paused). This is the step after Discover Resources. Each resource can route its data to its own collection and carry its own metadata, additional_metadata, custom_instructions, and acl.

Calling configure again

You can call configure again at any time to add resources or change their settings:
  • Resources you leave out of the list are not changed or removed. Use Delete Connector Resource to stop syncing one.
  • For each resource you list, name, resource_type, database, and collection are set to exactly what you send. Always send name and resource_type, because an omitted value clears the stored one. Send collection again if the resource has one.
  • metadata and additional_metadata are merged into what is stored. New keys are added and existing keys are overwritten; keys cannot be removed this way.
  • The resource’s sync position is kept, so it does not sync again from the beginning.
  • custom_instructions and acl are kept when you omit them. To clear instructions, send "" with Update Connector Resource; configure cannot clear them.
To change only a resource’s instructions or ACL, use Update Connector Resource instead. It changes only the fields you send.

Errors

  • 400: resources is empty, or a field is invalid, for example custom_instructions over 4,000 characters.
  • 404: no connector with this id in your organization.
  • 422: HydraDB tested a resource and the provider refused access. The message says which one and why. Nothing is saved.

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer <your_api_key>.

Path Parameters

id
string
required

Connector ID

Example:

"HydraDoc1234"

Body

application/json

Resource selection and sync options

resources
HandlerResourceMapping · object[]
required

Resources to activate for this connector, each one entry from the Discover endpoint.

Example:
full_visibility_roles
string[]

HubSpot only. HubSpot roles whose members can see every record; requires the all resource. Omit to keep the setting, send [] to clear it. Unknown roles fail the request.

lookback_days
integer

Days of history the first sync fetches. Default 30. Above 30, some providers fetch older history in background chunks and the response reports backfill: true.

Example:

30

table_configs
HandlerTableConfigEntry · object[]

Per-table replication settings for table-syncing connectors (currently BigQuery), applied from the first sync. Other connectors return 400.

Response

OK

connector_id
string
required

Connector this resource belongs to.

Example:

"conn_abc123"

backfill
boolean

true when older history beyond the first sync will be fetched in background chunks (see lookback_days).

Example:

true

configured
integer

Number of resources activated by this request.

Example:

1

first_sync_at
string

When the connector's next scheduled sync runs (RFC 3339). message says whether a sync already started now.

message
string

Human-readable result message.

Example:

"Success"

meta
HandlerConfigureResponseMeta · object
unverified
string[]

Resources that were saved without being checked, because the provider was rate limiting, slow, or unreachable. Their first sync shows whether they can be read.

warnings
string[]

Resources that were saved but returned no records when probed. They stay configured and will index nothing until they have data.