0

I'm trying to retrieve the Number of the contact that successes JB Acitivity via SSJS or SOQL whatever. please check the highlighted part of the image I attached.That's the thing I'm trying to retrieve. Thanks in advance.

enter image description here

1 Answer 1

0

Here's an API you can use to retrieve summary on journey builder activities:

Host: {{your_rest_base_uri}}
POST  /interaction/v1/interactions/{{journey_definition_id}}/activities/{{activity_id}}/summary
Authorization: Bearer {{access_token}}
Body: Nil

The response includes "successCount" which is what you're looking for.
You can find the journey definition ID using the following endpoint:

Host: {{your_rest_base_uri}}
GET   /interaction/v1/interactions?nameOrDescription={{name_of_journey}}
Authorization: Bearer {{access_token}}
3
  • You'll also need the permission "journeys_read" under your scope.
    – Ted Chan
    Jan 2, 2023 at 12:13
  • really appreciate your help. you are my life saver :)))))) Jan 4, 2023 at 1:53
  • @SujinHwang No worries. Please accept my it as the correct answer if you find it helpful :) Thanks.
    – Ted Chan
    Jan 5, 2023 at 11:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .