Skip to main content
POST
/
consumers
/
{consumer_id}
/
syncs
/
{syncid}
/
flows
/
{flowid}
/
enable
Enable a flow for a specific consumer
curl --request POST \
  --url https://api.chift.eu/consumers/{consumer_id}/syncs/{syncid}/flows/{flowid}/enable \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "integrationids": [],
  "triggerid": "trigger-1",
  "cronschedule": "<string>",
  "data": {}
}
'
{
  "message": "Impossible to enable the flow as the flow requires configuration fields",
  "status": "error"
}

Documentation Index

Fetch the complete documentation index at: https://docs.chift.eu/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

syncid
string<uuid>
required
flowid
string<uuid>
required
consumer_id
string<uuid>
required

Body

application/json
integrationids
string[]

List of integrationids of the connections that will be used to enable the flow

triggerid
string | null
default:trigger-1
cronschedule
string | null
data
Data · object

Object containing the configuration of the flow for the consumer

Response

Successful Response