GET /interaction/v1/interactions
Retrieve a list of journeys. You can apply filters to the request to limit the scope of the results.
To use this endpoint to search for journeys, you must have the Automation | Journeys | Read
scope.
Name | Type | Description |
---|---|---|
$orderBy | string | The field and sort method to use to sort the results. You can sort on these fields:
ASC ) or descending (DESC ) order. The default value is modifiedDate DESC . |
$page | number | The page number of results to retrieve. The default value is 1 . |
$pageSize | number | The number of items to return on a page of results. The default and maximum value is 50 . |
definitionType | string | The type of definition to retrieve. The only accepted value is transactional , which retrieves all transactional send definitions. |
extras | string | A list of additional information to include in the response. Possible values are:
all . For best performance, we recommend that you use this parameter to limit the scope of the response. |
mostRecentVersionOnly | boolean | Use this parameter to specify whether to return the most recent version of each journey that matches the filter criteria. The default value is true . |
nameOrDescription | string | A search string to apply to the request. The API searches the name and description of each journey for this string, and returns all matching journeys. |
specificApiVersionNumber | number | The version number of the workflowApiVersion value to retrieve. The default value is 1 . |
status | string | A journey status value to use to filter the results. Possible values:
ScheduledToSend , Sent , and Stopped values are found only in single-send journeys. If you don't specify a status value, the API returns all statuses. |
tag | string | A tag to use to filter the results. When you specify this parameter, the API returns only journeys with the specified tag. |
versionNumber | number | The version number of the journey to retrieve. The default value is the currently published version or the latest version number that meets the other search criteria. |
Name | Type | Description |
---|---|---|
key | string | The external key of a journey to retrieve. |
id | string | The ID of a journey to retrieve. When you specify an ID, the API returns all versions of that journey. |
This sample request retrieves all journeys. The request uses the extras
parameter to retrieve the activities for each journey.