Skip to main content
Version: 25.03

Journey Engine - Settings

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​

/o/journey-engine/settings

Overview​

Returns the Journey Engine setting that applies to the whole server: the content cooldown in hours.

Authentication​

Pass api_key or auth_token as a query parameter, or send countly-token as a header. See Authentication.

Permissions​

Requires Read permission on the journey_engine feature.

Request Parameters​

ParameterTypeRequiredDescription
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.
app_idStringYesApp ID used for the read permission check.

Examples​

Read the settings​

/o/journey-engine/settings?api_key=YOUR_API_KEY&app_id=6991c75b024cb89cdc04efd2

Response​

Success Response​

{
"cooldown": 24
}

Response Fields​

FieldTypeDescription
cooldownNumberCooldown in hours between content shown to the same user. 24 when no value is set.

Error Responses​

  • 400
{
"result": "Missing parameter \"api_key\" or \"auth_token\""
}
  • 401
{
"result": "User does not have right"
}

Behavior​

  • Returns the server-wide value. An app can override it with its own cooldown; to read the value that applies to one user, use User Content.
  • Read-only. Nothing is modified.
Implementation details

Database Collections

CollectionUsed forData touched by this endpoint
countly.membersAuthentication and permission checkReads the member and permissions.
countly.pluginsConfigurationReads the journey_engine configuration.