---
title: "Creates a Sync run"
method: POST
path: "/api/2026-10-01/resources/integrations/sync_runs"
tags: ["Integrations > SyncRun"]
---

# Creates a Sync run

`POST /api/2026-10-01/resources/integrations/sync_runs`

## Request

- Base URL: `https://api.factorialhr.com`
- URL: `https://api.factorialhr.com/api/2026-10-01/resources/integrations/sync_runs`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.factorialhr.com/oauth/authorize`
    - Token URL: `https://id.factorialhr.com/api/oauth/token`
  - API key in header `x-api-key`

Creates a Sync run

## Request body

- object
  - `company_id` string: Identifier of the company the sync run belongs to. Optional: defaults to the company the credential is scoped to.
  - `marketplace_integration_uuid` string: UUID of the marketplace integration to create a sync run for. Optional: defaults to the integration the OAuth credential belongs to. Sending a different one is rejected.

## Response `201`

CREATED

- IntegrationsSyncRun
  - `id` string, required: Identifier of the sync run
  - `status` 'succeeded' | 'running' | 'errored' | 'succededwitherrors', required: Status of the sync run
  - `started_at` string, required: Timestamp when the sync run started
  - `finished_at` string: Timestamp when the sync run finished
  - `context` object, required: Scope of this sync run. Holds `from` and `to`, the inclusive ISO-8601 dates of the period it covers; either key is absent when unknown, and the object is empty when the run is not date-scoped.
    - `from` string
    - `to` string
  - `company_id` string, required: Identifier of the company
  - `integration_uuid` string, required: UUID of the marketplace integration

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/integrations/sync_runs/post.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
