Skip to main content
POST
/
sync
/
trigger
cURL
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>"
  ]
}'
This response does not have an example.

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.

syncs
string[]
required

A list of sync names that you wish to trigger.

connection_id
string

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

Response

Successfully triggered the sync

I