Syncs
Trigger sync(s)
Triggers an additional, one-off execution of specified sync(s) (for a given connection or all applicable connections if no connection is specified).
POST
/sync/trigger
Bearer*
curl --request POST \
--url https://api.nango.dev/sync/trigger \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"provider_config_key": "<provider_config_key>",
"syncs": []
}'
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
connection_id
string
The ID of the connection. If omitted, the syncs will be triggered for all relevant connections.
provider_config_keyrequired
string
The ID of the integration that you established within Nango.
syncsrequired
string[]
curl --request POST \
--url https://api.nango.dev/sync/trigger \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"provider_config_key": "<provider_config_key>",
"syncs": []
}'