Skip to main content
POST
Create a cancel flow

Body Parameters

Example Request

Response

Returns the newly created cancel flow object. The id uses the cf_ prefix.
Cancel flows are created in draft status. Publish a flow via POST /v1/cancel-flows/{id}/publish before it can be triggered during customer cancellation attempts.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Body

application/json
name
string
required
is_default
boolean
cooldown_days
integer
default:30

Days a customer must wait after accepting an offer before re-entering the flow.

Response

Flow created.

id
string<uuid>
tenant_id
string<uuid>
name
string
is_active
boolean
is_default
boolean
cooldown_days
integer
created_at
string<date-time>
updated_at
string<date-time>
steps
object[]