Retrieves all the journeysV2 in the Catalog
OK
Unauthorized
Journey not found
{- "starting_point": "/cancel-now/",
- "fallback_tag": "/cancel/",
- "journeys": [
- {
- "id": "0dd1b0b0-22b1-400e-8590-301aabd50a69",
- "conditions": [
- {
- "id": "c10cb349-e06a-4a13-bd87-edb40aae77dc",
- "type": "segment",
- "value": "/segments/123abc"
}
], - "actions": [
- {
- "id": "a9e2204a-8fa0-4d17-83cc-1f6c0838daaf",
- "type": "destination",
- "values": [
- {
- "id": "a5113403-7e7d-4c46-9d08-13d79e9df9d1",
- "tag": "/tags/cancel-discount",
- "split": "100"
}
]
}
]
}
]
}Get a journey by name
OK
Unauthorized
Journey not found
{- "data": {
- "version_date": "2025-03-06T14:25:01.064Z",
- "journeys": [
- {
- "id": "17c99708-7d9e-4a52-9b95-5b3c456b4e4f",
- "conditions": [ ],
- "actions": [ ]
}
], - "starting_point": ""
}, - "status": "active",
- "record_type": "journey",
- "id": "journey-678",
- "service": "limio",
- "created": "2025-03-06T14:25:01.064Z",
- "updated": "2025-03-06T14:25:01.064Z",
- "mode": "production",
- "process_hash": "journey-678",
- "version": "c37254b0e5d43c52ca5da66367261b8c57148d63"
}Updates an existing Journey V2 with the provided data, identified by the journeyName path parameter. If no Journey V2 with the specified journeyName exists, a new one will be created.
| name required | string Name of the journey. |
required | object Journey conditions to be added. |
OK
Unauthorized
{- "name": "test001",
- "data": {
- "journeys": [
- {
- "id": "3f16d308-15f7-4185-874e-5ab2ec0eb644",
- "conditions": [
- {
- "id": "64ef0c29-893a-44de-ba2b-2f3e793a9fc2",
- "type": "country",
- "value": [
- "example_value"
]
}
], - "actions": [
- {
- "id": "e98094b3-23f8-487d-b0fe-05526940767c",
- "type": "destination",
- "values": [
- {
- "id": null,
- "tag": null,
- "split": null
}
]
}
]
}
], - "starting_point": "/",
- "fallback_tag": "",
- "domains": [
- "example.com",
- "example.org"
]
}
}{- "name": "test001",
- "data": {
- "journeys": [
- {
- "id": "3f16d308-15f7-4185-874e-5ab2ec0eb644",
- "conditions": [
- {
- "id": "64ef0c29-893a-44de-ba2b-2f3e793a9fc2",
- "type": "country",
- "value": [
- "example_value"
]
}
], - "actions": [
- {
- "id": "e98094b3-23f8-487d-b0fe-05526940767c",
- "type": "destination",
- "values": [
- {
- "id": null,
- "tag": null,
- "split": null
}
]
}
]
}
], - "starting_point": "/",
- "fallback_tag": "",
- "domains": [
- "example.com",
- "example.org"
]
}
}