POST
/v1/postflows/{id}/flow/test-driveDrive a sample card through the journey
Runs the given definition, the draft or the published journey in memory: waits pass at once (their end is shown), webhook steps answer as given (default success without a body) and show the request without secrets, a frequency limit counts the given number. Nothing is stored, called, notified or sent. Needs the flow builder.
Scope
postflows.readPath parameters
idstringrequiredBody
definitionobject2 fields
schemaVersionnumberrequiredstepsarray of objectsrequiredmin items 1sourceenumdraftpublishedsampleobjectdefault {}9 fields
cardIdstringrecipientobjectdefault {}6 fields
namestringmax length 200addressLine1stringmax length 200addressLine2string or nullpostalCodestringmax length 20citystringmax length 120countrystringmax length 2default "NL"variablesobjectdefault {}externalIdstring or nullmetadataobject or nullsendDatedate or nulloriginenumdefault "api"apiportalintegrationisTestbooleandefault falsecontactobject or null2 fields
addeddate or nulldefault nullattributesobjectdefault {}nowdate-timeeventsobjectdefault {}webhookResultsobjectdefault {}frequencyCountintegermin 0max 1000default 0Returns
9 fields of the 200 answer
issuesarray of objectsrequired4 fields
stepIdstring or nullrequiredcodestringrequiredmessagestringrequiredseverityenumrequirederrorwarningpatharray of objectsrequired5 fields
stepIdstringrequiredtypestringrequirednamestring or nullrequiredatdate-timerequiredoutcomeobjectrequiredrequestsarray of objectsrequired6 fields
stepIdstringrequiredmethodstringrequiredurlstringrequiredheadersobjectrequiredbodystring or nullrequiredresultobjectrequired3 fields
okbooleanrequiredstatusinteger or nullrequirederrorstring or nullrequirednotificationsarray of objectsrequired5 fields
stepIdstringrequiredtitlestringrequiredbodystringrequiredrolesarray of stringrequireduserIdsarray of stringrequiredendobject or nullrequired4 fields
kindenumrequiredsenddisqualifycontrolstoppedwaitwebhookstepIdstringrequiredreasonstring or nullrequiredatdate-timerequiredvariablesobjectrequiredlabelsarray of stringrequiredsendDatedate or nullrequiredsendobject or nullrequired5 fields
templateIdstringrequiredtemplateNamestring or nullrequiredversionNumberinteger or nullrequiredwarningsarray of objectsrequired3 fields
codeenumrequiredaddress_invalidpostal_code_invalidhouse_number_missingcity_missingcountry_not_supporteddestination_not_supportedvariable_missingvariable_type_invalidvariable_too_longimage_fetch_failedimage_resolution_lowtext_overflowexpression_invalidlate_delivery_expectedwaiting_for_fundssuppressedcarrier_codes_missingexcluded_from_runrender_failedproduction_failedflow_step_failedfieldstringrequiredmessagestringrequiredvariablesobjectrequiredResponses
200Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
404Not found
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)