Initialize Journey Engine
Endpoint
/i/journey-engine/init
Ⓔ Enterprise Only
This API is available exclusively in Countly Enterprise.
Overview
Initializes journey processing with provided runtime data and app user context. This endpoint is intended for system-level initialization flows.
Authentication
- No dashboard authentication check is applied at this endpoint.
Permissions
- No dashboard permission check is applied at this endpoint.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Request body | Object | Yes | JSON payload consumed directly by the initializer |
data | Object | Yes | Initialization payload passed to engine |
appUser | Object | Yes | App user context object |
Response
Success Response
{
"result": "Journey engine initialized"
}
Response Fields
| Field | Type | Description |
|---|---|---|
result | String | Operation status |
Error Responses
| HTTP Status | Response |
|---|---|
| 500 | Runtime/parsing error if body is not valid JSON |
Behavior/Processing
- Parses JSON body.
- Reads
dataandappUser. - Calls
journey.initialize(data, appUser). - Returns success message.
Database Collections
This endpoint does not read or write database collections.
Examples
{
"data": {
"key": "[CLY]_session",
"appId": "123456789",
"timestamp": 1739239212000
},
"appUser": {
"uid": "user_123",
"did": "device_456"
}
}
Related Endpoints
Ⓔ Enterprise
This feature is part of Countly Enterprise.
Get Access:
Already a Customer? Use support portal if you have any questions
Last Updated
2026-02-16