POST
/
sync
/
trigger
curl --request POST \
  --url https://api.nango.dev/sync/trigger \
  --header 'Content-Type: application/json' \
  --data '{
  "provider_config_key": "<string>",
  "connection_id": "<string>",
  "syncs": [
    "<string>"
  ],
  "full_resync": true
}'
This response has no body data.

Triggering one-off syncs

This is especially useful if you e.g. changed the metadata for the connection and now want to re-import data.

Body

application/json
provider_config_key
string
required

The ID of the integration that you established within Nango.

connection_id
string

The ID of the connection. If omitted, the syncs will be triggered for all relevant connections.

syncs
string[]
required

An array of sync names to trigger. If the array is empty, all syncs are triggered.

full_resync
boolean

Clear the records and reset the "lastSyncDate" associated with the sync before triggering a new sync job.