Skip to content

Get Journey stats

GET https://journey.pushwoosh.com/api/journey/{id}/statistics/external

Returns statistics for a Customer Journey by its ID. Replace {id} in the URL with the Journey ID from the journey canvas page URL:

Journey ID in the Journey canvas URL

Send a GET request with no body.

Request headers

Anchor link to
NameRequiredValueDescription
AuthorizationYesApi <server_api_token>Server API token.

Request example

Anchor link to
Terminal window
curl --location --request GET 'https://journey.pushwoosh.com/api/journey/<journey_id>/statistics/external' \
--header 'Authorization: Api <YOUR API TOKEN>'

Response example

Anchor link to
{
"payload": {
"title": "Journey Title",
"points": [{
"pointTitle": "First Point Title",
"campaignCode": "AAAAA-00000",
"presetCode": "12345-67890",
"pointStat": {
"sent": 22648,
"opened": 60,
"conversion": 0.26492405510420347
}
}]
}
}

In-app pointStat fields

Anchor link to

The fields inside pointStat depend on the journey element’s channel. In-app elements return the metrics below instead of the sent, opened, and conversion fields shown in the response example above.

Every in-app field except skipped counts unique users of the element over the whole life of the journey.

FieldTypeDescription
showsnumberUsers who saw the in-app at least once.
interactionsnumberUsers who clicked a button or a link, submitted a form, or closed the in-app with ✕.
shown_not_interactednumberUsers who saw the in-app but didn’t interact with it: shows minus interactions.
expirednumberUsers whose in-app expired before they saw it.
not_sentnumberUsers the in-app wasn’t sent to, for any reason.
skippednumberUsers who passed the element without the in-app because no device or user was found for them.
sends, openednumberKept for backward compatibility and always 0. Don’t use them.

In-app response example

Anchor link to
{
"payload": {
"title": "Journey Title",
"points": [{
"pointTitle": "In-App element title",
"campaignCode": "AAAAA-00000",
"presetCode": "12345-67890",
"pointStat": {
"shows": 3148,
"interactions": 1259,
"skipped": 36,
"shown_not_interacted": 1889,
"expired": 412,
"not_sent": 120,
"sends": 0,
"opened": 0
}
}]
}
}