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": "<string>",
  "cronschedule": "<string>",
  "data": {}
}'
"<any>"

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
object | null

Object containing the configuration of the flow for the consumer

Response

Successful Response

The response is of type any.