Developer
Developer - Integrations

Sync Smartadvocate Cases

Trigger a SmartAdvocate sync for the current customer.

This endpoint is restricted to developer users only. Queues a Celery task that syncs cases, notes, case-contact links, insurance, firm contacts (with phone enrichment), appointments, and medical providers from SmartAdvocate (subject to the customer's SmartAdvocate settings toggles). Runs in the background.

By default a full sync is queued. Pass days_back to queue an incremental sync covering only cases modified in that window.

Returns:

  • message: Status message
  • task_id: Celery task ID for tracking progress
post/developer/smartadvocate/sync-cases

Query parameters

days_backinteger nullable

Response

Successful Response

messagestring required

Status message

task_idstring nullable

Celery task ID for tracking (if async)

run_idstring nullable

Sync run ID (set when resuming an existing run; new runs are created asynchronously — poll GET sync-runs)

Changes

No recorded changes to this endpoint across all 1 revision of this API.