Get open journeys
Open journeys will be open to leads moved from different sources (For eg., other journeys). Using this API you can get the list of open journeys created in your organization.
Scope required
ZohoMarketingAutomation.journey.READ
Header:
Authorization: Zoho-oauthtoken <access_token>
Request type:
Get
Request URL
https://marketingautomation.zoho.com/api/v1/journeys?details={key-value pairs}
List of parameters
Parameter | Data type | Description |
details | JSON | It is a JSONObject containing key-value data of the following details:
|
Key-value pair description
Parameter | Data type | Description |
page | Number | Provide specific page number |
limit | Number | Number of entities per page. |
sort_order | String | ascending or descending (asc/desc) |
user | String | If you want to list triggers created by
|
trigger_type | String | open |
* - Mandatory parameters
Possible error cases
Error code | Description |
9008 | No such trigger exist |
9001 | No journey matches the given criteria |
If your error code is not listed above, click here.
Sample request
Copiedhttps://marketingautomation.zoho.com/api/v1/journeys?details={"page":"1","limit":"5","sort_order":"asc","user":"all","trigger_type":"open"}
Sample Response
Copied{
"journeys": [
{
"created_time": "2019-03-11T11:28:34+05:30",
"journey_key": "9bb77af841821fa7767e402a0f250219",
"triggerkey": "9bb77af841821fa704a13363331fd551",
"journey_name": "Latestopentrigger"
},
{
"created_time": "2019-03-08T07:53:14+05:30",
"journey_key": "9bb77af841821fa73ce137c1970c6a55",
"trigger_key": "9bb77af841821fa7011c34c6de7e985f",
"journey_name": "opentrigger"
}
],
"code": "200",
"limit": 5,
"sortorder": "asc",
"page": 1,
"message": "Success",
"uri": "/api/v1/journeys",
"version": "1"
}