API to get flow milestones

I see flow milestones were released today https://help.mypurecloud.com/releasenote/may-26-2021/. What APIs are available to get the milestones from a conversation? I would have assumed it would have been in the flow object on ConversationDetails, but not seeing it there. Am I blind or is there a service not yet deployed which has it?
Thanks,
-K

Hi Kevin,

A few things:

  1. You can get the milestones from the GET /flows/aggregates/query. Once an outcome has ended the outcome milestones with the date when the milestones were hit will be part of the aggregate. Milestones are not included in conversation details as this would have been extremely noisy. It was an intentional design decision to keep it out of the conversation details API.

  2. Also we do have milestone APIs in the /api/v2/flows/milestones endpoints. These are the more CRUD related operations around flows.

  3. I am working with the dev team who owns milestones to put together a blog post introducing the new feature. I am hoping to have that out sometime this week or next week.

Also, I am going to send this message to the dev teams to see if they want to add to this thread.

Thanks,
John Carnell

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.