POST
/
syncs
/
{sync_id}
/
trigger
curl --request POST \
  --url https://app.getcensus.com/api/v1/syncs/{sync_id}/trigger \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "sync_run_id": 1234567890
  },
  "status": "success"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sync_id
integer
required

ID of the sync

Query Parameters

force_full_sync
boolean
default: false

Determines if the sync should be run as a Full Sync. Note that some sync configurations such as Append do not support full syncs.

Response

200 - application/json
data
object
required
status
enum<string>
required

The outcome of the fetch request

Available options:
success