Altan Sener
09/18/2025, 6:10 AMkapa.ai
09/18/2025, 6:10 AMcurl -u 'airbyte:password' -X POST "http://localhost:8000/api/v1/connections/sync" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{"connectionId":"<YOUR_CONNECTION_ID>"}' A successful call returns a job payload indicating the sync has started. [[Airflow tutorial](https://airbyte.com/tutorials/how-to-use-airflow-and-airbyte-together)]. You can also schedule this via cron to trigger on your own cadence. [[Forum 379](https://discuss.airbyte.io/t/379)]. Option 2 — Airbyte Cloud/Public API - Use the Jobs endpoint to start a sync: POST https://api.airbyte.com/v1/jobs Authorization: Bearer <YourApiKey> Content-Type: application/json { "connectionId": "YourConnectionID", "jobType": "sync" } Example (C# RestSharp): var client = new RestClient("https://api.airbyte.com/v1/jobs"); var request = new RestRequest(); request.AddHeader("accept", "application/json"); request.AddHeader("content-type", "application/json"); request.AddHeader("Authorization", "Bearer {YourApiKey}"); request.AddParameter("application/json", "{\"connectionId\":\"YourConnectionID\",\"jobType\":\"sync\"}", ParameterType.RequestBody); var response = client.ExecutePost(request); You can then poll job status using the returned jobId. [[API pipeline tutorial](https://airbyte.com/tutorials/create-and-monitor-a-data-pipeline-using-the-airbyte-api)]. Related notes - If you orchestrate with external tools, set the connection’s schedule to Manual so it won’t auto-run. [[Sync schedules](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-schedules); [Airflow tutorial](https://airbyte.com/tutorials/how-to-use-airflow-and-airbyte-together)]. - Webhooks (e.g., from Apify) can also call the same manual trigger endpoint. [[Apify Dataset](https://docs.airbyte.com/integrations/sources/apify-dataset)]. - In Prefect, you can also trigger via the Airbyte task (AirbyteConnectionTask) pointing to your connectionId. [[Prefect task](https://docs.airbyte.com/platform/operator-guides/using-prefect-task)].Altan Sener
09/18/2025, 6:11 AMkapa.ai
09/18/2025, 6:11 AMkapa.ai
09/18/2025, 6:12 AM