Class JourneyCreateParams

  • All Implemented Interfaces:
    com.courier.core.Params

    
    public final class JourneyCreateParams
     implements Params
                        

    Create a journey. Defaults to DRAFT state; pass state: "PUBLISHED" to publish on create. Send nodes are not allowed on POST. The standard flow is: create the journey shell here, add notification templates with POST /journeys/{templateId}/templates, then wire them into the journey with PUT /journeys/{templateId}. Call POST /journeys/{templateId}/publish to publish a draft after the fact.