Initialize Journey Engine
Enterprise
This endpoint is part of Countly Enterprise. To get access, contact sales or compare versions. Existing customers can reach the support portal with questions.
Endpoint
/i/journey-engine/init
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 |
Examples
{
"data": {
"key": "[CLY]_session",
"appId": "123456789",
"timestamp": 1739239212000
},
"appUser": {
"uid": "user_123",
"did": "device_456"
}
}
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
- Parses JSON body.
- Reads
dataandappUser. - Calls
journey.initialize(data, appUser). - Returns success message.
Related Endpoints
Implementation details
Database Collections
This endpoint does not read or write database collections.