Create a flow

POST {{baseUrl}}/v1/companies/:company_uuid/flows

Generate a link to access a pre-built workflow in Gusto white-label UI. For security, all generated flows will expire within 1 hour of inactivity or 24 hours from creation time, whichever comes first.

scope: flows:write

Request Body

{"flow_type"=>"<string>", "entity_uuid"=>"<string>", "entity_type"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;url&quot;:&quot;https://flows.gusto-demo.com/flows/lO2BHHAMCScPVV9G5WEURW0Im_nP9mGYloQgjUWbenQ&quot;,&quot;expires_at&quot;:&quot;2021-12-28 04:25:48&quot;}