See Stacksync in action with a solution architect. Book a demo ↗
SyncsTriggers

Sync triggers

Pause or resume a sync trigger

POST
/v1/workspaces/{workspace_id}/bases/{base_id}/triggers/{trigger_id}/update-status

Pause a trigger so it stops running, or resume it. A paused trigger keeps its definition.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace the resources belong to

base_id*string

The sync (a sync is called a base in these paths)

Formatuuid
trigger_id*string

The trigger

Query Parameters

region*string

Data region of the sync

Value in"besg""usnv"

Request Body

Pause or resume

application/json
  1. body

Pause or resume the trigger

action*string

pause stops the trigger from running, unpause resumes it

Value in"pause""unpause"

Response Body

The trigger paused or resumed

application/json
  1. response

What was done

msg*string

What was done

Pause or resume a sync trigger
curl -X POST 'https://api.stacksync.com/v1/workspaces/0/bases/497f6eca-6276-4993-bfeb-53cbbbba6f08/triggers/string/update-status?region=besg' \  -H 'Content-Type: application/json' \  -d '{  "action": "pause"}'
{  "msg": "Trigger status updated successfully"}