cURL
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" }
Route that can be used to enable a flow for a specific consumer
This access token needs to be included in each of your request to the Chift API.
List of integrationids of the connections that will be used to enable the flow
Object containing the configuration of the flow for the consumer
Successful Response