Skip to main content
POST
Check a customer journey without activating it

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The ID of the customer journey

Example:

"01234567-89ab-cdef-0123-456789abcdef"

Body

application/json
calendly_connection_id
string<uuid>

Deprecated. It does not scope enrolment; connection_id does. A Calendly connection named here is set up to deliver its bookings to journeys if it is not already. Still accepted so existing callers are not rejected.

Example:

"01234567-89ab-cdef-0123-456789abcdef"

connection_id
string<uuid> | null

The connection an integration trigger listens to. A workspace can connect several stores or accounts of the same app, and they all send the same event names. Required for WooCommerce, Jotform, Wix, Intercom, Pipedrive, Salesforce, Zoho CRM, HubSpot, HighLevel, Attio and LeadConnector triggers: without it activation returns 400 with code CONNECTION_REQUIRED. Optional for Shopify and Calendly triggers: when omitted, a journey reactivated on the same trigger source keeps its last connection, otherwise it enrols on every connection of the source, and null clears the scope so the journey enrols on every connection. A connection of another app returns 400 with code CONNECTION_SOURCE_MISMATCH.

Example:

"01234567-89ab-cdef-0123-456789abcdef"

typeform_connection_id
string<uuid>

The Typeform connection to use. Required for a Typeform trigger: without it activation returns 400 with code CONNECTION_REQUIRED.

Example:

"01234567-89ab-cdef-0123-456789abcdef"

Response

The check result

revision
integer
required

The draft revision these issues describe.

Example:

3

valid
boolean
required

True when issues is empty, meaning activation with the same connection fields would pass the checks listed here. Warnings do not affect it.

Example:

false

issues
object[]
required

What activation would refuse. Design issues come back all at once; when the design has none, only the first failing readiness check is returned, so check again after fixing it. Codes from the design and readiness checks: VALIDATION_ERROR, UNFILLED_PLACEHOLDER, TEMPLATE_NOT_FOUND, SEGMENT_NOT_FOUND, DOMAIN_NOT_FOUND, FROM_DOMAIN_MISMATCH, MISSING_UNSUBSCRIBE_URL, ASSETS_PENDING_MODERATION, ASSETS_REJECTED, UTM_TAGGING_FAILED. Codes from the trigger connection checks, all returned at once: CONNECTION_REQUIRED (send connection_id or typeform_connection_id), CONNECTION_SOURCE_MISMATCH, FORM_REQUIRED, BINDING_REQUIRED (the trigger needs its tag, list, pipeline or similar), CONSENT_REQUIRED, CONSENT_REVOKED, TRIGGER_SOURCE_MISMATCH and SLACK_CONNECTION_INVALID. JOURNEY_ALREADY_ACTIVE when the journey is active. Activation returns the same codes as a 400, except TEMPLATE_NOT_FOUND, SEGMENT_NOT_FOUND and DOMAIN_NOT_FOUND, which are a 404, and JOURNEY_ALREADY_ACTIVE, which is a 409 with code CONFLICT.

warnings
object[]
required

Setup activation does not check but the journey likely needs to send or enrol anyone: NEEDS_SENDING_DOMAIN (no verified sending domain), SENDING_DOMAIN_NOT_VERIFIED (the sender's domain), NEEDS_CONNECTION (the trigger app is not connected) and NEEDS_STORE (the trigger is not set to a connected store or site).