/v1/workspaces/{workspace_id}/integrations/github/sync/{sync_id}AuthPoll a sync run's status.
Path parameters
workspace_id*string · uuidId of the workspace.
sync_id*stringId of the sync.
Response · 200
status*objectWhere the sync is: `running`, then `completed` or `failed`.
started_at*string · date-timeWhen the sync started.
ended_at*string · date-timeWhen the sync finished; null while running.
summary*objectCounts of what the sync changed; null while running.
error*stringWhy the sync failed; null unless `failed`.
Example
Request
GET https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/integrations/github/sync/{sync_id}
Authorization: Bearer YOUR_TOKENResponse
{
"status": {},
"started_at": "2026-01-01T00:00:00.000Z",
"ended_at": "2026-01-01T00:00:00.000Z",
"summary": {},
"error": "string"
}