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
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"url":"https://flows.gusto-demo.com/flows/lO2BHHAMCScPVV9G5WEURW0Im_nP9mGYloQgjUWbenQ","expires_at":"2021-12-28 04:25:48"}