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}
API Limit
- Duration: 5 mins
- Number of Calls: 100
- Lock Period: 30 mins
You can send 100 API calls per 5 minutes. If you hit this limit, you can't use this API for the next 30 minutes due to security reasons, but you can still use other APIs if their lock period hasn’t been reached.
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"
}