Skip to main content
POST
/
v2
/
flows
Create flow
curl --request POST \
  --url https://api.portable.io/v2/flows \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "displayName": "<string>",
  "cron": "<string>"
}
'
{
  "data": {
    "id": 689422,
    "displayName": "My Freshsales to Snowflake Flow",
    "source": 80562,
    "destination": 689421,
    "frequency": "24h"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Flow to create

displayName
string

A human-readable name for the flow

Example:

"My Freshsales to Snowflake Flow"

frequency
enum<string>

The frequency at which the flow should run. Mutally exclusive with the cron field.

Available options:
manual,
24h,
12h,
6h,
1h,
30m,
15m
cron
string

If provided, the flow will run according to this cron expression. Overrides the frequency field.

Response

Created

data
object
required