1. Flows
  2. Create a flow
POST

/api/api/flow/create

client_id*
api_key*
curl --request POST \
     --url https://api.senddotssandbox.com/api/api/flow/create \
     --header 'Authorization: Basic AUTH_VALUE' \
     --header 'Content-Type: application/json' \
     --data '{
 "steps": "array"
}'
{
  "steps": ["compliance"],
  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}
{
  "success": true,
  "flow": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "created": "2019-08-24T14:15:22Z",
    "updated": "2019-08-24T14:15:22Z",
    "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
    "steps": ["compliance"],
    "completed-steps": ["compliance"],
    "payout-link-id": "d0cc26ba-2cf4-40ff-be89-1b949535e8e4",
    "link": "string"
  }
}

Body

stepsRequired
string[]
user_id
string

Response

success
boolean
flow
object