Create Interaction (Journey) - Basic Shell

POST https://{{et_subdomain}}.rest.marketingcloudapis.com/interaction/v1/interactions

https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/postCreateInteraction.htm

Creates or saves a journey. To create a new journey provide the request body in the appropriate Journey Specification. Please read the Journey Spec page to understand which properties are required to create a journey via the API. The id, key, createdDate, modifiedDate, status and definitionId are assigned by Journey Builder and are never to be passed in as parameters for creating a journey.

Request Body

{"key"=>"ixn-created-via-the-api", "name"=>"API-Created journey", "workflowApiVersion"=>1}

RESPONSES

status: OK

{"id":"6fb54bc3-620d-453c-9e68-22817e959104","key":"ixn-created-via-the-api","name":"API-Created journey","lastPublishedDate":"0001-01-01T00:00:00","version":1,"workflowApiVersion":1,"createdDate":"2019-07-23T11:58:38.24","modifiedDate":"2019-07-23T11:58:38.24","triggers":[],"goals":[],"exits":[],"entryMode":"NotSet","defaults":{"properties":{}},"metaData":{},"executionMode":"Production","categoryId":731761,"status":"Draft","definitionId":"6fb54bc3-620d-453c-9e68-22817e959104"}