Skip to content
TriedDocs
Integrations

List CRM sync jobs

List the workspace's 50 most recent CRM sync jobs, newest first.

GEThttps://api.tried.com.au/list-crm-sync-jobs

Returns the 50 most recent sync jobs across all CRMs, newest first. Each item has the same shape as Get CRM sync job.

Request#

This endpoint takes no path, query or body parameters.

Example request#

curl https://api.tried.com.au/list-crm-sync-jobs \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/list-crm-sync-jobs", {
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const jobs = await res.json();
import os, requests

res = requests.get(
    "https://api.tried.com.au/list-crm-sync-jobs",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
jobs = res.json()

Response#

200 OK

[
  {
    "job_id": "crm_sync_9a4c1e7f3b2d8065c9a4e1f3",
    "provider": "zoho",
    "kind": "full",
    "status": "running",
    "stats": { "contact_ids": null },
    "error": null,
    "mock": true,
    "created_timestamp": 1792398000000,
    "completed_timestamp": null
  },
  {
    "job_id": "crm_sync_5b2e8f1a7c4d9036e1b5a8f2",
    "provider": "hubspot",
    "kind": "full",
    "status": "complete",
    "stats": { "contacts": 118, "notes": 96, "failed": 0, "errors": [] },
    "error": null,
    "mock": false,
    "created_timestamp": 1792397000000,
    "completed_timestamp": 1792397042000
  }
]

See Get CRM sync job for the field table.

Errors#

Status When
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the admin scope.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.